mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
external: Update OpenXR headers to 1.0.12
This commit is contained in:
parent
c5b696cfd7
commit
708dc80bbc
137
src/external/openxr_includes/openxr/openxr.h
vendored
137
src/external/openxr_includes/openxr/openxr.h
vendored
|
@ -25,7 +25,7 @@ extern "C" {
|
|||
((((major) & 0xffffULL) << 48) | (((minor) & 0xffffULL) << 32) | ((patch) & 0xffffffffULL))
|
||||
|
||||
// OpenXR current version number.
|
||||
#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 0, 11)
|
||||
#define XR_CURRENT_API_VERSION XR_MAKE_VERSION(1, 0, 12)
|
||||
|
||||
#define XR_VERSION_MAJOR(version) (uint16_t)(((uint64_t)(version) >> 48)& 0xffffULL)
|
||||
#define XR_VERSION_MINOR(version) (uint16_t)(((uint64_t)(version) >> 32) & 0xffffULL)
|
||||
|
@ -185,6 +185,7 @@ typedef enum XrResult {
|
|||
XR_ERROR_ANDROID_THREAD_SETTINGS_FAILURE_KHR = -1000003001,
|
||||
XR_ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT = -1000039001,
|
||||
XR_ERROR_SECONDARY_VIEW_CONFIGURATION_TYPE_NOT_ENABLED_MSFT = -1000053000,
|
||||
XR_ERROR_CONTROLLER_MODEL_KEY_INVALID_MSFT = -1000055000,
|
||||
XR_RESULT_MAX_ENUM = 0x7FFFFFFF
|
||||
} XrResult;
|
||||
|
||||
|
@ -274,6 +275,7 @@ typedef enum XrStructureType {
|
|||
XR_TYPE_EVENT_DATA_VISIBILITY_MASK_CHANGED_KHR = 1000031001,
|
||||
XR_TYPE_SESSION_CREATE_INFO_OVERLAY_EXTX = 1000033000,
|
||||
XR_TYPE_EVENT_DATA_MAIN_SESSION_VISIBILITY_CHANGED_EXTX = 1000033003,
|
||||
XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR = 1000034000,
|
||||
XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT = 1000039000,
|
||||
XR_TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT = 1000039001,
|
||||
XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT = 1000046000,
|
||||
|
@ -295,9 +297,22 @@ typedef enum XrStructureType {
|
|||
XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_END_INFO_MSFT = 1000053003,
|
||||
XR_TYPE_SECONDARY_VIEW_CONFIGURATION_LAYER_INFO_MSFT = 1000053004,
|
||||
XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SWAPCHAIN_CREATE_INFO_MSFT = 1000053005,
|
||||
XR_TYPE_CONTROLLER_MODEL_KEY_STATE_MSFT = 1000055000,
|
||||
XR_TYPE_CONTROLLER_MODEL_NODE_PROPERTIES_MSFT = 1000055001,
|
||||
XR_TYPE_CONTROLLER_MODEL_PROPERTIES_MSFT = 1000055002,
|
||||
XR_TYPE_CONTROLLER_MODEL_NODE_STATE_MSFT = 1000055003,
|
||||
XR_TYPE_CONTROLLER_MODEL_STATE_MSFT = 1000055004,
|
||||
XR_TYPE_VIEW_CONFIGURATION_VIEW_FOV_EPIC = 1000059000,
|
||||
XR_TYPE_HOLOGRAPHIC_WINDOW_ATTACHMENT_MSFT = 1000063000,
|
||||
XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE = 1000079000,
|
||||
XR_TYPE_LOADER_INIT_INFO_ANDROID_KHR = 1000089000,
|
||||
XR_TYPE_VULKAN_INSTANCE_CREATE_INFO_KHR = 1000090000,
|
||||
XR_TYPE_VULKAN_DEVICE_CREATE_INFO_KHR = 1000090001,
|
||||
XR_TYPE_VULKAN_GRAPHICS_DEVICE_GET_INFO_KHR = 1000090003,
|
||||
XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR = 1000091000,
|
||||
XR_TYPE_GRAPHICS_BINDING_VULKAN2_KHR = XR_TYPE_GRAPHICS_BINDING_VULKAN_KHR,
|
||||
XR_TYPE_SWAPCHAIN_IMAGE_VULKAN2_KHR = XR_TYPE_SWAPCHAIN_IMAGE_VULKAN_KHR,
|
||||
XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN2_KHR = XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN_KHR,
|
||||
XR_STRUCTURE_TYPE_MAX_ENUM = 0x7FFFFFFF
|
||||
} XrStructureType;
|
||||
|
||||
|
@ -1386,6 +1401,53 @@ XRAPI_ATTR XrResult XRAPI_CALL xrGetVisibilityMaskKHR(
|
|||
#endif
|
||||
|
||||
|
||||
#define XR_KHR_composition_layer_color_scale_bias 1
|
||||
#define XR_KHR_composition_layer_color_scale_bias_SPEC_VERSION 5
|
||||
#define XR_KHR_COMPOSITION_LAYER_COLOR_SCALE_BIAS_EXTENSION_NAME "XR_KHR_composition_layer_color_scale_bias"
|
||||
typedef struct XrCompositionLayerColorScaleBiasKHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
XrColor4f colorScale;
|
||||
XrColor4f colorBias;
|
||||
} XrCompositionLayerColorScaleBiasKHR;
|
||||
|
||||
|
||||
|
||||
#define XR_KHR_loader_init 1
|
||||
#define XR_KHR_loader_init_SPEC_VERSION 1
|
||||
#define XR_KHR_LOADER_INIT_EXTENSION_NAME "XR_KHR_loader_init"
|
||||
typedef struct XR_MAY_ALIAS XrLoaderInitInfoBaseHeaderKHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
} XrLoaderInitInfoBaseHeaderKHR;
|
||||
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrInitializeLoaderKHR)(const XrLoaderInitInfoBaseHeaderKHR* loaderInitInfo);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrInitializeLoaderKHR(
|
||||
const XrLoaderInitInfoBaseHeaderKHR* loaderInitInfo);
|
||||
#endif
|
||||
|
||||
|
||||
#define XR_KHR_composition_layer_equirect2 1
|
||||
#define XR_KHR_composition_layer_equirect2_SPEC_VERSION 1
|
||||
#define XR_KHR_COMPOSITION_LAYER_EQUIRECT2_EXTENSION_NAME "XR_KHR_composition_layer_equirect2"
|
||||
typedef struct XrCompositionLayerEquirect2KHR {
|
||||
XrStructureType type;
|
||||
const void* XR_MAY_ALIAS next;
|
||||
XrCompositionLayerFlags layerFlags;
|
||||
XrSpace space;
|
||||
XrEyeVisibility eyeVisibility;
|
||||
XrSwapchainSubImage subImage;
|
||||
XrPosef pose;
|
||||
float radius;
|
||||
float centralHorizontalAngle;
|
||||
float upperVerticalAngle;
|
||||
float lowerVerticalAngle;
|
||||
} XrCompositionLayerEquirect2KHR;
|
||||
|
||||
|
||||
|
||||
#define XR_EXT_performance_settings 1
|
||||
#define XR_EXT_performance_settings_SPEC_VERSION 1
|
||||
#define XR_EXT_PERFORMANCE_SETTINGS_EXTENSION_NAME "XR_EXT_performance_settings"
|
||||
|
@ -1997,6 +2059,79 @@ typedef struct XrSecondaryViewConfigurationSwapchainCreateInfoMSFT {
|
|||
#define XR_MSFT_FIRST_PERSON_OBSERVER_EXTENSION_NAME "XR_MSFT_first_person_observer"
|
||||
|
||||
|
||||
#define XR_MSFT_controller_model 1
|
||||
|
||||
#define XR_NULL_CONTROLLER_MODEL_KEY_MSFT 0
|
||||
|
||||
XR_DEFINE_ATOM(XrControllerModelKeyMSFT)
|
||||
#define XR_MSFT_controller_model_SPEC_VERSION 2
|
||||
#define XR_MSFT_CONTROLLER_MODEL_EXTENSION_NAME "XR_MSFT_controller_model"
|
||||
#define XR_MAX_CONTROLLER_MODEL_NODE_NAME_SIZE_MSFT 64
|
||||
typedef struct XrControllerModelKeyStateMSFT {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
XrControllerModelKeyMSFT modelKey;
|
||||
} XrControllerModelKeyStateMSFT;
|
||||
|
||||
typedef struct XrControllerModelNodePropertiesMSFT {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
char parentNodeName[XR_MAX_CONTROLLER_MODEL_NODE_NAME_SIZE_MSFT];
|
||||
char nodeName[XR_MAX_CONTROLLER_MODEL_NODE_NAME_SIZE_MSFT];
|
||||
} XrControllerModelNodePropertiesMSFT;
|
||||
|
||||
typedef struct XrControllerModelPropertiesMSFT {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
uint32_t nodeCapacityInput;
|
||||
uint32_t nodeCountOutput;
|
||||
XrControllerModelNodePropertiesMSFT* nodeProperties;
|
||||
} XrControllerModelPropertiesMSFT;
|
||||
|
||||
typedef struct XrControllerModelNodeStateMSFT {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
XrPosef nodePose;
|
||||
} XrControllerModelNodeStateMSFT;
|
||||
|
||||
typedef struct XrControllerModelStateMSFT {
|
||||
XrStructureType type;
|
||||
void* XR_MAY_ALIAS next;
|
||||
uint32_t nodeCapacityInput;
|
||||
uint32_t nodeCountOutput;
|
||||
XrControllerModelNodeStateMSFT* nodeStates;
|
||||
} XrControllerModelStateMSFT;
|
||||
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrGetControllerModelKeyMSFT)(XrSession session, XrPath topLevelUserPath, XrControllerModelKeyStateMSFT* controllerModelKeyState);
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrLoadControllerModelMSFT)(XrSession session, XrControllerModelKeyMSFT modelKey, uint32_t bufferCapacityInput, uint32_t* bufferCountOutput, uint8_t* buffer);
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrGetControllerModelPropertiesMSFT)(XrSession session, XrControllerModelKeyMSFT modelKey, XrControllerModelPropertiesMSFT* properties);
|
||||
typedef XrResult (XRAPI_PTR *PFN_xrGetControllerModelStateMSFT)(XrSession session, XrControllerModelKeyMSFT modelKey, XrControllerModelStateMSFT* state);
|
||||
|
||||
#ifndef XR_NO_PROTOTYPES
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetControllerModelKeyMSFT(
|
||||
XrSession session,
|
||||
XrPath topLevelUserPath,
|
||||
XrControllerModelKeyStateMSFT* controllerModelKeyState);
|
||||
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrLoadControllerModelMSFT(
|
||||
XrSession session,
|
||||
XrControllerModelKeyMSFT modelKey,
|
||||
uint32_t bufferCapacityInput,
|
||||
uint32_t* bufferCountOutput,
|
||||
uint8_t* buffer);
|
||||
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetControllerModelPropertiesMSFT(
|
||||
XrSession session,
|
||||
XrControllerModelKeyMSFT modelKey,
|
||||
XrControllerModelPropertiesMSFT* properties);
|
||||
|
||||
XRAPI_ATTR XrResult XRAPI_CALL xrGetControllerModelStateMSFT(
|
||||
XrSession session,
|
||||
XrControllerModelKeyMSFT modelKey,
|
||||
XrControllerModelStateMSFT* state);
|
||||
#endif
|
||||
|
||||
|
||||
#define XR_EXT_win32_appcontainer_compatible 1
|
||||
#define XR_EXT_win32_appcontainer_compatible_SPEC_VERSION 1
|
||||
#define XR_EXT_WIN32_APPCONTAINER_COMPATIBLE_EXTENSION_NAME "XR_EXT_win32_appcontainer_compatible"
|
||||
|
|
|
@ -89,6 +89,7 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_ERROR_ANDROID_THREAD_SETTINGS_FAILURE_KHR, -1000003001) \
|
||||
_(XR_ERROR_CREATE_SPATIAL_ANCHOR_FAILED_MSFT, -1000039001) \
|
||||
_(XR_ERROR_SECONDARY_VIEW_CONFIGURATION_TYPE_NOT_ENABLED_MSFT, -1000053000) \
|
||||
_(XR_ERROR_CONTROLLER_MODEL_KEY_INVALID_MSFT, -1000055000) \
|
||||
_(XR_RESULT_MAX_ENUM, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrStructureType(_) \
|
||||
|
@ -177,6 +178,7 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_TYPE_EVENT_DATA_VISIBILITY_MASK_CHANGED_KHR, 1000031001) \
|
||||
_(XR_TYPE_SESSION_CREATE_INFO_OVERLAY_EXTX, 1000033000) \
|
||||
_(XR_TYPE_EVENT_DATA_MAIN_SESSION_VISIBILITY_CHANGED_EXTX, 1000033003) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR, 1000034000) \
|
||||
_(XR_TYPE_SPATIAL_ANCHOR_CREATE_INFO_MSFT, 1000039000) \
|
||||
_(XR_TYPE_SPATIAL_ANCHOR_SPACE_CREATE_INFO_MSFT, 1000039001) \
|
||||
_(XR_TYPE_VIEW_CONFIGURATION_DEPTH_RANGE_EXT, 1000046000) \
|
||||
|
@ -198,9 +200,19 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_END_INFO_MSFT, 1000053003) \
|
||||
_(XR_TYPE_SECONDARY_VIEW_CONFIGURATION_LAYER_INFO_MSFT, 1000053004) \
|
||||
_(XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SWAPCHAIN_CREATE_INFO_MSFT, 1000053005) \
|
||||
_(XR_TYPE_CONTROLLER_MODEL_KEY_STATE_MSFT, 1000055000) \
|
||||
_(XR_TYPE_CONTROLLER_MODEL_NODE_PROPERTIES_MSFT, 1000055001) \
|
||||
_(XR_TYPE_CONTROLLER_MODEL_PROPERTIES_MSFT, 1000055002) \
|
||||
_(XR_TYPE_CONTROLLER_MODEL_NODE_STATE_MSFT, 1000055003) \
|
||||
_(XR_TYPE_CONTROLLER_MODEL_STATE_MSFT, 1000055004) \
|
||||
_(XR_TYPE_VIEW_CONFIGURATION_VIEW_FOV_EPIC, 1000059000) \
|
||||
_(XR_TYPE_HOLOGRAPHIC_WINDOW_ATTACHMENT_MSFT, 1000063000) \
|
||||
_(XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE, 1000079000) \
|
||||
_(XR_TYPE_LOADER_INIT_INFO_ANDROID_KHR, 1000089000) \
|
||||
_(XR_TYPE_VULKAN_INSTANCE_CREATE_INFO_KHR, 1000090000) \
|
||||
_(XR_TYPE_VULKAN_DEVICE_CREATE_INFO_KHR, 1000090001) \
|
||||
_(XR_TYPE_VULKAN_GRAPHICS_DEVICE_GET_INFO_KHR, 1000090003) \
|
||||
_(XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR, 1000091000) \
|
||||
_(XR_STRUCTURE_TYPE_MAX_ENUM, 0x7FFFFFFF)
|
||||
|
||||
#define XR_LIST_ENUM_XrFormFactor(_) \
|
||||
|
@ -396,6 +408,10 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_INPUT_SOURCE_LOCALIZED_NAME_INTERACTION_PROFILE_BIT, 0x00000002) \
|
||||
_(XR_INPUT_SOURCE_LOCALIZED_NAME_COMPONENT_BIT, 0x00000004) \
|
||||
|
||||
#define XR_LIST_BITS_XrVulkanInstanceCreateFlagsKHR(_)
|
||||
|
||||
#define XR_LIST_BITS_XrVulkanDeviceCreateFlagsKHR(_)
|
||||
|
||||
#define XR_LIST_BITS_XrDebugUtilsMessageSeverityFlagsEXT(_) \
|
||||
_(XR_DEBUG_UTILS_MESSAGE_SEVERITY_VERBOSE_BIT_EXT, 0x00000001) \
|
||||
_(XR_DEBUG_UTILS_MESSAGE_SEVERITY_INFO_BIT_EXT, 0x00000010) \
|
||||
|
@ -1038,6 +1054,60 @@ XR_ENUM_STR(XrResult);
|
|||
_(viewConfigurationType) \
|
||||
_(viewIndex) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerColorScaleBiasKHR(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(colorScale) \
|
||||
_(colorBias) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrLoaderInitInfoBaseHeaderKHR(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrLoaderInitInfoAndroidKHR(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(applicationVM) \
|
||||
_(applicationContext) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrVulkanInstanceCreateInfoKHR(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(systemId) \
|
||||
_(createFlags) \
|
||||
_(pfnGetInstanceProcAddr) \
|
||||
_(vulkanCreateInfo) \
|
||||
_(vulkanAllocator) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrVulkanDeviceCreateInfoKHR(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(systemId) \
|
||||
_(createFlags) \
|
||||
_(pfnGetInstanceProcAddr) \
|
||||
_(vulkanPhysicalDevice) \
|
||||
_(vulkanCreateInfo) \
|
||||
_(vulkanAllocator) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrVulkanGraphicsDeviceGetInfoKHR(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(systemId) \
|
||||
_(vulkanInstance) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrCompositionLayerEquirect2KHR(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(layerFlags) \
|
||||
_(space) \
|
||||
_(eyeVisibility) \
|
||||
_(subImage) \
|
||||
_(pose) \
|
||||
_(radius) \
|
||||
_(centralHorizontalAngle) \
|
||||
_(upperVerticalAngle) \
|
||||
_(lowerVerticalAngle) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrEventDataPerfSettingsEXT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
@ -1261,6 +1331,36 @@ XR_ENUM_STR(XrResult);
|
|||
_(next) \
|
||||
_(viewConfigurationType) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrControllerModelKeyStateMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(modelKey) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrControllerModelNodePropertiesMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(parentNodeName) \
|
||||
_(nodeName) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrControllerModelPropertiesMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(nodeCapacityInput) \
|
||||
_(nodeCountOutput) \
|
||||
_(nodeProperties) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrControllerModelNodeStateMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(nodePose) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrControllerModelStateMSFT(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
_(nodeCapacityInput) \
|
||||
_(nodeCountOutput) \
|
||||
_(nodeStates) \
|
||||
|
||||
#define XR_LIST_STRUCT_XrViewConfigurationViewFovEPIC(_) \
|
||||
_(type) \
|
||||
_(next) \
|
||||
|
@ -1341,6 +1441,8 @@ XR_ENUM_STR(XrResult);
|
|||
_(XrCompositionLayerEquirectKHR, XR_TYPE_COMPOSITION_LAYER_EQUIRECT_KHR) \
|
||||
_(XrVisibilityMaskKHR, XR_TYPE_VISIBILITY_MASK_KHR) \
|
||||
_(XrEventDataVisibilityMaskChangedKHR, XR_TYPE_EVENT_DATA_VISIBILITY_MASK_CHANGED_KHR) \
|
||||
_(XrCompositionLayerColorScaleBiasKHR, XR_TYPE_COMPOSITION_LAYER_COLOR_SCALE_BIAS_KHR) \
|
||||
_(XrCompositionLayerEquirect2KHR, XR_TYPE_COMPOSITION_LAYER_EQUIRECT2_KHR) \
|
||||
_(XrEventDataPerfSettingsEXT, XR_TYPE_EVENT_DATA_PERF_SETTINGS_EXT) \
|
||||
_(XrDebugUtilsObjectNameInfoEXT, XR_TYPE_DEBUG_UTILS_OBJECT_NAME_INFO_EXT) \
|
||||
_(XrDebugUtilsLabelEXT, XR_TYPE_DEBUG_UTILS_LABEL_EXT) \
|
||||
|
@ -1370,6 +1472,11 @@ XR_ENUM_STR(XrResult);
|
|||
_(XrSecondaryViewConfigurationLayerInfoMSFT, XR_TYPE_SECONDARY_VIEW_CONFIGURATION_LAYER_INFO_MSFT) \
|
||||
_(XrSecondaryViewConfigurationFrameEndInfoMSFT, XR_TYPE_SECONDARY_VIEW_CONFIGURATION_FRAME_END_INFO_MSFT) \
|
||||
_(XrSecondaryViewConfigurationSwapchainCreateInfoMSFT, XR_TYPE_SECONDARY_VIEW_CONFIGURATION_SWAPCHAIN_CREATE_INFO_MSFT) \
|
||||
_(XrControllerModelKeyStateMSFT, XR_TYPE_CONTROLLER_MODEL_KEY_STATE_MSFT) \
|
||||
_(XrControllerModelNodePropertiesMSFT, XR_TYPE_CONTROLLER_MODEL_NODE_PROPERTIES_MSFT) \
|
||||
_(XrControllerModelPropertiesMSFT, XR_TYPE_CONTROLLER_MODEL_PROPERTIES_MSFT) \
|
||||
_(XrControllerModelNodeStateMSFT, XR_TYPE_CONTROLLER_MODEL_NODE_STATE_MSFT) \
|
||||
_(XrControllerModelStateMSFT, XR_TYPE_CONTROLLER_MODEL_STATE_MSFT) \
|
||||
_(XrViewConfigurationViewFovEPIC, XR_TYPE_VIEW_CONFIGURATION_VIEW_FOV_EPIC) \
|
||||
_(XrInteractionProfileAnalogThresholdVALVE, XR_TYPE_INTERACTION_PROFILE_ANALOG_THRESHOLD_VALVE) \
|
||||
|
||||
|
@ -1408,33 +1515,6 @@ XR_ENUM_STR(XrResult);
|
|||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_OPENGL) && defined(XR_USE_PLATFORM_WIN32)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_WIN32(_) \
|
||||
_(XrGraphicsBindingOpenGLWin32KHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_WIN32_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_WIN32(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_OPENGL) && defined(XR_USE_PLATFORM_XCB)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XCB(_) \
|
||||
_(XrGraphicsBindingOpenGLXcbKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_XCB_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XCB(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_OPENGL) && defined(XR_USE_PLATFORM_XLIB)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XLIB(_) \
|
||||
_(XrGraphicsBindingOpenGLXlibKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_XLIB_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XLIB(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_GRAPHICS_API_OPENGL_ES)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_ES(_) \
|
||||
_(XrSwapchainImageOpenGLESKHR, XR_TYPE_SWAPCHAIN_IMAGE_OPENGL_ES_KHR) \
|
||||
|
@ -1451,6 +1531,9 @@ XR_ENUM_STR(XrResult);
|
|||
_(XrGraphicsBindingVulkanKHR, XR_TYPE_GRAPHICS_BINDING_VULKAN_KHR) \
|
||||
_(XrSwapchainImageVulkanKHR, XR_TYPE_SWAPCHAIN_IMAGE_VULKAN_KHR) \
|
||||
_(XrGraphicsRequirementsVulkanKHR, XR_TYPE_GRAPHICS_REQUIREMENTS_VULKAN_KHR) \
|
||||
_(XrVulkanInstanceCreateInfoKHR, XR_TYPE_VULKAN_INSTANCE_CREATE_INFO_KHR) \
|
||||
_(XrVulkanDeviceCreateInfoKHR, XR_TYPE_VULKAN_DEVICE_CREATE_INFO_KHR) \
|
||||
_(XrVulkanGraphicsDeviceGetInfoKHR, XR_TYPE_VULKAN_GRAPHICS_DEVICE_GET_INFO_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
|
@ -1460,6 +1543,7 @@ XR_ENUM_STR(XrResult);
|
|||
#if defined(XR_USE_PLATFORM_ANDROID)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_ANDROID(_) \
|
||||
_(XrInstanceCreateInfoAndroidKHR, XR_TYPE_INSTANCE_CREATE_INFO_ANDROID_KHR) \
|
||||
_(XrLoaderInitInfoAndroidKHR, XR_TYPE_LOADER_INIT_INFO_ANDROID_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
|
@ -1502,14 +1586,38 @@ XR_ENUM_STR(XrResult);
|
|||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_WIN32(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_PLATFORM_WIN32) && defined(XR_USE_GRAPHICS_API_OPENGL)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_WIN32_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
_(XrGraphicsBindingOpenGLWin32KHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_WIN32_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_WIN32_XR_USE_GRAPHICS_API_OPENGL(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_PLATFORM_XCB) && defined(XR_USE_GRAPHICS_API_OPENGL)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XCB_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
_(XrGraphicsBindingOpenGLXcbKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_XCB_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XCB_XR_USE_GRAPHICS_API_OPENGL(_)
|
||||
#endif
|
||||
|
||||
#if defined(XR_USE_PLATFORM_XLIB) && defined(XR_USE_GRAPHICS_API_OPENGL)
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XLIB_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
_(XrGraphicsBindingOpenGLXlibKHR, XR_TYPE_GRAPHICS_BINDING_OPENGL_XLIB_KHR) \
|
||||
|
||||
|
||||
#else
|
||||
#define XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XLIB_XR_USE_GRAPHICS_API_OPENGL(_)
|
||||
#endif
|
||||
|
||||
#define XR_LIST_STRUCTURE_TYPES(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_CORE(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_D3D11(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_D3D12(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_WIN32(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XCB(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_XR_USE_PLATFORM_XLIB(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_OPENGL_ES(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_GRAPHICS_API_VULKAN(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_ANDROID(_) \
|
||||
|
@ -1517,6 +1625,9 @@ XR_ENUM_STR(XrResult);
|
|||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_EGL(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_WAYLAND_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_WIN32(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_WIN32_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XCB_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
XR_LIST_STRUCTURE_TYPES_XR_USE_PLATFORM_XLIB_XR_USE_GRAPHICS_API_OPENGL(_) \
|
||||
|
||||
|
||||
#define XR_LIST_EXTENSIONS(_) \
|
||||
|
@ -1539,6 +1650,7 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_EXT_eye_gaze_interaction, 31) \
|
||||
_(XR_KHR_visibility_mask, 32) \
|
||||
_(XR_EXTX_overlay, 34) \
|
||||
_(XR_KHR_composition_layer_color_scale_bias, 35) \
|
||||
_(XR_KHR_win32_convert_performance_counter_time, 36) \
|
||||
_(XR_KHR_convert_timespec_time, 37) \
|
||||
_(XR_VARJO_quad_views, 38) \
|
||||
|
@ -1555,11 +1667,16 @@ XR_ENUM_STR(XrResult);
|
|||
_(XR_MSFT_hand_tracking_mesh, 53) \
|
||||
_(XR_MSFT_secondary_view_configuration, 54) \
|
||||
_(XR_MSFT_first_person_observer, 55) \
|
||||
_(XR_MSFT_controller_model, 56) \
|
||||
_(XR_EXT_win32_appcontainer_compatible, 58) \
|
||||
_(XR_EPIC_view_configuration_fov, 60) \
|
||||
_(XR_MSFT_holographic_window_attachment, 64) \
|
||||
_(XR_HUAWEI_controller_interaction, 70) \
|
||||
_(XR_VALVE_analog_threshold, 80) \
|
||||
_(XR_KHR_loader_init, 89) \
|
||||
_(XR_KHR_loader_init_android, 90) \
|
||||
_(XR_KHR_vulkan_enable2, 91) \
|
||||
_(XR_KHR_composition_layer_equirect2, 92) \
|
||||
_(XR_EXT_samsung_odyssey_controller, 95) \
|
||||
_(XR_EXT_hp_mixed_reality_controller, 96) \
|
||||
_(XR_MND_swapchain_usage_input_attachment_bit, 97) \
|
||||
|
|
Loading…
Reference in a new issue