i915tex: Fix performance regression with new vbo code and latest drm.
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Mon, 19 Feb 2007 18:57:30 +0000 (19:57 +0100)
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>
Mon, 19 Feb 2007 18:57:30 +0000 (19:57 +0100)
commitd2b06403c6f06ee37f46c2a504983884382c8abc
tree3950f3492506e5096ed1cf4a7368c8f6a4a187a3
parent43c6b2f67fc13b80bfa7d4128666ed04903cf2a0
i915tex: Fix performance regression with new vbo code and latest drm.
With current memory preferences, vbos ended up in AGP space
where reading from them got a bit slow.

Make sure buffer objects are initially created in system memory.
src/mesa/drivers/dri/i915tex/intel_buffer_objects.c