summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2013-07-02 23:15:53 -0700
committerKenneth Graunke <[email protected]>2013-07-09 14:08:50 -0700
commit18a223d3237d67a4d38bbab10dc4ab470180cc92 (patch)
tree0113bec1e43c50d708a34523babb1f78d9d89cce /src
parenta69274454b6bde265a910ca5bd3199217431f5b5 (diff)
i965: Add forward declarations of brw_context to a few places.
These files have forward declarations for intel_context. This makes brw_context available in the same places without further #include monkeying. Signed-off-by: Kenneth Graunke <[email protected]> Acked-by: Chris Forbes <[email protected]> Acked-by: Paul Berry <[email protected]> Acked-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/intel_buffer_objects.h1
-rw-r--r--src/mesa/drivers/dri/i965/intel_regions.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/i965/intel_buffer_objects.h b/src/mesa/drivers/dri/i965/intel_buffer_objects.h
index d91990ca603..3c83c068b76 100644
--- a/src/mesa/drivers/dri/i965/intel_buffer_objects.h
+++ b/src/mesa/drivers/dri/i965/intel_buffer_objects.h
@@ -30,6 +30,7 @@
#include "main/mtypes.h"
+struct brw_context;
struct intel_context;
struct gl_buffer_object;
diff --git a/src/mesa/drivers/dri/i965/intel_regions.h b/src/mesa/drivers/dri/i965/intel_regions.h
index c9f5ecc77e9..62a1c9c54ba 100644
--- a/src/mesa/drivers/dri/i965/intel_regions.h
+++ b/src/mesa/drivers/dri/i965/intel_regions.h
@@ -45,6 +45,7 @@
extern "C" {
#endif
+struct brw_context;
struct intel_context;
struct intel_screen;
struct intel_buffer_object;