evas/gl : Do not re-preload image data if texture is successfully uploaded with image...
authorMinkyoung Kim <mer.kim@samsung.com>
Fri, 18 Dec 2015 07:49:17 +0000 (16:49 +0900)
committerJean-Philippe Andre <jp.andre@samsung.com>
Fri, 18 Dec 2015 07:49:17 +0000 (16:49 +0900)
commit25ebd9155513a9ee063bba0d0c2b0742437c3211
tree830bcce0c77ec44ba41a264c2ac225dc5ee41ef4
parent1921055644c08a3ba549754301193c5225359265
evas/gl : Do not re-preload image data if texture is successfully uploaded with image data.

Summary:
'cached' flag is not enough to check whethere data is loaded and texture is uploaded.
so check more options for prevent re-preload image data on gl-backend.

Test Plan: Local Test (elementary_test : elm images)

Reviewers: jpeg, eunue

Reviewed By: jpeg

Subscribers: cedric, jiin.moon, wonsik, spacegrapher

Differential Revision: https://phab.enlightenment.org/D3446
src/lib/evas/cache/evas_cache_image.c
src/lib/evas/include/evas_common_private.h
src/modules/evas/engines/gl_common/evas_gl_texture.c
src/modules/evas/engines/gl_generic/evas_engine.c