aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/dd.h
diff options
context:
space:
mode:
authorAndres Rodriguez <[email protected]>2017-10-16 20:10:31 -0400
committerAndres Rodriguez <[email protected]>2018-01-30 15:13:49 -0500
commit89b52891fd37293e596c75f49fb5202d83155677 (patch)
tree341bc1720cba1280e5ed42af2018d2bbfadaca03 /src/mesa/main/dd.h
parent260f7fcc46f5feb10a3bc5fe5f29f8f08a0c202c (diff)
mesa: add support for semaphore object signal/wait v3
Memory synchronization is left for a future patch. v2: flush vertices/bitmaps moved to mesa/main v3: removed spaces before/after braces Signed-off-by: Andres Rodriguez <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/main/dd.h')
-rw-r--r--src/mesa/main/dd.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index c80af0be074..8216752ccaf 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1150,6 +1150,20 @@ struct dd_function_table {
*/
void (*DeleteSemaphoreObject)(struct gl_context *ctx,
struct gl_semaphore_object *semObj);
+
+ /**
+ * Introduce an operation to wait for the semaphore object in the GL
+ * server's command stream
+ */
+ void (*ServerWaitSemaphoreObject)(struct gl_context *ctx,
+ struct gl_semaphore_object *semObj);
+
+ /**
+ * Introduce an operation to signal the semaphore object in the GL
+ * server's command stream
+ */
+ void (*ServerSignalSemaphoreObject)(struct gl_context *ctx,
+ struct gl_semaphore_object *semObj);
/*@}*/
/**