evas: Fix image save with GL engine and orientation
authorJean-Philippe Andre <jp.andre@samsung.com>
Tue, 20 Dec 2016 08:56:09 +0000 (17:56 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Wed, 21 Dec 2016 04:56:05 +0000 (13:56 +0900)
commit2e89702d576f604332197332097591667b8fbe0f
tree5b01adbb7e227e139fb6a4d23a364804b9363489
parent01af35de6fb32af659b977b0f1f3beda05a9e0af
evas: Fix image save with GL engine and orientation

This fixes evas_object_image_save after changing the orientation
of an image in the GL engine. In SW engine the pixel data is rotated
in memory, so things worked fine from the beginning. In GL we may
have to go through loops and hoops in order to rotate and fetch the
data from the GL texture.

This should fix ce45d44.
src/lib/evas/canvas/efl_canvas_image.c
src/lib/evas/canvas/evas_object_image.c
src/lib/evas/include/evas_private.h
src/modules/evas/engines/gl_generic/evas_engine.c
src/modules/evas/engines/software_generic/evas_engine.c