summaryrefslogtreecommitdiff
path: root/src/lib/evas/cache2
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-10-29 19:06:33 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-30 19:48:17 +0900
commit82e8028b5d34ccf488eb3faed30f67b4b40bfaed (patch)
tree7760cfde21066c596783c05ed6f9da192f8ae090 /src/lib/evas/cache2
parentb3debcc3e1651e41c419db422b465d9070c180b4 (diff)
evas/cserve2: Fix image preload with gl-x11 engine
Cserves supports only the SW (xlib) and GL (gl-x11) engines. Also, improve cs2 support for some lesser used functions in the gl_x11 engine.
Diffstat (limited to 'src/lib/evas/cache2')
-rw-r--r--src/lib/evas/cache2/evas_cache2.c1
-rw-r--r--src/lib/evas/cache2/evas_cache2.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/cache2/evas_cache2.c b/src/lib/evas/cache2/evas_cache2.c
index d4b2b5353b..5ec5b6dad0 100644
--- a/src/lib/evas/cache2/evas_cache2.c
+++ b/src/lib/evas/cache2/evas_cache2.c
@@ -307,6 +307,7 @@ _evas_cache2_image_preloaded_cb(void *data, Eina_Bool success)
307 307
308 ie->cache2->preload = eina_list_remove(ie->cache2->preload, ie); 308 ie->cache2->preload = eina_list_remove(ie->cache2->preload, ie);
309 ie->flags.preload_done = success; 309 ie->flags.preload_done = success;
310 ie->flags.updated_data = EINA_TRUE;
310 311
311 while ((tmp = ie->targets)) 312 while ((tmp = ie->targets))
312 { 313 {
diff --git a/src/lib/evas/cache2/evas_cache2.h b/src/lib/evas/cache2/evas_cache2.h
index 7cd9c79170..6c7f5f801b 100644
--- a/src/lib/evas/cache2/evas_cache2.h
+++ b/src/lib/evas/cache2/evas_cache2.h
@@ -66,6 +66,7 @@ EAPI void evas_cache2_image_close(Image_Entry *im);
66EAPI int evas_cache2_image_load_data(Image_Entry *ie); 66EAPI int evas_cache2_image_load_data(Image_Entry *ie);
67EAPI void evas_cache2_image_unload_data(Image_Entry *im); 67EAPI void evas_cache2_image_unload_data(Image_Entry *im);
68EAPI void evas_cache2_image_preload_data(Image_Entry *im, const void *target); 68EAPI void evas_cache2_image_preload_data(Image_Entry *im, const void *target);
69EAPI void evas_cache2_image_preload_cancel(Image_Entry *im, const void *target);
69EAPI void evas_cache2_image_cache_key_create(char *hkey, const char *path, size_t pathlen, const char *key, size_t keylen, const Evas_Image_Load_Opts *lo); 70EAPI void evas_cache2_image_cache_key_create(char *hkey, const char *path, size_t pathlen, const char *key, size_t keylen, const Evas_Image_Load_Opts *lo);
70 71
71EAPI DATA32 * evas_cache2_image_pixels(Image_Entry *im); 72EAPI DATA32 * evas_cache2_image_pixels(Image_Entry *im);