mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
comp: Code style
This commit is contained in:
parent
13cef1b8b9
commit
690a354bd1
|
@ -40,7 +40,8 @@ struct comp_swapchain_image
|
||||||
VkDeviceMemory memory;
|
VkDeviceMemory memory;
|
||||||
//! Sampler used by the renderer and distortion code.
|
//! Sampler used by the renderer and distortion code.
|
||||||
VkSampler sampler;
|
VkSampler sampler;
|
||||||
//! Views used by the renderer and distortion code, for each array layer.
|
//! Views used by the renderer and distortion code, for each array
|
||||||
|
//! layer.
|
||||||
VkImageView *views;
|
VkImageView *views;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -159,7 +160,7 @@ comp_swapchain_create(struct xrt_compositor *xc,
|
||||||
*/
|
*/
|
||||||
void
|
void
|
||||||
comp_swapchain_image_cleanup(struct vk_bundle *vk,
|
comp_swapchain_image_cleanup(struct vk_bundle *vk,
|
||||||
uint32_t array_size,
|
uint32_t array_size,
|
||||||
struct comp_swapchain_image *image);
|
struct comp_swapchain_image *image);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
|
@ -37,9 +37,9 @@ comp_renderer_create(struct comp_compositor *c);
|
||||||
void
|
void
|
||||||
comp_renderer_frame(struct comp_renderer *r,
|
comp_renderer_frame(struct comp_renderer *r,
|
||||||
struct comp_swapchain_image *left,
|
struct comp_swapchain_image *left,
|
||||||
uint32_t left_layer,
|
uint32_t left_layer,
|
||||||
struct comp_swapchain_image *right,
|
struct comp_swapchain_image *right,
|
||||||
uint32_t right_layer);
|
uint32_t right_layer);
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* Clean up and free the renderer.
|
* Clean up and free the renderer.
|
||||||
|
|
Loading…
Reference in a new issue