Monado OpenXR Runtime
ipc_protocol.h File Reference

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_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 <sys/types.h>
Include dependency graph for ipc_protocol.h:

Go to the source code of this file.

Data Structures

struct  ipc_shared_tracking_origin
 A tracking in the shared memory area. More...
 
struct  ipc_shared_binding_profile
 A binding in the shared memory area. More...
 
struct  ipc_shared_device
 A device in the shared memory area. 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_client_description
 Initial info from a client when it connects. More...
 
struct  ipc_client_list
 
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...
 

Macros

#define IPC_CRED_SIZE   1
 
#define IPC_BUF_SIZE   512
 
#define IPC_MAX_VIEWS   8
 
#define IPC_MAX_FORMATS   32
 
#define IPC_MAX_DEVICES   8
 
#define IPC_MAX_LAYERS   16
 
#define IPC_MAX_SLOTS   128
 
#define IPC_MAX_CLIENTS   8
 
#define IPC_MAX_RAW_VIEWS   32
 
#define IPC_EVENT_QUEUE_SIZE   32
 
#define IPC_SHARED_MAX_INPUTS   1024
 
#define IPC_SHARED_MAX_OUTPUTS   128
 
#define IPC_SHARED_MAX_BINDINGS   64
 
#define IPC_VERSION_NAME_LEN   64
 

Detailed Description