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:
authorClément Foucault <foucault.clem@gmail.com>2020-09-05 21:15:56 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-09-06 23:13:06 +0300
commit84d67bd0a937e842618ee7843958f3147ba6af58 (patch)
treef5f26528e2fc44e5aca53e7ae8187a31a3f91f09 /source/blender
parent32d0918f3d0f020153f09981b3c6aa39ca5adbd0 (diff)
Cleanup: GPU: Rename GPU_element to GPU_index_buffer
Makes it follow the functions names.
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/gpu/CMakeLists.txt4
-rw-r--r--source/blender/gpu/GPU_batch.h2
-rw-r--r--source/blender/gpu/GPU_index_buffer.h (renamed from source/blender/gpu/GPU_element.h)2
-rw-r--r--source/blender/gpu/intern/gpu_index_buffer.cc (renamed from source/blender/gpu/intern/gpu_element.cc)2
-rw-r--r--source/blender/python/gpu/gpu_py_element.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/gpu/CMakeLists.txt b/source/blender/gpu/CMakeLists.txt
index 5e126d097b4..c8a827a993d 100644
--- a/source/blender/gpu/CMakeLists.txt
+++ b/source/blender/gpu/CMakeLists.txt
@@ -63,11 +63,11 @@ set(SRC
intern/gpu_context.cc
intern/gpu_debug.cc
intern/gpu_drawlist.cc
- intern/gpu_element.cc
intern/gpu_extensions.cc
intern/gpu_framebuffer.cc
intern/gpu_immediate.cc
intern/gpu_immediate_util.c
+ intern/gpu_index_buffer.cc
intern/gpu_init_exit.c
intern/gpu_material.c
intern/gpu_material_library.c
@@ -108,12 +108,12 @@ set(SRC
GPU_context.h
GPU_debug.h
GPU_drawlist.h
- GPU_element.h
GPU_extensions.h
GPU_framebuffer.h
GPU_glew.h
GPU_immediate.h
GPU_immediate_util.h
+ GPU_index_buffer.h
GPU_init_exit.h
GPU_legacy_stubs.h
GPU_material.h
diff --git a/source/blender/gpu/GPU_batch.h b/source/blender/gpu/GPU_batch.h
index f26f706d058..23a004c3ef6 100644
--- a/source/blender/gpu/GPU_batch.h
+++ b/source/blender/gpu/GPU_batch.h
@@ -28,7 +28,7 @@
#include "BLI_utildefines.h"
-#include "GPU_element.h"
+#include "GPU_index_buffer.h"
#include "GPU_shader.h"
#include "GPU_vertex_buffer.h"
diff --git a/source/blender/gpu/GPU_element.h b/source/blender/gpu/GPU_index_buffer.h
index 8872080003c..b966eabefae 100644
--- a/source/blender/gpu/GPU_element.h
+++ b/source/blender/gpu/GPU_index_buffer.h
@@ -20,7 +20,7 @@
/** \file
* \ingroup gpu
*
- * GPU element list (AKA index buffer)
+ * GPU index buffer
*/
#pragma once
diff --git a/source/blender/gpu/intern/gpu_element.cc b/source/blender/gpu/intern/gpu_index_buffer.cc
index 29c95c725fd..832c5dc76b2 100644
--- a/source/blender/gpu/intern/gpu_element.cc
+++ b/source/blender/gpu/intern/gpu_index_buffer.cc
@@ -25,8 +25,8 @@
#include "MEM_guardedalloc.h"
-#include "GPU_element.h"
#include "GPU_glew.h"
+#include "GPU_index_buffer.h"
#include "gpu_context_private.hh"
diff --git a/source/blender/python/gpu/gpu_py_element.c b/source/blender/python/gpu/gpu_py_element.c
index b9d87f57e9d..c863c9a586f 100644
--- a/source/blender/python/gpu/gpu_py_element.c
+++ b/source/blender/python/gpu/gpu_py_element.c
@@ -23,7 +23,7 @@
#include <Python.h>
-#include "GPU_element.h"
+#include "GPU_index_buffer.h"
#include "BLI_math.h"