|
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. | ||
| size_t | array_size | |
| The number of array slices in a texture, 1 == regular 2D texture. | ||
| uint32_t | use_count | |
| A usage counter, similar to a reference counter. | ||
| pthread_cond_t | use_cond | |
| A condition variable per swapchain image that is notified when use_count count reaches 0. | ||
| struct os_mutex | use_mutex | |
| A mutex per swapchain image that is used with use_cond. | ||
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.
Referenced by do_post_create_vulkan_setup(), and image_cleanup().
| pthread_cond_t comp_swapchain_image::use_cond |
A condition variable per swapchain image that is notified when use_count count reaches 0.
Referenced by comp_swapchain_teardown(), and do_post_create_vulkan_setup().
| uint32_t comp_swapchain_image::use_count |
A usage counter, similar to a reference counter.
Referenced by comp_swapchain_teardown(), and do_post_create_vulkan_setup().
| struct os_mutex comp_swapchain_image::use_mutex |
A mutex per swapchain image that is used with use_cond.
Referenced by comp_swapchain_teardown(), and do_post_create_vulkan_setup().
| struct { ... } comp_swapchain_image::views |
Views used by the renderer and distortion code, for each array layer.
Referenced by do_post_create_vulkan_setup(), and image_cleanup().