intel: For batch, use GTT mapping instead of writing to a malloc and copying.
authorEric Anholt <eric@anholt.net>
Mon, 20 Sep 2010 21:10:20 +0000 (14:10 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 2 Nov 2010 21:24:42 +0000 (14:24 -0700)
commit689def8bbcd2851adc89bebc84fd99bd627ff173
tree8307d8a534c018385a3e31b423db61b2f5a8c00b
parent1210aa75513391779c87e93f009fcf3e52a79cbf
intel: For batch, use GTT mapping instead of writing to a malloc and copying.

No measurable performance difference on cairo-perf-trace, but
simplifies the code and should have cache benefit in general.
src/mesa/drivers/dri/intel/intel_batchbuffer.c
src/mesa/drivers/dri/intel/intel_batchbuffer.h