119#elif defined(XRT_OS_WINDOWS)
138 struct ipc_message_channel *imc,
void *out_data,
size_t size, HANDLE *out_handles, uint32_t handle_count);
157 struct ipc_message_channel *imc,
const void *data,
size_t size,
const HANDLE *handles, uint32_t handle_count);
192 uint32_t handle_count);
216 uint32_t handle_count);
250 uint32_t handle_count);
275 uint32_t handle_count);
309 uint32_t handle_count);
332 uint32_t handle_count);
Generic typedef for platform-specific shared memory handle.
u_logging_level
Logging level enum.
Definition: u_logging.h:40
enum xrt_result xrt_result_t
Result type used across Monado.
Wrapper for a socket and flags.
Definition: ipc_message_channel.h:30
xrt_result_t ipc_send_handles_graphics_sync(struct ipc_message_channel *imc, const void *data, size_t size, const xrt_graphics_sync_handle_t *handles, uint32_t handle_count)
Send a message along with native graphics sync handles over the IPC channel.
Definition: ipc_message_channel_windows.cpp:227
xrt_result_t ipc_receive_fds(struct ipc_message_channel *imc, void *out_data, size_t size, int *out_fds, uint32_t fd_count)
Receive a message along with a known number of file descriptors over the IPC channel.
Definition: ipc_message_channel_unix.c:133
xrt_result_t ipc_receive_handles_graphics_sync(struct ipc_message_channel *imc, void *out_data, size_t size, xrt_graphics_sync_handle_t *out_handles, uint32_t handle_count)
Receive a message along with a known number of graphics sync handles over the IPC channel.
Definition: ipc_message_channel_windows.cpp:217
xrt_result_t ipc_receive_handles_shmem(struct ipc_message_channel *imc, void *out_data, size_t size, xrt_shmem_handle_t *out_handles, uint32_t handle_count)
Receive a message along with a known number of shared memory handles over the IPC channel.
Definition: ipc_message_channel_unix.c:236
xrt_result_t ipc_send_handles_graphics_buffer(struct ipc_message_channel *imc, const void *data, size_t size, const xrt_graphics_buffer_handle_t *handles, uint32_t handle_count)
Send a message along with native graphics buffer handles over the IPC channel.
Definition: ipc_message_channel_windows.cpp:247
xrt_result_t ipc_receive(struct ipc_message_channel *imc, void *out_data, size_t size)
Receive a bare message over the IPC channel.
Definition: ipc_message_channel_unix.c:100
xrt_result_t ipc_send(struct ipc_message_channel *imc, const void *data, size_t size)
Send a bare message over the IPC channel.
Definition: ipc_message_channel_unix.c:75
void ipc_message_channel_close(struct ipc_message_channel *imc)
Close an IPC message channel.
Definition: ipc_message_channel_unix.c:65
xrt_result_t ipc_send_handles_shmem(struct ipc_message_channel *imc, const void *data, size_t size, const xrt_shmem_handle_t *handles, uint32_t handle_count)
Send a message along with shared memory handles over the IPC channel.
Definition: ipc_message_channel_unix.c:246
xrt_result_t ipc_send_fds(struct ipc_message_channel *imc, const void *data, size_t size, const int *fds, uint32_t fd_count)
Send a message along with file descriptors over the IPC channel.
Definition: ipc_message_channel_unix.c:179
xrt_result_t ipc_receive_handles_graphics_buffer(struct ipc_message_channel *imc, void *out_data, size_t size, xrt_graphics_buffer_handle_t *out_handles, uint32_t handle_count)
Receive a message along with a known number of graphics buffer handles over the IPC channel.
Definition: ipc_message_channel_windows.cpp:237
Basic logging functionality.
int xrt_graphics_buffer_handle_t
The type underlying buffers shared between compositor clients and the main compositor.
Definition: xrt_handles.h:246
int xrt_graphics_sync_handle_t
The type underlying synchronization primitives (semaphores, etc) shared between compositor clients an...
Definition: xrt_handles.h:348
int xrt_ipc_handle_t
The type for an IPC handle.
Definition: xrt_handles.h:74
Internal result type for XRT.