mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
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:
parent
b193c3bdd2
commit
94c9c8a253
|
@ -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;
|
||||
};
|
||||
|
||||
/*!
|
||||
|
|
Loading…
Reference in a new issue