summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2013-08-08 13:30:54 +0800
committerChia-I Wu <[email protected]>2013-08-08 13:41:10 +0800
commit19204081ce7edce1d9847d3826f355fde65d4783 (patch)
tree81292f698f6acc436a40498e8b7db9e260698668 /src
parente292b9362a95569331131a0601a29e8b62ae9d6e (diff)
ilo: clean up GPE header inclusions
This reduces the number of source files need to be recompiled when GPE functions are changed other than regular clean ups.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline.h4
-rw-r--r--src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c1
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen6.c1
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen6.h10
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen7.c1
-rw-r--r--src/gallium/drivers/ilo/ilo_gpe_gen7.h5
6 files changed, 8 insertions, 14 deletions
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline.h b/src/gallium/drivers/ilo/ilo_3d_pipeline.h
index ae4c7598f39..ba3a4be584f 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline.h
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline.h
@@ -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;
diff --git a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
index 36441b848e8..421519915cb 100644
--- a/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
+++ b/src/gallium/drivers/ilo/ilo_3d_pipeline_gen6.c
@@ -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"
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen6.c b/src/gallium/drivers/ilo/ilo_gpe_gen6.c
index c086ae5887d..143e6fe0a19 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen6.c
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen6.c
@@ -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"
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen6.h b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
index 9e5be13accd..c4d7cacb68a 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen6.h
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen6.h
@@ -28,10 +28,9 @@
#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
*
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen7.c b/src/gallium/drivers/ilo/ilo_gpe_gen7.c
index cfabe8b3a2f..54846ec5787 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen7.c
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen7.c
@@ -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"
diff --git a/src/gallium/drivers/ilo/ilo_gpe_gen7.h b/src/gallium/drivers/ilo/ilo_gpe_gen7.h
index a14c9f49415..0f667c18a63 100644
--- a/src/gallium/drivers/ilo/ilo_gpe_gen7.h
+++ b/src/gallium/drivers/ilo/ilo_gpe_gen7.h
@@ -28,7 +28,12 @@
#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"
/**