diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-04-07 15:20:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-04-07 16:23:17 +0300 |
commit | 1de5cb6a31dc477356f8061fd648f1154f10e9c4 (patch) | |
tree | e1d1bd7f384a9efdbe7069cfd89701156825de84 /source/blender/gpu | |
parent | 3a65397473e7a60b606489ea154687a16f656b6b (diff) |
Cleanup: use doxy sections
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/intern/gpu_batch_presets.c | 13 |
1 files changed, 13 insertions, 0 deletions
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); } + +/** \} */ |