From 1de5cb6a31dc477356f8061fd648f1154f10e9c4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 7 Apr 2020 22:20:41 +1000 Subject: Cleanup: use doxy sections --- source/blender/gpu/intern/gpu_batch_presets.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source/blender/gpu/intern/gpu_batch_presets.c') diff --git a/source/blender/gpu/intern/gpu_batch_presets.c b/source/blender/gpu/intern/gpu_batch_presets.c index 34bd921992c..d16edab5ac9 100644 --- a/source/blender/gpu/intern/gpu_batch_presets.c +++ b/source/blender/gpu/intern/gpu_batch_presets.c @@ -37,6 +37,10 @@ #include "GPU_batch_utils.h" #include "gpu_shader_private.h" +/* -------------------------------------------------------------------- */ +/** \name Local Structures + * \{ */ + /* Struct to store 3D Batches and their format */ static struct { struct { @@ -75,6 +79,8 @@ static struct { static ListBase presets_list = {NULL, NULL}; +/** \} */ + /* -------------------------------------------------------------------- */ /** \name 3D Primitives * \{ */ @@ -228,6 +234,7 @@ static GPUBatch *batch_sphere_wire(int lat_res, int lon_res) /* -------------------------------------------------------------------- */ /** \name Panel Drag Widget * \{ */ + static void gpu_batch_preset_rectf_tris_color_ex(GPUVertBufRaw *pos_step, float x1, float y1, @@ -328,6 +335,10 @@ GPUBatch *GPU_batch_preset_panel_drag_widget(const float pixelsize, /** \} */ +/* -------------------------------------------------------------------- */ +/** \name Preset Registration Management + * \{ */ + void gpu_batch_presets_init(void) { BLI_mutex_init(&g_presets_3d.mutex); @@ -394,3 +405,5 @@ void gpu_batch_presets_exit(void) BLI_mutex_end(&g_presets_3d.mutex); } + +/** \} */ -- cgit v1.2.3