Monado OpenXR Runtime
Loading...
Searching...
No Matches
comp_swapchain_shared Struct Reference

Shared resource(s) and garbage collector for swapchains. More...

#include <util/comp_swapchain.h>

Collaboration diagram for comp_swapchain_shared:

Data Fields

struct u_threading_stack destroy_swapchains
 Thread object for safely destroying swapchain.
 
struct vk_cmd_pool pool
 

Detailed Description

Shared resource(s) and garbage collector for swapchains.

The garbage collector allows to delay the destruction until it's safe to destroy them. The lifetime of pool is handled by the compositor that implements this struct.

Field Documentation

◆ destroy_swapchains

struct u_threading_stack comp_swapchain_shared::destroy_swapchains

Thread object for safely destroying swapchain.

Referenced by comp_base::comp_base_init(), and comp_swapchain_shared_garbage_collect().


The documentation for this struct was generated from the following file: