Monado OpenXR Runtime
|
Holds system related entrypoints. More...
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "xrt/xrt_compiler.h"
#include "xrt/xrt_gfx_gl.h"
#include "xrt/xrt_gfx_gles.h"
#include "util/u_debug.h"
#include "oxr_objects.h"
#include "oxr_logger.h"
#include "oxr_two_call.h"
#include "oxr_api_funcs.h"
#include "oxr_api_verify.h"
Macros | |
#define | OXR_VERIFY_SYSTEM_AND_GET(log, inst, sysId, system) |
A helper define that verifies the systemId. More... | |
Functions | |
XrResult | oxr_xrGetSystem (XrInstance instance, const XrSystemGetInfo *getInfo, XrSystemId *systemId) |
OpenXR API function xrGetSystem. More... | |
XrResult | oxr_xrGetSystemProperties (XrInstance instance, XrSystemId systemId, XrSystemProperties *properties) |
OpenXR API function xrGetSystemProperties. More... | |
XrResult | oxr_xrEnumerateViewConfigurations (XrInstance instance, XrSystemId systemId, uint32_t viewConfigurationTypeCapacityInput, uint32_t *viewConfigurationTypeCountOutput, XrViewConfigurationType *viewConfigurationTypes) |
OpenXR API function xrEnumerateViewConfigurations. More... | |
XrResult | oxr_xrEnumerateEnvironmentBlendModes (XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t environmentBlendModeCapacityInput, uint32_t *environmentBlendModeCountOutput, XrEnvironmentBlendMode *environmentBlendModes) |
OpenXR API function xrEnumerateEnvironmentBlendModes. More... | |
XrResult | oxr_xrGetViewConfigurationProperties (XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, XrViewConfigurationProperties *configurationProperties) |
OpenXR API function xrGetViewConfigurationProperties. More... | |
XrResult | oxr_xrEnumerateViewConfigurationViews (XrInstance instance, XrSystemId systemId, XrViewConfigurationType viewConfigurationType, uint32_t viewCapacityInput, uint32_t *viewCountOutput, XrViewConfigurationView *views) |
OpenXR API function xrEnumerateViewConfigurationViews. More... | |
XrResult | oxr_xrGetOpenGLGraphicsRequirementsKHR (XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsOpenGLKHR *graphicsRequirements) |
OpenXR API function xrGetOpenGLGraphicsRequirementsKHR. More... | |
XrResult | oxr_xrGetVulkanInstanceExtensionsKHR (XrInstance instance, XrSystemId systemId, uint32_t namesCapacityInput, uint32_t *namesCountOutput, char *namesString) |
OpenXR API function xrGetVulkanInstanceExtensionsKHR. More... | |
XrResult | oxr_xrGetVulkanDeviceExtensionsKHR (XrInstance instance, XrSystemId systemId, uint32_t namesCapacityInput, uint32_t *namesCountOutput, char *namesString) |
OpenXR API function xrGetVulkanDeviceExtensionsKHR. More... | |
VKAPI_ATTR PFN_vkVoidFunction VKAPI_CALL | vkGetInstanceProcAddr (VkInstance instance, const char *pName) |
XrResult | oxr_xrGetVulkanGraphicsDeviceKHR (XrInstance instance, XrSystemId systemId, VkInstance vkInstance, VkPhysicalDevice *vkPhysicalDevice) |
OpenXR API function xrGetVulkanGraphicsDeviceKHR. More... | |
XrResult | oxr_xrGetVulkanGraphicsRequirementsKHR (XrInstance instance, XrSystemId systemId, XrGraphicsRequirementsVulkanKHR *graphicsRequirements) |
OpenXR API function xrGetVulkanGraphicsRequirementsKHR. More... | |
Holds system related entrypoints.
#define OXR_VERIFY_SYSTEM_AND_GET | ( | log, | |
inst, | |||
sysId, | |||
system | |||
) |
A helper define that verifies the systemId.