#include "dri_util.h"
#include "drm.h"
-#include "intel_context.h"
+#include "brw_context.h"
-struct intel_context;
struct intel_framebuffer;
-extern struct intel_region *intel_readbuf_region(struct intel_context *intel);
-
-extern void intel_check_front_buffer_rendering(struct intel_context *intel);
-
-static inline void
-intel_draw_buffer(struct gl_context * ctx)
-{
- struct intel_context *intel = intel_context(ctx);
-
- intel->vtbl.update_draw_buffer(intel);
-}
+extern void intel_check_front_buffer_rendering(struct brw_context *brw);
extern void intelInitBufferFuncs(struct dd_function_table *functions);
-#ifdef I915
-void intelCalcViewport(struct gl_context * ctx);
-#endif
#endif /* INTEL_BUFFERS_H */