35#define IPC_TRACE(IPC_C, ...) U_LOG_IFL_T((IPC_C)->imc.log_level, __VA_ARGS__)
36#define IPC_DEBUG(IPC_C, ...) U_LOG_IFL_D((IPC_C)->imc.log_level, __VA_ARGS__)
37#define IPC_INFO(IPC_C, ...) U_LOG_IFL_I((IPC_C)->imc.log_level, __VA_ARGS__)
38#define IPC_WARN(IPC_C, ...) U_LOG_IFL_W((IPC_C)->imc.log_level, __VA_ARGS__)
39#define IPC_ERROR(IPC_C, ...) U_LOG_IFL_E((IPC_C)->imc.log_level, __VA_ARGS__)
41#define IPC_CHK_AND_RET(IPC_C, ...) U_LOG_CHK_AND_RET((IPC_C)->imc.log_level, __VA_ARGS__)
42#define IPC_CHK_WITH_GOTO(IPC_C, ...) U_LOG_CHK_WITH_GOTO((IPC_C)->imc.log_level, __VA_ARGS__)
43#define IPC_CHK_WITH_RET(IPC_C, ...) U_LOG_CHK_WITH_RET((IPC_C)->imc.log_level, __VA_ARGS__)
44#define IPC_CHK_ONLY_PRINT(IPC_C, ...) U_LOG_CHK_ONLY_PRINT((IPC_C)->imc.log_level, __VA_ARGS__)
45#define IPC_CHK_ALWAYS_RET(IPC_C, ...) U_LOG_CHK_ALWAYS_RET((IPC_C)->imc.log_level, __VA_ARGS__)
89 struct xrt_reference feature_use[XRT_DEVICE_FEATURE_MAX_ENUM];
149ipc_client_space_get_id(
struct xrt_space *space);
158ipc_client_future_create(
struct ipc_connection *ipc_c, uint32_t future_id);
Generic typedef for platform-specific shared memory handle.
#define XRT_SYSTEM_MAX_DEVICES
Maximum number of devices simultaneously usable by an implementation of xrt_system_devices.
Definition: xrt_system.h:141
enum xrt_result xrt_result_t
Result type used across Monado.
xrt_result_t ipc_client_create_native_compositor(struct xrt_system_compositor *xsysc, const struct xrt_session_info *xsi, struct xrt_compositor_native **out_xcn)
Create a native compositor from a system compositor, this is used instead of the normal xrt_system_co...
Definition: ipc_client_compositor.c:1085
xrt_result_t ipc_client_create_system_compositor(struct ipc_connection *ipc_c, struct xrt_image_native_allocator *xina, struct xrt_device *xdev, struct xrt_system_compositor **out_xcs)
Create an IPC client system compositor.
Definition: ipc_client_compositor.c:1116
IPC message channel functions.
Common protocol definition.
IPC util helpers, for internal use only.
Definition: ipc_client_android.cpp:27
Client side implementation of the system devices struct.
Definition: ipc_client.h:78
struct ipc_connection * ipc_c
Connection to service.
Definition: ipc_client.h:83
struct u_system_devices base
Base.
Definition: ipc_client.h:80
Connection.
Definition: ipc_client.h:61
Wrapper for a socket and flags.
Definition: ipc_message_channel.h:30
A big struct that contains all data that is shared to a client, no pointers allowed in this.
Definition: ipc_protocol.h:192
A wrapper around a native mutex.
Definition: os_threading.h:55
Helper struct to manage devices by implementing the xrt_system_devices.
Definition: u_system_helpers.h:36
Main compositor server interface.
Definition: xrt_compositor.h:2235
A single HMD or input device.
Definition: xrt_device.h:284
A future is a concurrency primitive that provides a mechanism to access results of asynchronous opera...
Definition: xrt_future.h:74
Allocator for system native images, in general you do not need to free the images as they will be con...
Definition: xrt_compositor.h:2660
A base class for reference counted objects.
Definition: xrt_defines.h:99
Session information, mostly overlay extension data.
Definition: xrt_compositor.h:925
The XRT representation of XrSession, this object does not have all of the functionality of a session,...
Definition: xrt_session.h:260
Object that oversees and manages spaces, one created for each XR system.
Definition: xrt_space.h:97
A space very similar to a OpenXR XrSpace but not a full one-to-one mapping, but used to power XrSpace...
Definition: xrt_space.h:32
The system compositor handles composition for a system.
Definition: xrt_compositor.h:2447
A system is a collection of devices, policies and optionally a compositor that is organised into a ch...
Definition: xrt_system.h:62
A tracking system or device origin.
Definition: xrt_tracking.h:75
Basic logging functionality.
Helpers for system objects like xrt_system_devices.
Slightly higher level thread safe helpers.
Header holding common defines.
Auto detect OS and certain features.