intel: When subdataing a busy buffer, use a temporary and blit in.
authorEric Anholt <eric@anholt.net>
Thu, 12 Nov 2009 18:45:05 +0000 (10:45 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 13 Nov 2009 21:18:56 +0000 (13:18 -0800)
commit3c05c1eb6326dc28e8ab073d179eb669e5699f4b
tree2f355c15c7e9e188e320ad43a69aafd49ff98cd0
parent4e50ce35ee1376062de2c6fa69da144be30a61e2
intel: When subdataing a busy buffer, use a temporary and blit in.

This cuts a massive number of waits in ET:QW, which uses a VBO ringbuffer.
Unfortunately it doesn't BufferData when wrapping back to 0, so we can't
be clever with tracking what's been initialized.
src/mesa/drivers/dri/intel/intel_buffer_objects.c