Monado OpenXR Runtime
oxr_api_swapchain.c File Reference

Swapchain entrypoints for the OpenXR state tracker. More...

#include "xrt/xrt_compiler.h"
#include "util/u_debug.h"
#include "util/u_trace_marker.h"
#include "oxr_chain.h"
#include "oxr_objects.h"
#include "oxr_logger.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_swapchain.c:

Functions

XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateSwapchainFormats (XrSession session, uint32_t formatCapacityInput, uint32_t *formatCountOutput, int64_t *formats)
 OpenXR API function xrEnumerateSwapchainFormats. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrCreateSwapchain (XrSession session, const XrSwapchainCreateInfo *createInfo, XrSwapchain *out_swapchain)
 OpenXR API function xrCreateSwapchain. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrDestroySwapchain (XrSwapchain swapchain)
 OpenXR API function xrDestroySwapchain. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrEnumerateSwapchainImages (XrSwapchain swapchain, uint32_t imageCapacityInput, uint32_t *imageCountOutput, XrSwapchainImageBaseHeader *images)
 OpenXR API function xrEnumerateSwapchainImages. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrAcquireSwapchainImage (XrSwapchain swapchain, const XrSwapchainImageAcquireInfo *acquireInfo, uint32_t *index)
 OpenXR API function xrAcquireSwapchainImage. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrWaitSwapchainImage (XrSwapchain swapchain, const XrSwapchainImageWaitInfo *waitInfo)
 OpenXR API function xrWaitSwapchainImage. More...
 
XRAPI_ATTR XrResult XRAPI_CALL oxr_xrReleaseSwapchainImage (XrSwapchain swapchain, const XrSwapchainImageReleaseInfo *releaseInfo)
 OpenXR API function xrReleaseSwapchainImage. More...
 

Detailed Description

Swapchain entrypoints for the OpenXR state tracker.

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