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-08-25 09:27:13 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-08-25 09:45:47 +0300
commit6eadd40597f7c537f6a8002e818454b85a457c1f (patch)
treeded30bee9418329c26ec4d8a33a7088004d468b7 /source/blender/gpu
parentf1ddc6ed0abd1821e96bb8183d4ea1ff57589ec6 (diff)
Cleanup: redundant struct declarations
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/GPU_batch_presets.h3
-rw-r--r--source/blender/gpu/GPU_draw.h6
-rw-r--r--source/blender/gpu/GPU_material.h3
-rw-r--r--source/blender/gpu/GPU_texture.h1
-rw-r--r--source/blender/gpu/intern/gpu_codegen.h1
-rw-r--r--source/blender/gpu/intern/gpu_private.h3
6 files changed, 0 insertions, 17 deletions
diff --git a/source/blender/gpu/GPU_batch_presets.h b/source/blender/gpu/GPU_batch_presets.h
index 4b95783e6fa..55d2e461b30 100644
--- a/source/blender/gpu/GPU_batch_presets.h
+++ b/source/blender/gpu/GPU_batch_presets.h
@@ -27,9 +27,6 @@
#ifndef __GPU_BATCH_PRESETS_H__
#define __GPU_BATCH_PRESETS_H__
-struct GPUVertFormat;
-struct rctf;
-
#include "BLI_compiler_attrs.h"
#include "BLI_sys_types.h"
diff --git a/source/blender/gpu/GPU_draw.h b/source/blender/gpu/GPU_draw.h
index 507baa9531e..7814c723fec 100644
--- a/source/blender/gpu/GPU_draw.h
+++ b/source/blender/gpu/GPU_draw.h
@@ -28,17 +28,11 @@
extern "C" {
#endif
-struct DupliObject;
struct ImBuf;
struct Image;
struct ImageUser;
struct Main;
-struct Object;
-struct RegionView3D;
-struct Scene;
struct SmokeModifierData;
-struct View3D;
-struct ViewLayer;
#include "DNA_object_enums.h"
diff --git a/source/blender/gpu/GPU_material.h b/source/blender/gpu/GPU_material.h
index 2e0dc750e46..4dc0019978a 100644
--- a/source/blender/gpu/GPU_material.h
+++ b/source/blender/gpu/GPU_material.h
@@ -45,10 +45,7 @@ struct ImageUser;
struct ListBase;
struct Main;
struct Material;
-struct Object;
-struct PreviewImage;
struct Scene;
-struct World;
struct bNode;
struct bNodeTree;
diff --git a/source/blender/gpu/GPU_texture.h b/source/blender/gpu/GPU_texture.h
index 2b61d99e852..a8e8ca72023 100644
--- a/source/blender/gpu/GPU_texture.h
+++ b/source/blender/gpu/GPU_texture.h
@@ -36,7 +36,6 @@ struct ImageUser;
struct MovieClip;
struct MovieClipUser;
struct PreviewImage;
-struct rcti;
struct GPUFrameBuffer;
typedef struct GPUTexture GPUTexture;
diff --git a/source/blender/gpu/intern/gpu_codegen.h b/source/blender/gpu/intern/gpu_codegen.h
index ae34e21b9cd..6eb6bc2f05f 100644
--- a/source/blender/gpu/intern/gpu_codegen.h
+++ b/source/blender/gpu/intern/gpu_codegen.h
@@ -34,7 +34,6 @@ struct GPUOutput;
struct GPUShader;
struct GPUVertAttrLayers;
struct ListBase;
-struct PreviewImage;
/* Pass Generation
* - Takes a list of nodes and a desired output, and makes a pass. This
diff --git a/source/blender/gpu/intern/gpu_private.h b/source/blender/gpu/intern/gpu_private.h
index 4b90f8daa8c..43b2da13e28 100644
--- a/source/blender/gpu/intern/gpu_private.h
+++ b/source/blender/gpu/intern/gpu_private.h
@@ -21,9 +21,6 @@
#ifndef __GPU_PRIVATE_H__
#define __GPU_PRIVATE_H__
-struct GPUContext;
-struct GPUFrameBuffer;
-
/* call this before running any of the functions below */
void gpu_extensions_init(void);
void gpu_extensions_exit(void);