|
Monado OpenXR Runtime
|
Common protocol definition. More...
#include "xrt/xrt_limits.h"#include "xrt/xrt_compiler.h"#include "xrt/xrt_compositor.h"#include "xrt/xrt_results.h"#include "xrt/xrt_defines.h"#include "xrt/xrt_future.h"#include "xrt/xrt_system.h"#include "xrt/xrt_session.h"#include "xrt/xrt_instance.h"#include "xrt/xrt_device.h"#include "xrt/xrt_space.h"#include "xrt/xrt_tracking.h"#include "xrt/xrt_config_build.h"#include <assert.h>#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
| struct | ipc_tracking_origin_list_entry |
| Information about a device in the device list. More... | |
| struct | ipc_tracking_origin_list |
| A list of the current tracking origins. More... | |
| struct | ipc_tracking_origin_info |
| A tracking in the shared memory area. More... | |
| struct | ipc_device_list_entry |
| Information about a device in the device list. More... | |
| struct | ipc_device_list |
| List of devices available on the server. More... | |
| struct | ipc_device_info |
| Device information sent over IPC. More... | |
| struct | ipc_layer_entry |
| Data for a single composition layer. More... | |
| struct | ipc_layer_slot |
| Render state for a single client, including all layers. More... | |
| struct | ipc_shared_memory |
| A big struct that contains all data that is shared to a client, no pointers allowed in this. More... | |
| struct | ipc_hand_tracker_create_info |
| Pointer-free arguments for creating an xrt_hand_tracker over IPC. More... | |
| struct | ipc_body_tracker_create_info |
| Pointer-free arguments for creating an xrt_body_tracker over IPC. More... | |
| struct | ipc_client_description |
| Initial info from a client when it connects. More... | |
| struct | ipc_client_list |
| struct | ipc_client_io_blocks |
| Which types of IO to block for a client. More... | |
| struct | ipc_app_state |
| State for a connected application. More... | |
| struct | ipc_arg_swapchain_from_native |
| Arguments for creating swapchains from native images. More... | |
| struct | ipc_info_get_view_poses_2 |
| Arguments for xrt_device::get_view_poses with two views. More... | |
| struct | ipc_pcm_haptic_buffer |
Macros | |
| #define | IPC_CRED_SIZE 1 |
| #define | IPC_BUF_SIZE 2048 |
| #define | IPC_MAX_VIEWS 8 |
| #define | IPC_MAX_FORMATS 32 |
| #define | IPC_MAX_DEVICES 8 |
| #define | IPC_MAX_LAYERS XRT_MAX_LAYERS |
| #define | IPC_MAX_SLOTS 128 |
| #define | IPC_MAX_CLIENTS 32 |
| #define | IPC_MAX_RAW_VIEWS 32 |
| #define | IPC_EVENT_QUEUE_SIZE 32 |
| #define | IPC_VERSION_NAME_LEN 64 |
| #define | PID_T_FMT "%d" |
| #define | IPC_MAX_PCM_HAPTIC_SAMPLES 4000 |
| Max number of samples in one ipc_pcm_haptic_buffer. | |
Common protocol definition.
| #define IPC_MAX_PCM_HAPTIC_SAMPLES 4000 |
Max number of samples in one ipc_pcm_haptic_buffer.
XR_MAX_HAPTIC_PCM_BUFFER_SIZE_FB in the XR_FB_haptic_pcm extension.XR_MAX_HAPTIC_PCM_BUFFER_SIZE_FB as the maximum size of the runtime's internal sample buffer, not as a per-call limit. We don't keep such a buffer literally, but the only observable effect of one is that no more than this many samples can be consumed per call, so going above this value would violate the spec.