Go to the documentation of this file.
19 #ifndef MIR_CLIENT_EXTENSIONS_FENCED_BUFFERS_H_
20 #define MIR_CLIENT_EXTENSIONS_FENCED_BUFFERS_H_
99 connection,
"mir_extension_fenced_buffers", 1);
mir_buffer_associate_fence associate_fence
Definition: fenced_buffers.h:91
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
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
@ mir_read_write
Definition: fenced_buffers.h:32
@ mir_read
Definition: fenced_buffers.h:31
MirBufferAccess
Definition: fenced_buffers.h:28
void const * mir_connection_request_extension(MirConnection *connection, char const *interface, int version)
Request a Mir extension.
Definition: fenced_buffers.h:88
struct MirExtensionFencedBuffersV1 MirExtensionFencedBuffersV1
mir_buffer_wait_for_access wait_for_access
Definition: fenced_buffers.h:92
int(* mir_buffer_get_fence)(MirBuffer *)
Retrieve the native fence associated with this buffer.
Definition: fenced_buffers.h:54
mir_buffer_get_fence get_fence
Definition: fenced_buffers.h:90
@ mir_none
Definition: fenced_buffers.h:30
Copyright © 2012-2020
Canonical Ltd.
Generated on Mon Jun 29 21:51:46 UTC 2020
This documentation is licensed under the GPL version 2 or 3.