OSDN Git Service

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>
Tue, 12 May 2009 17:08:19 +0000 (10:08 -0700)
commitaa422b262509bc0763a50f63a51a1730139ea52f
treef79dcf2d2505bf227c07e14448b957aea7188582
parent0fc5fa85bf858ba2ad88995f65cc48b2dab1298d
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.
src/mesa/drivers/dri/intel/intel_buffer_objects.c
src/mesa/drivers/dri/intel/intel_buffer_objects.h