HomePhabricator

gl_generic: directly copy existing image when changing orientation

Authored by zmike on Jun 3 2019, 5:56 AM.

Description

gl_generic: directly copy existing image when changing orientation

Summary:
in gl engines, orientation is applied during the draw. this is different from
sw engines where the orientation is directly applied to the internal pixel data
which results in a state change of the object internals.

this preserves image cache state and allows the image to be loaded normally instead
of displaying a black rectangle if orientation is set prior to a texture being
created

@fix
Depends on D8916

Reviewers: Hermet, cedric

Reviewed By: Hermet, cedric

Subscribers: Hermet, cedric, reviewers, committers

Tags: efl: rendering

Differential Revision: https://phab.enlightenment.org/D8918

Details

Committed
zmikeJun 3 2019, 5:56 AM
Reviewer
Hermet
Differential Revision
D8918: gl_generic: directly copy existing image when changing orientation
Parents
rEFLbed3fa59047e: meson: remove unneeded install: flags
Branches
Unknown
Tags
Unknown