summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_context.c
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2007-08-08 16:42:01 +0100
committerKeith Whitwell <[email protected]>2007-08-09 11:23:18 +0100
commit93d5cfd8b7c641c5656aed38ad2f9559e09502f0 (patch)
tree5f105eea612826cd4b34f78bc5a8c3f910a3ab7f /src/mesa/pipe/i915simple/i915_context.c
parentd0521ebd516617f4471279e69af5dc0f4e4992af (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.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_context.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_context.c b/src/mesa/pipe/i915simple/i915_context.c
index f39c2829814..02b51bea437 100644
--- a/src/mesa/pipe/i915simple/i915_context.c
+++ b/src/mesa/pipe/i915simple/i915_context.c
@@ -170,6 +170,13 @@ struct pipe_context *i915_create( struct i915_winsys *winsys )
i915_init_region_functions(i915);
i915_init_surface_functions(i915);
i915_init_state_functions(i915);
+ i915_init_flush_functions(i915);
+
+
+ /* Batch stream debugging is a bit hacked up at the moment:
+ */
+ i915->batch_start = winsys->batch_start( winsys, 0, 0 );
+
/*
* XXX we could plug GL selection/feedback into the drawing pipeline