Remove winsys->wait_idle(), subsumed by pipe->flush().
authorBrian <brian.paul@tungstengraphics.com>
Thu, 8 Nov 2007 00:16:47 +0000 (17:16 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 8 Nov 2007 00:16:47 +0000 (17:16 -0700)
commit3fe055ec9218a8745d9a53f75f4abd4760fcce28
tree3418e9b0ae67dbdd85a4e00783aec5f3785c4bd5
parentae44a81d1bd40852a7cea9b8025dfa3821adc785
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.
src/mesa/drivers/dri/intel_winsys/intel_winsys_i915.c
src/mesa/drivers/dri/intel_winsys/intel_winsys_pipe.c
src/mesa/pipe/i915simple/i915_flush.c
src/mesa/pipe/i915simple/i915_winsys.h
src/mesa/pipe/p_winsys.h
src/mesa/pipe/xlib/xm_winsys.c