summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_private.h
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-12-22 20:46:49 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-01-17 14:35:27 +0900
commitc2ba0939d8df6b8f6bc076a75780d74f3e83a960 (patch)
treede39b3693ebe697f95dcb4d53132b323aa63e6b6 /src/lib/evas/include/evas_private.h
parentb2a4039bda21989ab9f9316579750f48a83e052a (diff)
evas: Add a very simple post-render job list
This will be used by the filters
Diffstat (limited to 'src/lib/evas/include/evas_private.h')
-rw-r--r--src/lib/evas/include/evas_private.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index b75ef49613..0d0d416e1e 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -817,6 +817,13 @@ struct _Evas_Pointer_Data
817 unsigned char inside : 1; 817 unsigned char inside : 1;
818}; 818};
819 819
820typedef struct _Evas_Post_Render_Job
821{
822 EINA_INLIST;
823 void (*func)(void *);
824 void *data;
825} Evas_Post_Render_Job;
826
820struct _Evas_Public_Data 827struct _Evas_Public_Data
821{ 828{
822 EINA_INLIST; 829 EINA_INLIST;
@@ -889,6 +896,11 @@ struct _Evas_Public_Data
889 Eina_Array glyph_unref_queue; 896 Eina_Array glyph_unref_queue;
890 Eina_Array texts_unref_queue; 897 Eina_Array texts_unref_queue;
891 898
899 struct {
900 Evas_Post_Render_Job *jobs;
901 Eina_Spinlock lock;
902 } post_render;
903
892 Eina_Clist calc_list; 904 Eina_Clist calc_list;
893 Eina_Clist calc_done; 905 Eina_Clist calc_done;
894 Eina_List *video_objects; 906 Eina_List *video_objects;
@@ -1714,6 +1726,7 @@ void _evas_object_textblock_rehint(Evas_Object *obj);
1714void evas_unref_queue_image_put(Evas_Public_Data *pd, void *image); 1726void evas_unref_queue_image_put(Evas_Public_Data *pd, void *image);
1715void evas_unref_queue_glyph_put(Evas_Public_Data *pd, void *glyph); 1727void evas_unref_queue_glyph_put(Evas_Public_Data *pd, void *glyph);
1716void evas_unref_queue_texts_put(Evas_Public_Data *pd, void *glyph); 1728void evas_unref_queue_texts_put(Evas_Public_Data *pd, void *glyph);
1729void evas_post_render_job_add(Evas_Public_Data *pd, void (*func)(void *), void *data);
1717 1730
1718void evas_draw_image_map_async_check(Evas_Object_Protected_Data *obj, 1731void evas_draw_image_map_async_check(Evas_Object_Protected_Data *obj,
1719 void *data, void *context, void *surface, 1732 void *data, void *context, void *surface,