mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
comp: Remove no-longer-needed comp_layer_quad struct.
Replaced by xrt_comp_layer_quad. Also add some comments.
This commit is contained in:
parent
7446dc08d5
commit
26ab046fba
|
@ -78,24 +78,6 @@ struct comp_swapchain
|
|||
struct u_index_fifo fifo;
|
||||
};
|
||||
|
||||
/*!
|
||||
* A quad layer.
|
||||
*
|
||||
* @ingroup comp_main
|
||||
* @see comp_layer
|
||||
*/
|
||||
struct comp_layer_quad
|
||||
{
|
||||
enum xrt_layer_eye_visibility visibility;
|
||||
|
||||
uint32_t image_index;
|
||||
uint32_t array_index;
|
||||
|
||||
struct xrt_rect rect;
|
||||
struct xrt_pose pose;
|
||||
struct xrt_vec2 size;
|
||||
};
|
||||
|
||||
/*!
|
||||
* A single layer.
|
||||
*
|
||||
|
@ -104,8 +86,16 @@ struct comp_layer_quad
|
|||
*/
|
||||
struct comp_layer
|
||||
{
|
||||
/*!
|
||||
* Up to two compositor swapchains referenced per layer.
|
||||
*
|
||||
* Unused elements should be set to null.
|
||||
*/
|
||||
struct comp_swapchain *scs[2];
|
||||
|
||||
/*!
|
||||
* All basic (trivially-serializable) data associated with a layer.
|
||||
*/
|
||||
struct xrt_layer_data data;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue