From 6eadd40597f7c537f6a8002e818454b85a457c1f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sun, 25 Aug 2019 16:27:13 +1000 Subject: Cleanup: redundant struct declarations --- source/blender/gpu/GPU_batch_presets.h | 3 --- source/blender/gpu/GPU_draw.h | 6 ------ source/blender/gpu/GPU_material.h | 3 --- source/blender/gpu/GPU_texture.h | 1 - source/blender/gpu/intern/gpu_codegen.h | 1 - source/blender/gpu/intern/gpu_private.h | 3 --- 6 files changed, 17 deletions(-) (limited to 'source/blender/gpu') 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); -- cgit v1.2.3