xrt: Allow compositor to request extra usage bits

Some compositors might need extra usage bits set beyond just the constant
sampled bit, make it all generic and extend the xrt interface to allow it.
This commit is contained in:
Jakob Bornecrantz 2023-04-07 19:10:17 +01:00
parent b193c3bdd2
commit 94c9c8a253

View file

@ -755,6 +755,9 @@ struct xrt_swapchain_create_properties
{
//! How many images the compositor want in the swapchain.
uint32_t image_count;
//! New creation bits.
enum xrt_swapchain_usage_bits extra_bits;
};
/*!