From: Kenneth Graunke Date: Wed, 3 Jul 2013 06:15:53 +0000 (-0700) Subject: i965: Add forward declarations of brw_context to a few places. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=18a223d3237d67a4d38bbab10dc4ab470180cc92;p=mesa.git 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 Acked-by: Chris Forbes Acked-by: Paul Berry Acked-by: Anuj Phogat --- 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;