summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-09-04 16:14:37 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:15 +0900
commit97d9fab7042f213498268dfc58636b823380245c (patch)
tree344ac20e4aa4854d23dba9f7afada5b6a2759e65 /src/lib/evas/cserve2/evas_cs2.h
parentbfe3fe27df9384642d8f3b277ec694c9d42fc0c9 (diff)
evas/cserve2: Fallback to normal cache for animated gifs
Pass around "animated" flag for images that can be animated. Fallback to local cache if the image is animated. Implementing support for animated images in cserve2 does not seem to make a lot of sense considering each frame must be requested independently in real time,... and to be honest there doesn't seem to be any valid use case anyway :)
Diffstat (limited to 'src/lib/evas/cserve2/evas_cs2.h')
-rw-r--r--src/lib/evas/cserve2/evas_cs2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/evas/cserve2/evas_cs2.h b/src/lib/evas/cserve2/evas_cs2.h
index a47c384b82..835ed31c0b 100644
--- a/src/lib/evas/cserve2/evas_cs2.h
+++ b/src/lib/evas/cserve2/evas_cs2.h
@@ -73,6 +73,7 @@ struct _Msg_Opened {
73 int loop_count; 73 int loop_count;
74 int loop_hint; /* include Evas.h? Copy the enum around? */ 74 int loop_hint; /* include Evas.h? Copy the enum around? */
75 Eina_Bool alpha : 1; 75 Eina_Bool alpha : 1;
76 Eina_Bool animated : 1;
76 } image; 77 } image;
77}; 78};
78 79
@@ -333,6 +334,7 @@ struct _File_Data {
333 Eina_Bool alpha : 1; 334 Eina_Bool alpha : 1;
334 Eina_Bool invalid : 1; 335 Eina_Bool invalid : 1;
335 Eina_Bool valid : 1; 336 Eina_Bool valid : 1;
337 Eina_Bool animated : 1;
336}; 338};
337 339
338#define IMAGE_DATA_ARRAY_TAG ('I' | 'M' << 8 | 'A' << 16 | 'G' << 24) 340#define IMAGE_DATA_ARRAY_TAG ('I' | 'M' << 8 | 'A' << 16 | 'G' << 24)