comp: Code style

This commit is contained in:
Jakob Bornecrantz 2019-05-02 14:07:41 +01:00
parent 13cef1b8b9
commit 690a354bd1
2 changed files with 5 additions and 4 deletions

View file

@ -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);
/*! /*!

View file

@ -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.