summaryrefslogtreecommitdiff
path: root/src/lib/evas/cserve2/evas_cs2.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2013-08-23 15:10:03 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2013-10-28 15:47:14 +0900
commit9d2400af8bfedbd74954d185ef1c24190798bb8e (patch)
tree799fcdf9ddebe373cd316cc06872ba2cff4e7fb0 /src/lib/evas/cserve2/evas_cs2.h
parenta14e69e5733457f2b8e09caadb24271522cbe82b (diff)
evas/cserve2: Add valid flag on Image_Data and File_Data
Images and Files can be discovered by the client scanner before they are valid (aka. loaded or opened). We want clients to ignore all shared objects that are not ready yet, as they are in an undefined state (values and memory might be invalid).
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 87633f00ec..bcba89a5d6 100644
--- a/src/lib/evas/cserve2/evas_cs2.h
+++ b/src/lib/evas/cserve2/evas_cs2.h
@@ -332,6 +332,7 @@ struct _File_Data {
332 int loop_hint; 332 int loop_hint;
333 Eina_Bool alpha : 1; 333 Eina_Bool alpha : 1;
334 Eina_Bool invalid : 1; 334 Eina_Bool invalid : 1;
335 Eina_Bool valid : 1;
335}; 336};
336 337
337#define IMAGE_DATA_ARRAY_TAG ('I' | 'M' << 8 | 'A' << 16 | 'G' << 24) 338#define IMAGE_DATA_ARRAY_TAG ('I' | 'M' << 8 | 'A' << 16 | 'G' << 24)
@@ -343,6 +344,7 @@ struct _Image_Data {
343 Eina_Bool alpha_sparse : 1; 344 Eina_Bool alpha_sparse : 1;
344 Eina_Bool unused : 1; 345 Eina_Bool unused : 1;
345 Eina_Bool doload : 1; 346 Eina_Bool doload : 1;
347 Eina_Bool valid : 1;
346}; 348};
347 349
348#define FONT_DATA_ARRAY_TAG ('F' | 'O' << 8 | 'N' << 16 | 'T' << 24) 350#define FONT_DATA_ARRAY_TAG ('F' | 'O' << 8 | 'N' << 16 | 'T' << 24)