i965: Add forward declarations of brw_context to a few places.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 3 Jul 2013 06:15:53 +0000 (23:15 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Jul 2013 21:08:50 +0000 (14:08 -0700)
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 <kenneth@whitecape.org>
Acked-by: Chris Forbes <chrisf@ijw.co.nz>
Acked-by: Paul Berry <stereotype441@gmail.com>
Acked-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i965/intel_buffer_objects.h
src/mesa/drivers/dri/i965/intel_regions.h

index d91990ca60328d3ce94e4e2bce8ecdc24286c8f6..3c83c068b7662de3e0cc5511e1b11a431bcb660b 100644 (file)
@@ -30,6 +30,7 @@
 
 #include "main/mtypes.h"
 
+struct brw_context;
 struct intel_context;
 struct gl_buffer_object;
 
index c9f5ecc77e9245c7561c17b88fd329ccf1d0656a..62a1c9c54ba6ae23435dda8f6181e1091b92f020 100644 (file)
@@ -45,6 +45,7 @@
 extern "C" {
 #endif
 
+struct brw_context;
 struct intel_context;
 struct intel_screen;
 struct intel_buffer_object;