diff options
author | Keith Whitwell <[email protected]> | 2007-08-08 16:42:01 +0100 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2007-08-09 11:23:18 +0100 |
commit | 93d5cfd8b7c641c5656aed38ad2f9559e09502f0 (patch) | |
tree | 5f105eea612826cd4b34f78bc5a8c3f910a3ab7f /src/mesa/pipe/i915simple/i915_context.h | |
parent | d0521ebd516617f4471279e69af5dc0f4e4992af (diff) |
Add flush/finish functionality to pipe.
Not sure if finish() is the right interface yet.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_context.h')
-rw-r--r-- | src/mesa/pipe/i915simple/i915_context.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.h b/src/mesa/pipe/i915simple/i915_context.h index 060997bfa43..dab54231904 100644 --- a/src/mesa/pipe/i915simple/i915_context.h +++ b/src/mesa/pipe/i915simple/i915_context.h @@ -53,12 +53,13 @@ struct i915_context struct pipe_sampler_state sampler[PIPE_MAX_SAMPLERS]; struct pipe_setup_state setup; struct pipe_stencil_state stencil; - struct pipe_texture_object *texture[PIPE_MAX_SAMPLERS]; + struct pipe_mipmap_tree *texture[PIPE_MAX_SAMPLERS]; struct pipe_viewport_state viewport; GLuint dirty; - struct pipe_scissor_state cliprect; + GLuint *batch_start; + struct pipe_scissor_state cliprect; }; #define I915_NEW_VIEWPORT 0x1 @@ -104,6 +105,7 @@ void i915_init_buffer_functions( struct i915_context *i915 ); void i915_init_region_functions( struct i915_context *i915 ); void i915_init_surface_functions( struct i915_context *i915 ); void i915_init_state_functions( struct i915_context *i915 ); +void i915_init_flush_functions( struct i915_context *i915 ); |