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>2019-01-28 14:08:29 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-01-28 14:12:49 +0300
commitf8ce24f79624b5bae8e6894d3ed4e619cef1cbb7 (patch)
tree7adcb17276d427daa0f6283a6483e7eb6ef91215 /source/blender/gpu
parentd918217d35b687f174711d9ae35b8270909f1e28 (diff)
Cleanup: sort forward declarations of enum & struct
Done using: source/tools/utils_maintenance/c_sort_blocks.py
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/GPU_buffers.h6
-rw-r--r--source/blender/gpu/GPU_compositing.h8
-rw-r--r--source/blender/gpu/GPU_draw.h6
-rw-r--r--source/blender/gpu/GPU_material.h22
-rw-r--r--source/blender/gpu/intern/gpu_codegen.h6
5 files changed, 24 insertions, 24 deletions
diff --git a/source/blender/gpu/GPU_buffers.h b/source/blender/gpu/GPU_buffers.h
index 8fd34348f03..572b3b2c085 100644
--- a/source/blender/gpu/GPU_buffers.h
+++ b/source/blender/gpu/GPU_buffers.h
@@ -46,12 +46,12 @@ struct CCGElem;
struct CCGKey;
struct DMFlagMat;
struct DerivedMesh;
-struct GSet;
-struct GPUVertPointLink;
struct GPUDrawObject;
+struct GPUVertPointLink;
+struct GSet;
struct GridCommonGPUBuffer;
-struct PBVH;
struct MVert;
+struct PBVH;
typedef struct GPUBuffer {
size_t size; /* in bytes */
diff --git a/source/blender/gpu/GPU_compositing.h b/source/blender/gpu/GPU_compositing.h
index d506d91a9aa..a579dab5159 100644
--- a/source/blender/gpu/GPU_compositing.h
+++ b/source/blender/gpu/GPU_compositing.h
@@ -39,12 +39,12 @@ extern "C" {
/* opaque handle for framebuffer compositing effects (defined in gpu_compositing.c )*/
typedef struct GPUFX GPUFX;
struct GPUDOFSettings;
-struct GPUSSAOSettings;
-struct GPUOffScreen;
struct GPUFXSettings;
-struct rcti;
-struct Scene;
+struct GPUOffScreen;
+struct GPUSSAOSettings;
struct GPUShader;
+struct Scene;
+struct rcti;
enum eGPUFXFlags;
/**** Public API *****/
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h
index de53b1e8739..8c0fa6096f7 100644
--- a/source/blender/gpu/GPU_draw.h
+++ b/source/blender/gpu/GPU_draw.h
@@ -36,16 +36,16 @@
extern "C" {
#endif
+struct DupliObject;
struct ImBuf;
struct Image;
struct ImageUser;
struct MTexPoly;
struct Object;
-struct Scene;
-struct View3D;
struct RegionView3D;
+struct Scene;
struct SmokeModifierData;
-struct DupliObject;
+struct View3D;
/* OpenGL drawing functions related to shading. These are also
* shared with the game engine, where there were previously
diff --git a/source/blender/gpu/GPU_material.h b/source/blender/gpu/GPU_material.h
index e0e92976b09..fad48f9d5e4 100644
--- a/source/blender/gpu/GPU_material.h
+++ b/source/blender/gpu/GPU_material.h
@@ -41,28 +41,28 @@
extern "C" {
#endif
+struct GPULamp;
+struct GPUMaterial;
+struct GPUNode;
+struct GPUNodeLink;
+struct GPUNodeStack;
+struct GPUTexture;
+struct GPUVertexAttribs;
+struct Image;
struct Image;
struct ImageUser;
struct Main;
struct Material;
struct Object;
-struct Image;
+struct PreviewImage;
struct Scene;
struct SceneRenderLayer;
-struct GPUVertexAttribs;
-struct GPUNode;
-struct GPUNodeLink;
-struct GPUNodeStack;
-struct GPUMaterial;
-struct GPUTexture;
-struct GPULamp;
-struct PreviewImage;
struct World;
+typedef struct GPULamp GPULamp;
+typedef struct GPUMaterial GPUMaterial;
typedef struct GPUNode GPUNode;
typedef struct GPUNodeLink GPUNodeLink;
-typedef struct GPUMaterial GPUMaterial;
-typedef struct GPULamp GPULamp;
typedef struct GPUParticleInfo GPUParticleInfo;
/* Functions to create GPU Materials nodes */
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h
index 2f3b25c90f7..375d3b9a9d8 100644
--- a/source/blender/gpu/intern/gpu_codegen.h
+++ b/source/blender/gpu/intern/gpu_codegen.h
@@ -38,11 +38,11 @@
#include "GPU_material.h"
#include "GPU_glew.h"
-struct ListBase;
-struct GPUShader;
-struct GPUOutput;
struct GPUNode;
+struct GPUOutput;
+struct GPUShader;
struct GPUVertexAttribs;
+struct ListBase;
struct PreviewImage;
/* Pass Generation