[Mesa-dev] [PATCH 04/13] i965: Remove unneeded forward declarations.

Matt Turner mattst88 at gmail.com
Mon Nov 23 13:55:33 PST 2015


---
 src/mesa/drivers/dri/i965/brw_gs.h               | 2 --
 src/mesa/drivers/dri/i965/intel_asm_annotation.h | 3 ---
 src/mesa/drivers/dri/i965/intel_fbo.h            | 1 -
 src/mesa/drivers/dri/i965/intel_tex.h            | 2 --
 4 files changed, 8 deletions(-)

diff --git a/src/mesa/drivers/dri/i965/brw_gs.h b/src/mesa/drivers/dri/i965/brw_gs.h
index 9879f3d..0c49bb6 100644
--- a/src/mesa/drivers/dri/i965/brw_gs.h
+++ b/src/mesa/drivers/dri/i965/brw_gs.h
@@ -33,9 +33,7 @@
 extern "C" {
 #endif
 
-struct gl_context;
 struct gl_shader_program;
-struct gl_program;
 
 void
 brw_upload_gs_prog(struct brw_context *brw);
diff --git a/src/mesa/drivers/dri/i965/intel_asm_annotation.h b/src/mesa/drivers/dri/i965/intel_asm_annotation.h
index 662a4b4..5faf6c6 100644
--- a/src/mesa/drivers/dri/i965/intel_asm_annotation.h
+++ b/src/mesa/drivers/dri/i965/intel_asm_annotation.h
@@ -28,9 +28,6 @@
 extern "C" {
 #endif
 
-struct bblock_t;
-struct brw_context;
-struct gl_program;
 struct backend_instruction;
 struct cfg_t;
 
diff --git a/src/mesa/drivers/dri/i965/intel_fbo.h b/src/mesa/drivers/dri/i965/intel_fbo.h
index 5ba4c8f..89894cd 100644
--- a/src/mesa/drivers/dri/i965/intel_fbo.h
+++ b/src/mesa/drivers/dri/i965/intel_fbo.h
@@ -39,7 +39,6 @@ extern "C" {
 #endif
 
 struct intel_mipmap_tree;
-struct intel_texture_image;
 
 /**
  * Intel renderbuffer, derived from gl_renderbuffer.
diff --git a/src/mesa/drivers/dri/i965/intel_tex.h b/src/mesa/drivers/dri/i965/intel_tex.h
index dc83d08..35d0a64 100644
--- a/src/mesa/drivers/dri/i965/intel_tex.h
+++ b/src/mesa/drivers/dri/i965/intel_tex.h
@@ -30,8 +30,6 @@
 #include "main/formats.h"
 #include "brw_context.h"
 
-struct intel_renderbuffer;
-
 void intelInitTextureFuncs(struct dd_function_table *functions);
 
 void intelInitTextureImageFuncs(struct dd_function_table *functions);
-- 
2.4.9



More information about the mesa-dev mailing list