Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-12-14 07:49:31 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-12-14 08:17:10 +0300
commitc097c7b855d4b01950494dc369e9def59486b0fd (patch)
treed6a9c5a7108e97b0c38f5ba6cb4ded2a2e45ba2e /source/blender/gpu
parentc1f5d8d023c6fdef67efbc6ce2af49e384c9bd98 (diff)
Cleanup: correct unbalanced doxygen groups
Also add groups in some files.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/intern/gpu_buffers.c4
-rw-r--r--source/blender/gpu/intern/gpu_matrix.cc1
-rw-r--r--source/blender/gpu/opengl/gl_batch.cc1
-rw-r--r--source/blender/gpu/opengl/gl_drawlist.cc2
4 files changed, 6 insertions, 2 deletions
diff --git a/source/blender/gpu/intern/gpu_buffers.c b/source/blender/gpu/intern/gpu_buffers.c
index fdc3eed87d9..bd24616820a 100644
--- a/source/blender/gpu/intern/gpu_buffers.c
+++ b/source/blender/gpu/intern/gpu_buffers.c
@@ -57,6 +57,10 @@
/* XXX: the rest of the code in this file is used for optimized PBVH
* drawing and doesn't interact at all with the buffer code above */
+/* -------------------------------------------------------------------- */
+/** \name Private Types
+ * \{ */
+
struct GPU_PBVH_Buffers {
GPUIndexBuf *index_buf, *index_buf_fast;
GPUIndexBuf *index_lines_buf, *index_lines_buf_fast;
diff --git a/source/blender/gpu/intern/gpu_matrix.cc b/source/blender/gpu/intern/gpu_matrix.cc
index 8004455fbdc..cf3f7f5e778 100644
--- a/source/blender/gpu/intern/gpu_matrix.cc
+++ b/source/blender/gpu/intern/gpu_matrix.cc
@@ -677,6 +677,7 @@ bool GPU_matrix_dirty_get()
/* -------------------------------------------------------------------- */
/** \name Python API Helpers
* \{ */
+
BLI_STATIC_ASSERT(GPU_PY_MATRIX_STACK_LEN + 1 == MATRIX_STACK_DEPTH, "define mismatch");
/* Return int since caller is may subtract. */
diff --git a/source/blender/gpu/opengl/gl_batch.cc b/source/blender/gpu/opengl/gl_batch.cc
index 90400f85d48..83cb0ddd053 100644
--- a/source/blender/gpu/opengl/gl_batch.cc
+++ b/source/blender/gpu/opengl/gl_batch.cc
@@ -272,6 +272,7 @@ GLuint GLVaoCache::vao_get(GPUBatch *batch)
return vao_id_;
}
+
/** \} */
/* -------------------------------------------------------------------- */
diff --git a/source/blender/gpu/opengl/gl_drawlist.cc b/source/blender/gpu/opengl/gl_drawlist.cc
index 50ab5574cd2..8b000784fc8 100644
--- a/source/blender/gpu/opengl/gl_drawlist.cc
+++ b/source/blender/gpu/opengl/gl_drawlist.cc
@@ -236,5 +236,3 @@ void GLDrawList::submit()
/* Avoid keeping reference to the batch. */
batch_ = nullptr;
}
-
-/** \} */