Monado OpenXR Runtime
|
Common swapchain base. More...
#include <xrt/xrt_compositor.h>
Data Fields | |
uint32_t | num_images |
Number of images, the images themselves are on the subclasses. More... | |
uint32_t | array_size |
Number of array layers per image. More... | |
void(* | destroy )(struct xrt_swapchain *xsc) |
Must have called release_image before calling this function. More... | |
bool(* | acquire_image )(struct xrt_swapchain *xsc, uint32_t *index) |
See xrWaitSwapchainImage, must make sure that no image is acquired before calling acquire_image. More... | |
bool(* | wait_image )(struct xrt_swapchain *xsc, uint64_t timeout, uint32_t index) |
See xrWaitSwapchainImage, state tracker needs to track index. More... | |
bool(* | release_image )(struct xrt_swapchain *xsc, uint32_t index) |
See xrReleaseSwapchainImage, state tracker needs to track index. More... | |
Common swapchain base.
bool(* xrt_swapchain::acquire_image) (struct xrt_swapchain *xsc, uint32_t *index) |
See xrWaitSwapchainImage, must make sure that no image is acquired before calling acquire_image.
uint32_t xrt_swapchain::array_size |
Number of array layers per image.
Referenced by comp_swapchain_really_destroy().
void(* xrt_swapchain::destroy) (struct xrt_swapchain *xsc) |
Must have called release_image before calling this function.
uint32_t xrt_swapchain::num_images |
Number of images, the images themselves are on the subclasses.
Referenced by comp_swapchain_really_destroy(), and oxr_xrEnumerateSwapchainImages().
bool(* xrt_swapchain::release_image) (struct xrt_swapchain *xsc, uint32_t index) |
See xrReleaseSwapchainImage, state tracker needs to track index.
bool(* xrt_swapchain::wait_image) (struct xrt_swapchain *xsc, uint64_t timeout, uint32_t index) |
See xrWaitSwapchainImage, state tracker needs to track index.