Monado OpenXR Runtime
vk_image_readback_to_xf_pool.c File Reference

Pool to read back VkImages from the gpu. More...

Include dependency graph for vk_image_readback_to_xf_pool.c:

Data Structures

struct  vk_image_readback_to_xf_pool
 

Functions

static void vk_xf_readback_release (struct xrt_frame *xf)
 
static void vk_xf_readback_pool_try_create_new_frame (struct vk_bundle *vk, struct vk_image_readback_to_xf_pool *pool)
 
static bool find_created_not_used_wrap_locked (struct vk_image_readback_to_xf_pool *pool, struct vk_image_readback_to_xf **out)
 
bool vk_image_readback_to_xf_pool_get_unused_frame (struct vk_bundle *vk, struct vk_image_readback_to_xf_pool *pool, struct vk_image_readback_to_xf **out)
 
void vk_image_readback_to_xf_pool_create (struct vk_bundle *vk, VkExtent2D extent, struct vk_image_readback_to_xf_pool **out_pool, enum xrt_format xrt_format, VkFormat vk_format)
 
void vk_image_readback_to_xf_pool_destroy (struct vk_bundle *vk, struct vk_image_readback_to_xf_pool **pool_ptr)
 

Detailed Description

Pool to read back VkImages from the gpu.

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