IPC server handlers for app policy objects.
More...
|
|
xrt_result_t | ipc_handle_app_instance_create (volatile struct ipc_client_state *ics, uint32_t *out_id) |
| |
|
xrt_result_t | ipc_handle_app_instance_destroy (volatile struct ipc_client_state *ics, uint32_t id) |
| |
|
xrt_result_t | ipc_handle_app_instance_create_app_system (volatile struct ipc_client_state *ics, uint32_t xainst_id, uint32_t *out_xasys_id) |
| |
|
xrt_result_t | ipc_handle_app_system_destroy (volatile struct ipc_client_state *ics, uint32_t xasys_id) |
| |
|
xrt_result_t | ipc_handle_app_system_get_recommended_view_configuration (volatile struct ipc_client_state *ics, uint32_t id, enum xrt_view_type view_type, struct xrt_recommended_view_config *out_recommended_view_config) |
| |
|
xrt_result_t | ipc_handle_app_system_set_recommended_view_configuration (volatile struct ipc_client_state *ics, uint32_t id, enum xrt_view_type view_type, const struct xrt_recommended_view_config *recommended_view_config) |
| |
IPC server handlers for app policy objects.
- Author
- Beyley Cardellio ep1cm.nosp@m.1n10.nosp@m.n123@.nosp@m.gmai.nosp@m.l.com
◆ GET_XAINST_OR_RETURN
| #define GET_XAINST_OR_RETURN |
( |
|
ICS, |
|
|
|
ID, |
|
|
|
XAINST |
|
) |
| |
Value: do { \
xrt_result_t xret = ipc_server_objects_get_xainst_and_validate((ICS), ID, &(XAINST)); \
IPC_CHK_AND_RET((ICS)->server, xret, "ipc_server_objects_get_xainst_and_validate"); \
} while (0)
enum xrt_result xrt_result_t
Result type used across Monado.
◆ GET_XASYS_OR_RETURN
| #define GET_XASYS_OR_RETURN |
( |
|
ICS, |
|
|
|
ID, |
|
|
|
XASYS |
|
) |
| |
Value: do { \
xrt_result_t xret = ipc_server_objects_get_xasys_and_validate((ICS), ID, &(XASYS)); \
IPC_CHK_AND_RET((ICS)->server, xret, "ipc_server_objects_get_xasys_and_validate"); \
} while (0)