summaryrefslogtreecommitdiff
path: root/src/mesa/pipe/i915simple/i915_winsys.h
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-11-07 17:16:47 -0700
committerBrian <brian.paul@tungstengraphics.com>2007-11-07 17:16:47 -0700
commit3fe055ec9218a8745d9a53f75f4abd4760fcce28 (patch)
tree3418e9b0ae67dbdd85a4e00783aec5f3785c4bd5 /src/mesa/pipe/i915simple/i915_winsys.h
parentae44a81d1bd40852a7cea9b8025dfa3821adc785 (diff)
Remove winsys->wait_idle(), subsumed by pipe->flush().
Connect intel_i915_batch_finish() into i915_winsys, just like intel_i915_batch_flush(). Call i915_winsys->batch_finish() in response to pipe->flush(PIPE_FLUSH_WAIT). Now all the batchbuffer/fence code is in one place and a little cleaner.
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_winsys.h')
-rw-r--r--src/mesa/pipe/i915simple/i915_winsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/pipe/i915simple/i915_winsys.h b/src/mesa/pipe/i915simple/i915_winsys.h
index cbb851a932..2c0f335d34 100644
--- a/src/mesa/pipe/i915simple/i915_winsys.h
+++ b/src/mesa/pipe/i915simple/i915_winsys.h
@@ -98,6 +98,7 @@ struct i915_winsys {
unsigned delta );
void (*batch_flush)( struct i915_winsys *sws );
+ void (*batch_finish)( struct i915_winsys *sws );
};
#define I915_BUFFER_ACCESS_WRITE 0x1