summaryrefslogtreecommitdiff
path: root/src/lib/evas/include/evas_common_private.h
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-04-26 13:44:33 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-04-26 13:47:46 -0500
commit83adbadc892b6f98c036b8956d3f1466341a029c (patch)
tree39f01b71120f8533daf492451b2e324757a6a672 /src/lib/evas/include/evas_common_private.h
parenta4ed205071da5e162633e86d624c8b6c9e652273 (diff)
evas: Add a function to block for render thread completion
This is needed by dmabuf engine fallback when it realizes it locally allocated a buffer, has been rendering to it, but the compositor can't use it. So the engine copies its buffer contents into a new wl_shm buffer and continues from there - however we need to make sure the async renderer has finished first, so we don't copy a partial buffer. This allows us to block for all previously submit actions in the render queue to complete.
Diffstat (limited to 'src/lib/evas/include/evas_common_private.h')
-rw-r--r--src/lib/evas/include/evas_common_private.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/evas/include/evas_common_private.h b/src/lib/evas/include/evas_common_private.h
index 829c5109c3..ceb1095b32 100644
--- a/src/lib/evas/include/evas_common_private.h
+++ b/src/lib/evas/include/evas_common_private.h
@@ -1328,6 +1328,7 @@ int evas_thread_init(void);
1328int evas_thread_shutdown(void); 1328int evas_thread_shutdown(void);
1329EAPI void evas_thread_cmd_enqueue(Evas_Thread_Command_Cb cb, void *data); 1329EAPI void evas_thread_cmd_enqueue(Evas_Thread_Command_Cb cb, void *data);
1330EAPI void evas_thread_queue_flush(Evas_Thread_Command_Cb cb, void *data); 1330EAPI void evas_thread_queue_flush(Evas_Thread_Command_Cb cb, void *data);
1331EAPI void evas_thread_queue_wait(void);
1331 1332
1332typedef enum _Evas_Render_Mode 1333typedef enum _Evas_Render_Mode
1333{ 1334{