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
Definition: fenced_buffers.h:32
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.
struct MirExtensionFencedBuffersV1 MirExtensionFencedBuffersV1
Definition: fenced_buffers.h:88
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
Definition: fenced_buffers.h:30
Copyright © 2012-2019
Canonical Ltd.
Generated on Fri Dec 6 02:23:43 UTC 2019
This documentation is licensed under the GPL version 2 or 3.