ilo: clean up GPE header inclusions
authorChia-I Wu <olvaffe@gmail.com>
Thu, 8 Aug 2013 05:30:54 +0000 (13:30 +0800)
committerChia-I Wu <olvaffe@gmail.com>
Thu, 8 Aug 2013 05:41:10 +0000 (13:41 +0800)
This reduces the number of source files need to be recompiled when GPE
functions are changed other than regular clean ups.

src/gallium/drivers/ilo/ilo_3d_pipeline.h
src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
src/gallium/drivers/ilo/ilo_gpe_gen6.c
src/gallium/drivers/ilo/ilo_gpe_gen6.h
src/gallium/drivers/ilo/ilo_gpe_gen7.c
src/gallium/drivers/ilo/ilo_gpe_gen7.h

index ae4c7598f399621ba7f6a7d5179963d4a5b61f0f..ba3a4be584f91e40fd8e571eb2cc64f3cf012212 100644 (file)
@@ -29,9 +29,7 @@
 #define ILO_3D_PIPELINE_H
 
 #include "ilo_common.h"
-#include "ilo_context.h"
-#include "ilo_gpe_gen6.h"
-#include "ilo_gpe_gen7.h"
+#include "ilo_gpe.h"
 
 struct intel_bo;
 struct ilo_cp;
index 36441b848e882c6d80b1388b3a56bd0c2bdf848c..421519915cb4bfd42261ac912b409f418e960894 100644 (file)
@@ -33,6 +33,7 @@
 #include "ilo_context.h"
 #include "ilo_cp.h"
 #include "ilo_gpe_gen6.h"
+#include "ilo_gpe_gen7.h"
 #include "ilo_shader.h"
 #include "ilo_state.h"
 #include "ilo_3d_pipeline.h"
index c086ae5887d72ce97bec964d2ab520db21e72562..143e6fe0a19f64a11e4b05a277034721de8c4149 100644 (file)
@@ -31,7 +31,6 @@
 #include "intel_reg.h"
 
 #include "ilo_context.h"
-#include "ilo_cp.h"
 #include "ilo_format.h"
 #include "ilo_resource.h"
 #include "ilo_shader.h"
index 9e5be13accda2133ff1789d3ce568fc8e4900d55..c4d7cacb68af4c1c6738c6f994915ace24ae9452 100644 (file)
 #ifndef ILO_GPE_GEN6_H
 #define ILO_GPE_GEN6_H
 
-#include "util/u_dual_blend.h"
-#include "util/u_half.h"
 #include "brw_defines.h"
 #include "intel_reg.h"
+#include "intel_winsys.h"
 
 #include "ilo_common.h"
 #include "ilo_cp.h"
@@ -116,13 +115,6 @@ enum ilo_gpe_gen6_state {
    ILO_GPE_GEN6_STATE_COUNT,
 };
 
-enum intel_tiling_mode;
-
-struct intel_bo;
-struct ilo_cp;
-struct ilo_texture;
-struct ilo_shader;
-
 /**
  * GEN6 graphics processing engine
  *
index cfabe8b3a2f4db60c097b5b20ec38bd5e745ba55..54846ec5787654cbb998fb6a058e51293970ae66 100644 (file)
@@ -29,7 +29,6 @@
 #include "brw_defines.h"
 #include "intel_reg.h"
 
-#include "ilo_cp.h"
 #include "ilo_format.h"
 #include "ilo_resource.h"
 #include "ilo_shader.h"
index a14c9f49415ddea7dbc2dc0ee6e8e11265f10d24..0f667c18a639336500c298372170676f88a38153 100644 (file)
 #ifndef ILO_GPE_GEN7_H
 #define ILO_GPE_GEN7_H
 
+#include "intel_winsys.h"
+
 #include "ilo_common.h"
+#include "ilo_cp.h"
+#include "ilo_resource.h"
+#include "ilo_shader.h"
 #include "ilo_gpe_gen6.h"
 
 /**