diff options
author | Kenneth Graunke <[email protected]> | 2013-07-06 00:46:38 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-09 14:09:35 -0700 |
commit | 8c9a54e7bcfc80295ad77097910d35958dfd3644 (patch) | |
tree | 756737ac6b3f31d4a5003f12539dbcff5a910de0 /src/mesa/drivers/dri/i965/brw_draw.c | |
parent | 53631be4ebaa4fb13a7f129727c1cdd32fcc6f3d (diff) |
i965: Delete intel_context entirely.
This makes brw_context inherit directly from gl_context; that was the
only thing left in intel_context.
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/mesa/drivers/dri/i965/brw_draw.c')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_draw.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_draw.c b/src/mesa/drivers/dri/i965/brw_draw.c index ea28d9eaff1..85378315525 100644 --- a/src/mesa/drivers/dri/i965/brw_draw.c +++ b/src/mesa/drivers/dri/i965/brw_draw.c @@ -90,7 +90,7 @@ static const GLenum reduced_prim[GL_POLYGON+1] = { static void brw_set_prim(struct brw_context *brw, const struct _mesa_prim *prim) { - struct gl_context *ctx = &brw->intel.ctx; + struct gl_context *ctx = &brw->ctx; uint32_t hw_prim = prim_to_hw_prim[prim->mode]; DBG("PRIM: %s\n", _mesa_lookup_enum_by_nr(prim->mode)); @@ -299,7 +299,7 @@ static void brw_merge_inputs( struct brw_context *brw, static void brw_predraw_resolve_buffers(struct brw_context *brw) { - struct gl_context *ctx = &brw->intel.ctx; + struct gl_context *ctx = &brw->ctx; struct intel_renderbuffer *depth_irb; struct intel_texture_object *tex_obj; @@ -333,7 +333,7 @@ brw_predraw_resolve_buffers(struct brw_context *brw) */ static void brw_postdraw_set_buffers_need_resolve(struct brw_context *brw) { - struct gl_context *ctx = &brw->intel.ctx; + struct gl_context *ctx = &brw->ctx; struct gl_framebuffer *fb = ctx->DrawBuffer; struct intel_renderbuffer *front_irb = NULL; @@ -532,7 +532,7 @@ void brw_draw_prims( struct gl_context *ctx, void brw_draw_init( struct brw_context *brw ) { - struct gl_context *ctx = &brw->intel.ctx; + struct gl_context *ctx = &brw->ctx; struct vbo_context *vbo = vbo_context(ctx); int i; |