···55 * @brief Independent swapchain implementation.
66 * @author Jakob Bornecrantz <jakob@collabora.com>
77 * @author Lubosz Sarnecki <lubosz.sarnecki@collabora.com>
88- * @ingroup comp_main
88+ * @ingroup comp_util
99 */
10101111#pragma once
···23232424/*!
2525 * A garbage collector that collects swapchains to be safely destroyed.
2626+ *
2727+ * @ingroup comp_util
2628 */
2729struct comp_swapchain_gc
2830{
···3335/*!
3436 * A single swapchain image, holds the needed state for tracking image usage.
3537 *
3636- * @ingroup comp_main
3838+ * @ingroup comp_util
3739 * @see comp_swapchain
3840 */
3941struct comp_swapchain_image
···6062 * sure that compositor lives for as long as the swapchain does and that all
6163 * swapchains are destroyed before the compositor is destroyed.
6264 *
6363- * @ingroup comp_main
6565+ * @ingroup comp_util
6466 * @implements xrt_swapchain_native
6567 * @see comp_compositor
6668 */
···9193/*!
9294 * Convenience function to convert a xrt_swapchain to a comp_swapchain.
9395 *
9696+ * @ingroup comp_util
9497 * @private @memberof comp_swapchain
9598 */
9699static inline struct comp_swapchain *
···110113 * Do garbage collection, destroying any resources that has been scheduled for
111114 * destruction from other threads.
112115 *
113113- * @public @memberof comp_compositor
116116+ * @ingroup comp_util
114117 */
115118void
116119comp_swapchain_garbage_collect(struct comp_swapchain_gc *cscgc);
···118121/*!
119122 * A compositor function that is implemented in the swapchain code.
120123 *
121121- * @public @memberof comp_compositor
124124+ * @ingroup comp_util
122125 */
123126xrt_result_t
124127comp_swapchain_create(struct vk_bundle *vk,
···129132/*!
130133 * A compositor function that is implemented in the swapchain code.
131134 *
132132- * @public @memberof comp_compositor
135135+ * @ingroup comp_util
133136 */
134137xrt_result_t
135138comp_swapchain_import(struct vk_bundle *vk,
···144147 * does the actual destruction and is called from @ref
145148 * comp_swapchain_garbage_collect.
146149 *
147147- * @private @memberof comp_swapchain
150150+ * @ingroup comp_util
148151 */
149152void
150153comp_swapchain_really_destroy(struct comp_swapchain *sc);
···44 * @file
55 * @brief Independent @ref xrt_compositor_fence implementation.
66 * @author Jakob Bornecrantz <jakob@collabora.com>
77- * @ingroup comp_main
77+ * @ingroup comp_util
88 */
991010#pragma once
···2525 * The vk_bundle is owned by the compositor, its the state trackers job to make
2626 * sure that compositor lives for as long as the fence does and that all fences
2727 * are destroyed before the compositor is destroyed.
2828+ *
2929+ * @ingroup comp_util
2830 */
2931xrt_result_t
3032comp_fence_import(struct vk_bundle *vk, xrt_graphics_sync_handle_t handle, struct xrt_compositor_fence **out_xcf);