Cleanup: use doxygen comments to end groups

This commit is contained in:
Campbell Barton
2025-09-12 10:19:56 +10:00
parent 1dd536e24f
commit 975f42b7b2
11 changed files with 34 additions and 30 deletions

View File

@@ -136,7 +136,7 @@ void GHOST_Frame::destroy(VkDevice vk_device)
discard_pile.destroy(vk_device);
}
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Extension list
@@ -207,7 +207,7 @@ struct GHOST_ExtensionsVK {
}
};
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Vulkan Device
@@ -318,6 +318,8 @@ class GHOST_DeviceVK {
}
};
/** \} */
/* -------------------------------------------------------------------- */
/** \name Vulkan Instance
* \{ */
@@ -616,7 +618,7 @@ struct GHOST_InstanceVK {
}
};
/* \} */
/** \} */
/**
* A shared device between multiple contexts.

View File

@@ -200,7 +200,7 @@ bool GHOST_XrGraphicsBindingD3D::needsUpsideDownDrawing(GHOST_Context &) const
return ghost_d3d_ctx_->isUpsideDown();
}
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name OpenGL-Direct3D bridge
@@ -260,7 +260,7 @@ void GHOST_XrGraphicsBindingOpenGLD3D::submitToSwapchainImage(
#endif
}
/* \} */
/** \} */
#ifdef WITH_VULKAN_BACKEND
@@ -331,6 +331,6 @@ void GHOST_XrGraphicsBindingVulkanD3D::submitToSwapchainImage(
ghost_ctx_.openxr_release_framebuffer_image_callback_(&openxr_data);
}
/* \} */
/** \} */
#endif

View File

@@ -37,7 +37,7 @@ GHOST_XrGraphicsBindingVulkan::GHOST_XrGraphicsBindingVulkan(GHOST_Context &ghos
{
}
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Destroying resources.
@@ -97,7 +97,7 @@ GHOST_XrGraphicsBindingVulkan::~GHOST_XrGraphicsBindingVulkan()
s_xrCreateVulkanDeviceKHR_fn = nullptr;
}
/* \} */
/** \} */
bool GHOST_XrGraphicsBindingVulkan::checkVersionRequirements(GHOST_Context &ghost_ctx,
XrInstance instance,
@@ -557,7 +557,7 @@ void GHOST_XrGraphicsBindingVulkan::submitToSwapchainImageCpu(
ghost_ctx_.openxr_release_framebuffer_image_callback_(&openxr_data);
}
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Data transfer GPU
@@ -772,7 +772,7 @@ void GHOST_XrGraphicsBindingVulkan::submitToSwapchainImageGpu(
vkResetCommandBuffer(vk_command_buffer, 0);
}
/* \} */
/** \} */
bool GHOST_XrGraphicsBindingVulkan::needsUpsideDownDrawing(GHOST_Context &ghost_ctx) const
{