Monado OpenXR Runtime
oxr_api_space.c File Reference

Space, space, space, SPAAAAAAAAAAAAAAAAAAAAAAAAAACE! More...

#include "openxr/openxr.h"
#include "oxr_chain.h"
#include "util/u_misc.h"
#include "xrt/xrt_compiler.h"
#include "util/u_debug.h"
#include "util/u_trace_marker.h"
#include "math/m_api.h"
#include "oxr_objects.h"
#include "oxr_logger.h"
#include "oxr_conversions.h"
#include "oxr_two_call.h"
#include "oxr_api_funcs.h"
#include "oxr_api_verify.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Include dependency graph for oxr_api_space.c:

Functions

static XrResult is_reference_space_type_valid (struct oxr_logger *log, struct oxr_system *sys, const char *field_name, XrReferenceSpaceType referenceSpaceType)
 
static XrResult is_reference_space_type_supported (struct oxr_logger *log, struct oxr_system *sys, const char *field_name, XrReferenceSpaceType referenceSpaceType)
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateActionSpace (XrSession session, const XrActionSpaceCreateInfo *createInfo, XrSpace *space)
 OpenXR API function xrCreateActionSpace. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateReferenceSpaces (XrSession session, uint32_t spaceCapacityInput, uint32_t *spaceCountOutput, XrReferenceSpaceType *spaces)
 OpenXR API function xrEnumerateReferenceSpaces. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrGetReferenceSpaceBoundsRect (XrSession session, XrReferenceSpaceType referenceSpaceType, XrExtent2Df *bounds)
 OpenXR API function xrGetReferenceSpaceBoundsRect. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateReferenceSpace (XrSession session, const XrReferenceSpaceCreateInfo *createInfo, XrSpace *out_space)
 OpenXR API function xrCreateReferenceSpace. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpace (XrSpace space, XrSpace baseSpace, XrTime time, XrSpaceLocation *location)
 OpenXR API function xrLocateSpace. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySpace (XrSpace space)
 OpenXR API function xrDestroySpace. More...
 
static XrResult verify_space (struct oxr_logger *log, XrSpace space, struct oxr_space **out_space)
 
static XrResult locate_spaces (XrSession session, const XrSpacesLocateInfo *locateInfo, XrSpaceLocations *spaceLocations, char *fn)
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrLocateSpaces (XrSession session, const XrSpacesLocateInfo *locateInfo, XrSpaceLocations *spaceLocations)
 OpenXR API function xrLocateSpaces. More...
 

Detailed Description

Space, space, space, SPAAAAAAAAAAAAAAAAAAAAAAAAAACE!

Author
Jakob Bornecrantz jakob.nosp@m.@col.nosp@m.labor.nosp@m.a.co.nosp@m.m