Monado OpenXR Runtime
|
A single swapchain image, holds the needed state for tracking image usage. More...
#include <util/comp_swapchain.h>
Data Fields | |
struct { | |
VkImageView * alpha | |
VkImageView * no_alpha | |
} | views |
Views used by the renderer and distortion code, for each array layer. More... | |
size_t | array_size |
The number of array slices in a texture, 1 == regular 2D texture. More... | |
uint32_t | use_count |
A usage counter, similar to a reference counter. More... | |
pthread_cond_t | use_cond |
A condition variable per swapchain image that is notified when use_count count reaches 0. More... | |
struct os_mutex | use_mutex |
A mutex per swapchain image that is used with use_cond. More... | |
A single swapchain image, holds the needed state for tracking image usage.
size_t comp_swapchain_image::array_size |
The number of array slices in a texture, 1 == regular 2D texture.
pthread_cond_t comp_swapchain_image::use_cond |
A condition variable per swapchain image that is notified when use_count count reaches 0.
uint32_t comp_swapchain_image::use_count |
A usage counter, similar to a reference counter.
struct os_mutex comp_swapchain_image::use_mutex |
A mutex per swapchain image that is used with use_cond.
struct { ... } comp_swapchain_image::views |
Views used by the renderer and distortion code, for each array layer.
Referenced by do_post_create_vulkan_setup().