diff options
author | Eric Anholt <[email protected]> | 2006-11-29 01:16:12 +0000 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2006-11-29 01:16:12 +0000 |
commit | 3cd06cf8c5ef6a27e36c584e12ba79ed8dacbf28 (patch) | |
tree | 01b1c257356478a276827a7b7f670b7caae051a9 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | 716091a6a0a9a4cc03f0aa61a3a6518b0648f167 (diff) |
Add accelerated CopyPixels for non-overlapping, 1:1 blits.
Submitted by Gary Wong <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 1137bfd2c76..a57c794834f 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -485,7 +485,7 @@ struct brw_context */ struct brw_state_pointers attribs; struct gl_vertex_program *vp; - struct gl_fragment_program *fp; + struct gl_fragment_program *fp, *fp_tex; struct gl_buffer_object *vbo; @@ -493,6 +493,8 @@ struct brw_context struct intel_region *saved_depth_region; GLuint restore_draw_mask; + struct gl_fragment_program *restore_fp; + GLboolean active; } metaops; @@ -672,6 +674,8 @@ void brw_destroy_state( struct brw_context *brw ); */ void brwUpdateTextureState( struct intel_context *intel ); void brwInitTextureFuncs( struct dd_function_table *functions ); +void brw_FrameBufferTexInit( struct brw_context *brw ); +void brw_FrameBufferTexDestroy( struct brw_context *brw ); /*====================================================================== * brw_metaops.c |