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-Tag: mesa-9.2.1~388 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F90%2F7390%2F1;p=platform%2Fupstream%2Fmesa.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 d91990c..3c83c06 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 c9f5ecc..62a1c9c 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;