From 89b52891fd37293e596c75f49fb5202d83155677 Mon Sep 17 00:00:00 2001 From: Andres Rodriguez Date: Mon, 16 Oct 2017 20:10:31 -0400 Subject: mesa: add support for semaphore object signal/wait v3 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Marek Olšák --- src/mesa/main/dd.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'src/mesa/main/dd.h') 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); /*@}*/ /** -- cgit v1.2.3