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
{

View File

@@ -631,7 +631,7 @@ class AnimDataConvertor {
}
};
/* \} */
/** \} */
/**
* Find vertex groups that have assigned vertices in this drawing.

View File

@@ -156,6 +156,6 @@ std::unique_ptr<IDProperty, IDPropertyDeleter> create_group(const StringRef prop
return std::unique_ptr<IDProperty, IDPropertyDeleter>(property);
}
/* \} */
/** \} */
} // namespace blender::bke::idprop

View File

@@ -788,11 +788,12 @@ static const IDPropertySerializer &serializer_for(StringRef idprop_typename)
return IDP_SERIALIZER_UNKNOWN;
}
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name IDProperty to Value
* \{ */
std::unique_ptr<ArrayValue> convert_to_serialize_values(const IDProperty *properties)
{
BLI_assert(properties != nullptr);
@@ -810,7 +811,7 @@ std::unique_ptr<ArrayValue> convert_to_serialize_values(const IDProperty *proper
return result;
}
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name IDProperty from Value
@@ -866,6 +867,6 @@ IDProperty *convert_from_serialize_value(const Value &value)
return idprop_from_value(*value.as_array_value());
}
/* \} */
/** \} */
} // namespace blender::bke::idprop

View File

@@ -673,7 +673,7 @@ static void test_texture_roundtrip__GPU_DATA_FLOAT__GPU_DEPTH_COMPONENT16()
GPU_TEST(texture_roundtrip__GPU_DATA_FLOAT__GPU_DEPTH_COMPONENT16);
#endif
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Round-trip testing GPU_DATA_HALF_FLOAT
@@ -705,7 +705,7 @@ static void test_texture_roundtrip__GPU_DATA_HALF_FLOAT__GPU_RGB16F()
GPU_TEST(texture_roundtrip__GPU_DATA_HALF_FLOAT__GPU_RGB16F);
#endif
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Round-trip testing GPU_DATA_INT
@@ -787,7 +787,7 @@ static void test_texture_roundtrip__GPU_DATA_INT__GPU_RGB32I()
GPU_TEST(texture_roundtrip__GPU_DATA_INT__GPU_RGB32I);
#endif
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Round-trip testing GPU_DATA_UINT
@@ -887,7 +887,7 @@ static void test_texture_roundtrip__GPU_DATA_UINT__GPU_DEPTH_COMPONENT16()
GPU_TEST(texture_roundtrip__GPU_DATA_UINT__GPU_DEPTH_COMPONENT16);
#endif
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Round-trip testing GPU_DATA_UBYTE
@@ -954,7 +954,8 @@ static void test_texture_roundtrip__GPU_DATA_UBYTE__GPU_SRGB8()
}
GPU_TEST(texture_roundtrip__GPU_DATA_UBYTE__GPU_SRGB8);
#endif
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Round-trip testing GPU_DATA_UINT_24_8_DEPRECATED
@@ -970,7 +971,7 @@ static void test_texture_roundtrip__GPU_DATA_UINT_24_8__GPU_DEPTH32F_STENCIL8()
GPU_TEST(texture_roundtrip__GPU_DATA_UINT_24_8__GPU_DEPTH32F_STENCIL8);
#endif
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Round-trip testing GPU_DATA_10_11_11_REV
@@ -982,7 +983,7 @@ static void test_texture_roundtrip__GPU_DATA_10_11_11_REV__GPU_R11F_G11F_B10F()
}
GPU_TEST(texture_roundtrip__GPU_DATA_10_11_11_REV__GPU_R11F_G11F_B10F);
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Round-trip testing GPU_DATA_2_10_10_10_REV
@@ -1003,7 +1004,7 @@ static void test_texture_roundtrip__GPU_DATA_2_10_10_10_REV__GPU_RGB10_A2UI()
}
GPU_TEST(texture_roundtrip__GPU_DATA_2_10_10_10_REV__GPU_RGB10_A2UI);
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Unpack row length
@@ -1184,6 +1185,6 @@ static void test_texture_pool()
}
GPU_TEST(texture_pool);
/* \} */
/** \} */
} // namespace blender::gpu::tests

View File

@@ -679,7 +679,7 @@ static ConversionType reversed(ConversionType type)
return ConversionType::UNSUPPORTED;
}
/* \} */
/** \} */
/* -------------------------------------------------------------------- */
/** \name Data Conversion
@@ -945,7 +945,7 @@ static void convert(B10F_G11G_R11F &dst, const FLOAT3 &src)
dst.value = r << SHIFT_R | g << SHIFT_G | b << SHIFT_B;
}
/* \} */
/** \} */
static void convert(UI32 &dst, const Depth32fStencil8 &src)
{
@@ -1173,6 +1173,6 @@ void convert_device_to_host(void *dst_buffer,
convert_buffer(dst_buffer, src_buffer, buffer_size, device_format, conversion_type);
}
/* \} */
/** \} */
} // namespace blender::gpu

View File

@@ -224,6 +224,6 @@ uint32_t convert_float_formats(uint32_t value)
return result;
}
/* \} */
/** \} */
}; // namespace blender::gpu

View File

@@ -809,6 +809,6 @@ void VKPipelinePool::write_to_disk()
#endif
}
/* \} */
/** \} */
} // namespace blender::gpu

View File

@@ -474,7 +474,7 @@ static void rna_PaintModeSettings_canvas_source_update(bContext *C, PointerRNA *
}
}
/* \} */
/** \} */
static bool rna_ImaPaint_detect_data(ImagePaintSettings *imapaint)
{