summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinkyoung Kim <mer.kim@samsung.com>2015-12-11 13:50:40 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2015-12-11 14:05:12 +0900
commita9df72f6110e219e0202bb5ea168c143dbfa61e2 (patch)
treedad048591fd15470d20d7b0f10f9bc67b9393884
parentce21e513d5a86dbcf3ff4f72c131c763d67a04ec (diff)
evas: Do not preload data if data is cached.
Summary: Summary : If data is cached, need not to reload data. Test Plan: Local tests Reviewers: jpeg Reviewed By: jpeg Subscribers: eunue, spacegrapher, cedric, wonsik, jiin.moon Differential Revision: https://phab.enlightenment.org/D3418
-rw-r--r--src/lib/evas/cache/evas_cache_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/cache/evas_cache_image.c b/src/lib/evas/cache/evas_cache_image.c
index f6fd2a7fe5..b6c61f5445 100644
--- a/src/lib/evas/cache/evas_cache_image.c
+++ b/src/lib/evas/cache/evas_cache_image.c
@@ -1268,7 +1268,7 @@ evas_cache_image_preload_data(Image_Entry *im, const Eo *target,
1268{ 1268{
1269 RGBA_Image *img = (RGBA_Image *)im; 1269 RGBA_Image *img = (RGBA_Image *)im;
1270 1270
1271 if ((im->flags.loaded) && (img->image.data)) 1271 if (((im->flags.loaded) && (img->image.data)) || im->flags.cached)
1272 { 1272 {
1273 evas_object_inform_call_image_preloaded((Evas_Object*)target); 1273 evas_object_inform_call_image_preloaded((Evas_Object*)target);
1274 return; 1274 return;