summaryrefslogtreecommitdiff
path: root/src/lib/evas/include
diff options
context:
space:
mode:
authorUlisses Furquim <ulisses.furquim@intel.com>2013-09-02 19:38:52 -0300
committerUlisses Furquim <ulisses.furquim@intel.com>2013-09-02 19:41:32 -0300
commit31b1cc6e3e158e9f47c4395888be9b227e172807 (patch)
tree3311f2162b1db33c629f693fe7ad59c7099408d3 /src/lib/evas/include
parent932a7a00cdf509eea4e28804c9b4b2f1df61d3ee (diff)
evas/render: introduce evas_render_sync().
evas_render_sync() will loop through all canvases and wait for their rendering to finish. Since this function will execute from the main thread that will sync all of them.
Diffstat (limited to 'src/lib/evas/include')
-rw-r--r--src/lib/evas/include/evas_common_private.h1
-rw-r--r--src/lib/evas/include/evas_private.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 24c9d87d4a..c4728bd340 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -1248,6 +1248,7 @@ void evas_font_dir_cache_free(void);
1248 1248
1249EAPI int evas_async_events_process_blocking(void); 1249EAPI int evas_async_events_process_blocking(void);
1250void evas_render_rendering_wait(Evas_Public_Data *evas); 1250void evas_render_rendering_wait(Evas_Public_Data *evas);
1251void evas_render_sync(void);
1251 1252
1252void evas_thread_init(void); 1253void evas_thread_init(void);
1253void evas_thread_shutdown(void); 1254void evas_thread_shutdown(void);
diff --git a/src/lib/evas/include/evas_private.h b/src/lib/evas/include/evas_private.h
index 5a9867b120..f8daeafd83 100644
--- a/src/lib/evas/include/evas_private.h
+++ b/src/lib/evas/include/evas_private.h
@@ -443,6 +443,8 @@ struct _Evas_Public_Data
443 Eina_Bool rendering : 1; 443 Eina_Bool rendering : 1;
444}; 444};
445 445
446extern Eina_List *all_evases;
447
446struct _Evas_Layer 448struct _Evas_Layer
447{ 449{
448 EINA_INLIST; 450 EINA_INLIST;