i915: Don't put VBOs in graphics memory unless required for an operation.
authorEric Anholt <eric@anholt.net>
Tue, 2 Jun 2009 13:53:40 +0000 (06:53 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 2 Jun 2009 13:55:10 +0000 (06:55 -0700)
commita945e203d4fe254593bc0c5c5d6caca45e65f9f7
tree389cac5c77f320c3a7915f8df228c998e8e30f81
parent0ab8e2622e932593f39e5a634808567322bd669b
i915: Don't put VBOs in graphics memory unless required for an operation.

This saves doing swtnl from uncached memory, which is painful.  Improves
clutter test-text performance by 10% since it started using VBOs.
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_buffer_objects.h