intel: Map write-only buffer objects through the GTT when possible.
authorEric Anholt <eric@anholt.net>
Sun, 10 May 2009 16:45:43 +0000 (09:45 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Jun 2009 17:52:30 +0000 (10:52 -0700)
commit2770107d87ccfd558480c44cd90a75524bdea738
treef64224db3778286015f02582949443a2d6e3e1bc
parent3f856c6b6b7fa95ef97a8712876de88d7d57932e
intel: Map write-only buffer objects through the GTT when possible.

This looks to be a win of a few percent in cairogears with new vbo code,
thanks to not polluting caches.
(cherry picked from commit aa422b262509bc0763a50f63a51a1730139ea52f)
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_buffer_objects.h