evas/gl: Update texture when preload is cancelled. 08/54408/1
authorMinkyoung Kim <mer.kim@samsung.com>
Thu, 10 Dec 2015 07:04:57 +0000 (16:04 +0900)
committerJaeun Choi <jaeun12.choi@samsung.com>
Tue, 15 Dec 2015 06:37:01 +0000 (15:37 +0900)
commit5987df3a3d6f16605990fedba1b9c8d39477db8a
treef1737005810eb4d8937fc3b6ccb4325e9bd51e5d
parent3b2c783d9c747bc5de33232426b3e75e7d57a75f
evas/gl: Update texture when preload is cancelled.

Summary:
When preload is cancelled before finishing loading,
should reload the image data and update the texture during rendering object.
So, force texture to be updated on first drawing time.
(It should be guaranteed that preload image object is hidden before preload done.)

Test Plan: Local tests

Reviewers: jpeg

Reviewed By: jpeg

Subscribers: eunue, jiin.moon, wonsik, cedric, spacegrapher

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

Change-Id: I6b89f851ca45848a5357bd3e0b1af6834241339c
Origin: upstream
src/modules/evas/engines/gl_generic/evas_engine.c