|
Monado OpenXR Runtime
|
Holds the state for a single client. More...
#include </builds/monado/monado/src/xrt/ipc/server/ipc_server.h>

Data Fields | |
| struct ipc_server * | server |
| Link back to the main server. More... | |
| bool | has_init_shm_system |
| Has the system part of the shm initialized. More... | |
| struct xrt_session * | xs |
| Session for this client. More... | |
| struct xrt_compositor * | xc |
| Compositor for this client. More... | |
| bool | io_active |
| Is the inputs and outputs active. More... | |
| uint32_t | swapchain_count |
| Number of swapchains in use by client. More... | |
| struct xrt_swapchain * | xscs [(XRT_MAX_LAYERS *2)] |
| Ptrs to the swapchains. More... | |
| struct ipc_swapchain_data | swapchain_data [(XRT_MAX_LAYERS *2)] |
| Data for the swapchains. More... | |
| uint32_t | compositor_semaphore_count |
| Number of compositor semaphores in use by client. More... | |
| struct xrt_compositor_semaphore * | xcsems [8] |
| Ptrs to the semaphores. More... | |
| struct xrt_future * | xfts [128] |
| Ptrs to the futures. More... | |
| struct { | |
| uint32_t root | |
| uint32_t local | |
| uint32_t stage | |
| uint32_t unbounded | |
| } | semantic_spaces |
| uint32_t | space_count |
| Number of spaces. More... | |
| uint32_t | local_space_index |
| Index of localspace in ipc client. More... | |
| uint32_t | local_space_overseer_index |
| Index of localspace in space overseer. More... | |
| uint32_t | local_floor_space_index |
| Index of localfloorspace in ipc client. More... | |
| uint32_t | local_floor_space_overseer_index |
| Index of localfloorspace in space overseer. More... | |
| struct xrt_space * | xspcs [128] |
| Ptrs to the spaces. More... | |
| bool | ref_space_used [XRT_SPACE_REFERENCE_TYPE_COUNT] |
| Which of the references spaces is the client using. More... | |
| bool | device_feature_used [XRT_DEVICE_FEATURE_MAX_ENUM] |
| Which of the device features is the client using. More... | |
| struct ipc_message_channel | imc |
| Socket fd used for client comms. More... | |
| struct ipc_app_state | client_state |
| uint64_t | plane_detection_size |
| uint64_t | plane_detection_count |
| uint64_t * | plane_detection_ids |
| Array of plane detection ids with plane_detection_size entries. More... | |
| struct xrt_device ** | plane_detection_xdev |
| Array of xrt_devices with plane_detection_size entries. More... | |
| int | server_thread_index |
| xrt_shmem_handle_t | ism_handle |
Holds the state for a single client.
| uint32_t ipc_client_state::compositor_semaphore_count |
Number of compositor semaphores in use by client.
| bool ipc_client_state::device_feature_used[XRT_DEVICE_FEATURE_MAX_ENUM] |
Which of the device features is the client using.
| bool ipc_client_state::has_init_shm_system |
Has the system part of the shm initialized.
| struct ipc_message_channel ipc_client_state::imc |
Socket fd used for client comms.
| bool ipc_client_state::io_active |
Is the inputs and outputs active.
| uint32_t ipc_client_state::local_floor_space_index |
Index of localfloorspace in ipc client.
| uint32_t ipc_client_state::local_floor_space_overseer_index |
Index of localfloorspace in space overseer.
| uint32_t ipc_client_state::local_space_index |
Index of localspace in ipc client.
| uint32_t ipc_client_state::local_space_overseer_index |
Index of localspace in space overseer.
| uint64_t* ipc_client_state::plane_detection_ids |
Array of plane detection ids with plane_detection_size entries.
| struct xrt_device** ipc_client_state::plane_detection_xdev |
Array of xrt_devices with plane_detection_size entries.
| bool ipc_client_state::ref_space_used[XRT_SPACE_REFERENCE_TYPE_COUNT] |
Which of the references spaces is the client using.
| struct ipc_server* ipc_client_state::server |
Link back to the main server.
Referenced by get_idev(), get_ism(), get_xdev(), ipc_server_activate_session(), ipc_server_client_destroy_session_and_compositor(), and ipc_server_deactivate_session().
| uint32_t ipc_client_state::space_count |
Number of spaces.
| uint32_t ipc_client_state::swapchain_count |
Number of swapchains in use by client.
Referenced by ipc_server_client_destroy_session_and_compositor().
| struct ipc_swapchain_data ipc_client_state::swapchain_data[(XRT_MAX_LAYERS *2)] |
Data for the swapchains.
| struct xrt_compositor* ipc_client_state::xc |
Compositor for this client.
Referenced by ipc_handle_swapchain_acquire_image(), ipc_handle_swapchain_release_image(), and ipc_handle_swapchain_wait_image().
| struct xrt_compositor_semaphore* ipc_client_state::xcsems[8] |
Ptrs to the semaphores.
| struct xrt_future* ipc_client_state::xfts[128] |
Ptrs to the futures.
| struct xrt_session* ipc_client_state::xs |
Session for this client.
| struct xrt_swapchain* ipc_client_state::xscs[(XRT_MAX_LAYERS *2)] |
Ptrs to the swapchains.
| struct xrt_space* ipc_client_state::xspcs[128] |
Ptrs to the spaces.