[intel] Only flush batch when changing draw buffers, not every cliprect update.
authorEric Anholt <eric@anholt.net>
Thu, 10 Jan 2008 21:24:14 +0000 (13:24 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 10 Jan 2008 21:24:14 +0000 (13:24 -0800)
commitab2933df65628d8f1f0a3f49129442bc8d2c3a2b
tree88c19afcfd9c9b8cd24e6edb8c93e203aa855117
parenta04b632350e5d0e9994fc667afc59407a39da0ba
[intel] Only flush batch when changing draw buffers, not every cliprect update.

The previous code would reference freed memory on window moves.
src/mesa/drivers/dri/i965/intel_ioctl.c
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_batchbuffer.h
src/mesa/drivers/dri/intel/intel_buffers.c