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>
Wed, 17 Jun 2009 18:08:36 +0000 (11:08 -0700)
commitff3da0966fc91cd5bcfed994e5edadbf25903c47
treea1d4db16a8549e121b1dc3899bcc9548c454a7bf
parent1b8e4dd2c8343af391a33be2aff7978366c450df
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.
(cherry picked from commit a945e203d4fe254593bc0c5c5d6caca45e65f9f7)
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_buffer_objects.h