diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 04:00:18 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-01-04 09:38:11 +0300 |
commit | 54f89e870425b20af14e2be03b777836b88a29af (patch) | |
tree | da5eb59c6b15979c4e62dfdafbcb38b27463d2a7 /source/blender/gpu/intern | |
parent | 9b10b3930bd7784794e87255de390ad6e6876a4b (diff) |
Cleanup: docy comments beginning with '/**' don't end with '**/'
Diffstat (limited to 'source/blender/gpu/intern')
10 files changed, 14 insertions, 13 deletions
diff --git a/source/blender/gpu/intern/gpu_batch_private.hh b/source/blender/gpu/intern/gpu_batch_private.hh index c71670d4f1f..d0fbd1432b3 100644 --- a/source/blender/gpu/intern/gpu_batch_private.hh +++ b/source/blender/gpu/intern/gpu_batch_private.hh @@ -37,8 +37,9 @@ namespace gpu { /** * Base class which is then specialized for each implementation (GL, VK, ...). - * NOTE: Extends GPUBatch as we still needs to expose some of the internals to the outside C code. - **/ + * + * \note Extends #GPUBatch as we still needs to expose some of the internals to the outside C code. + */ class Batch : public GPUBatch { public: Batch(){}; diff --git a/source/blender/gpu/intern/gpu_capabilities_private.hh b/source/blender/gpu/intern/gpu_capabilities_private.hh index abe5b706a7d..3c758c4ac4a 100644 --- a/source/blender/gpu/intern/gpu_capabilities_private.hh +++ b/source/blender/gpu/intern/gpu_capabilities_private.hh @@ -33,7 +33,7 @@ namespace blender::gpu { * Only add workarounds here if they are common to all implementation or * if you need access to it outside of the GPU module. * Same goes for capabilities (i.e.: texture size) - **/ + */ struct GPUCapabilities { int max_texture_size = 0; int max_texture_layers = 0; diff --git a/source/blender/gpu/intern/gpu_drawlist_private.hh b/source/blender/gpu/intern/gpu_drawlist_private.hh index fd223c3f255..98603299d62 100644 --- a/source/blender/gpu/intern/gpu_drawlist_private.hh +++ b/source/blender/gpu/intern/gpu_drawlist_private.hh @@ -33,7 +33,7 @@ namespace gpu { /** * Implementation of Multi Draw Indirect. * Base class which is then specialized for each implementation (GL, VK, ...). - **/ + */ class DrawList { public: virtual ~DrawList(){}; diff --git a/source/blender/gpu/intern/gpu_index_buffer_private.hh b/source/blender/gpu/intern/gpu_index_buffer_private.hh index 9f1334aa4bc..7054360d07f 100644 --- a/source/blender/gpu/intern/gpu_index_buffer_private.hh +++ b/source/blender/gpu/intern/gpu_index_buffer_private.hh @@ -44,9 +44,9 @@ static inline size_t to_bytesize(GPUIndexBufType type) /** * Base class which is then specialized for each implementation (GL, VK, ...). * - * NOTE: IndexBuf does not hold any GPUPrimType. This is because it can be interpreted - * differently by multiple batches. - **/ + * \note #IndexBuf does not hold any #GPUPrimType. + * This is because it can be interpreted differently by multiple batches. + */ class IndexBuf { protected: /** Type of indices used inside this buffer. */ diff --git a/source/blender/gpu/intern/gpu_shader_interface.hh b/source/blender/gpu/intern/gpu_shader_interface.hh index 622f1ebb782..62513ffb8a7 100644 --- a/source/blender/gpu/intern/gpu_shader_interface.hh +++ b/source/blender/gpu/intern/gpu_shader_interface.hh @@ -48,7 +48,7 @@ typedef struct ShaderInput { /** * Implementation of Shader interface. * Base class which is then specialized for each implementation (GL, VK, ...). - **/ + */ class ShaderInterface { /* TODO(fclem): should be protected. */ public: diff --git a/source/blender/gpu/intern/gpu_shader_private.hh b/source/blender/gpu/intern/gpu_shader_private.hh index 3c29fdec36c..85427372559 100644 --- a/source/blender/gpu/intern/gpu_shader_private.hh +++ b/source/blender/gpu/intern/gpu_shader_private.hh @@ -32,7 +32,7 @@ namespace gpu { /** * Implementation of shader compilation and uniforms handling. * Base class which is then specialized for each implementation (GL, VK, ...). - **/ + */ class Shader { public: /** Uniform & attribute locations for shader. */ diff --git a/source/blender/gpu/intern/gpu_state_private.hh b/source/blender/gpu/intern/gpu_state_private.hh index db1747127d4..cda1b591bb1 100644 --- a/source/blender/gpu/intern/gpu_state_private.hh +++ b/source/blender/gpu/intern/gpu_state_private.hh @@ -148,7 +148,7 @@ inline GPUStateMutable operator~(const GPUStateMutable &a) /** * State manager keeping track of the draw state and applying it before drawing. * Base class which is then specialized for each implementation (GL, VK, ...). - **/ + */ class StateManager { public: GPUState state; diff --git a/source/blender/gpu/intern/gpu_texture_private.hh b/source/blender/gpu/intern/gpu_texture_private.hh index 250dee62f96..efa8be2a547 100644 --- a/source/blender/gpu/intern/gpu_texture_private.hh +++ b/source/blender/gpu/intern/gpu_texture_private.hh @@ -71,7 +71,7 @@ ENUM_OPERATORS(eGPUTextureType, GPU_TEXTURE_CUBE_ARRAY) /** * Implementation of Textures. * Base class which is then specialized for each implementation (GL, VK, ...). - **/ + */ class Texture { public: /** Internal Sampler state. */ diff --git a/source/blender/gpu/intern/gpu_uniform_buffer_private.hh b/source/blender/gpu/intern/gpu_uniform_buffer_private.hh index 18ea6d18caf..826bdd9f8d5 100644 --- a/source/blender/gpu/intern/gpu_uniform_buffer_private.hh +++ b/source/blender/gpu/intern/gpu_uniform_buffer_private.hh @@ -38,7 +38,7 @@ namespace gpu { /** * Implementation of Uniform Buffers. * Base class which is then specialized for each implementation (GL, VK, ...). - **/ + */ class UniformBuf { protected: /** Data size in bytes. */ diff --git a/source/blender/gpu/intern/gpu_vertex_buffer_private.hh b/source/blender/gpu/intern/gpu_vertex_buffer_private.hh index f3450d8e0f7..da8b02c5c66 100644 --- a/source/blender/gpu/intern/gpu_vertex_buffer_private.hh +++ b/source/blender/gpu/intern/gpu_vertex_buffer_private.hh @@ -32,7 +32,7 @@ namespace blender::gpu { /** * Implementation of Vertex Buffers. * Base class which is then specialized for each implementation (GL, VK, ...). - **/ + */ class VertBuf { public: static size_t memory_usage; |