|
|
#define | IPC_TRACE(d, ...) U_LOG_IFL_T(d->log_level, __VA_ARGS__) |
| |
|
#define | IPC_DEBUG(d, ...) U_LOG_IFL_D(d->log_level, __VA_ARGS__) |
| |
|
#define | IPC_INFO(d, ...) U_LOG_IFL_I(d->log_level, __VA_ARGS__) |
| |
|
#define | IPC_WARN(d, ...) U_LOG_IFL_W(d->log_level, __VA_ARGS__) |
| |
|
#define | IPC_ERROR(d, ...) U_LOG_IFL_E(d->log_level, __VA_ARGS__) |
| |
|
#define | IPC_CHK_AND_RET(S, ...) U_LOG_CHK_AND_RET((S)->log_level, __VA_ARGS__) |
| |
|
#define | IPC_CHK_WITH_GOTO(S, ...) U_LOG_CHK_WITH_GOTO((S)->log_level, __VA_ARGS__) |
| |
|
#define | IPC_CHK_WITH_RET(S, ...) U_LOG_CHK_WITH_RET((S)->log_level, __VA_ARGS__) |
| |
|
#define | IPC_CHK_ONLY_PRINT(S, ...) U_LOG_CHK_ONLY_PRINT((S)->log_level, __VA_ARGS__) |
| |
|
#define | IPC_CHK_ALWAYS_RET(S, ...) U_LOG_CHK_ALWAYS_RET((S)->log_level, __VA_ARGS__) |
| |
|
#define | IPC_MAX_CLIENT_SEMAPHORES 8 |
| |
|
#define | IPC_MAX_CLIENT_SWAPCHAINS (XRT_MAX_LAYERS * 2) |
| |
|
#define | IPC_MAX_CLIENT_SPACES 128 |
| |
|
#define | IPC_MAX_CLIENT_FUTURES 128 |
| |
|
#define | XRT_IPC_GOT_IMPL |
| |
|
#define | XRT_IPC_GOT_IMPL |
| |
|
#define | XRT_IPC_GOT_IMPL |
| |
|
| xrt_result_t | ipc_server_init_system_if_available_locked (struct ipc_server *s, volatile struct ipc_client_state *ics, bool *out_available) |
| | Finish setting up the server by creating the system, compositor and devices.
|
| |
| xrt_result_t | ipc_server_get_client_app_state (struct ipc_server *s, uint32_t client_id, struct ipc_app_state *out_ias) |
| | Get the current state of a client.
|
| |
| xrt_result_t | ipc_server_set_active_client (struct ipc_server *s, uint32_t client_id) |
| | Set the new active client.
|
| |
| xrt_result_t | ipc_server_toggle_io_client (struct ipc_server *s, uint32_t client_id) |
| | Toggle the io for this client.
|
| |
| xrt_result_t | ipc_server_set_client_io_blocks (struct ipc_server *s, uint32_t client_id, const struct ipc_client_io_blocks *blocks) |
| | Block certain types of IO for this client.
|
| |
| void | ipc_server_activate_session (volatile struct ipc_client_state *ics) |
| | Called by client threads to set a session to active.
|
| |
| void | ipc_server_deactivate_session (volatile struct ipc_client_state *ics) |
| | Called by client threads to set a session to deactivate.
|
| |
| void | ipc_server_update_state (struct ipc_server *s) |
| | Called by client threads to recalculate active client.
|
| |
| void * | ipc_server_client_thread (void *_ics) |
| | Thread function for the client side dispatching.
|
| |
| void | ipc_server_client_destroy_session_and_compositor (volatile struct ipc_client_state *ics) |
| | This destroys the native compositor for this client and any extra objects created from it, like all of the swapchains.
|
| |
|
xrt_result_t | ipc_server_get_system_properties (struct ipc_server *vs, struct xrt_system_properties *out_properties) |
| |
| static struct ipc_shared_memory * | get_ism (volatile struct ipc_client_state *ics) |
| | Get the data in the shared memory of the given client.
|
| |
| static xrt_shmem_handle_t | get_ism_handle (volatile struct ipc_client_state *ics) |
| | Get the handle for the shared memory of the given client.
|
| |