19 #ifndef MIR_CLIENT_EXTENSIONS_FENCED_BUFFERS_H_ 20 #define MIR_CLIENT_EXTENSIONS_FENCED_BUFFERS_H_ 71 MirBufferAccess access);
85 MirBufferAccess access,
99 connection,
"mir_extension_fenced_buffers", 1);
Definition: fenced_buffers.h:32
MirBufferAccess
Definition: fenced_buffers.h:28
int(* mir_buffer_get_fence)(MirBuffer *)
Retrieve the native fence associated with this buffer.
Definition: fenced_buffers.h:54
Definition: fenced_buffers.h:88
struct MirExtensionFencedBuffersV1 MirExtensionFencedBuffersV1
Definition: fenced_buffers.h:31
mir_buffer_wait_for_access wait_for_access
Definition: fenced_buffers.h:92
mir_buffer_get_fence get_fence
Definition: fenced_buffers.h:90
void(* mir_buffer_associate_fence)(MirBuffer *buffer, int fence, MirBufferAccess access)
Protect the buffer's contents by associating a native fence with it.
Definition: fenced_buffers.h:68
void const * mir_connection_request_extension(MirConnection *connection, char const *interface, int version)
Request a Mir extension.
int(* mir_buffer_wait_for_access)(MirBuffer *buffer, MirBufferAccess access, int timeout)
Wait for the fence associated with the buffer to signal.
Definition: fenced_buffers.h:83
Definition: fenced_buffers.h:30
mir_buffer_associate_fence associate_fence
Definition: fenced_buffers.h:91