intel: Use GTT mapping when available for swrast.
authorEric Anholt <eric@anholt.net>
Fri, 30 Oct 2009 22:33:11 +0000 (15:33 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 31 Oct 2009 00:35:12 +0000 (17:35 -0700)
commit7c8bed62e0165a0be3363f7abf81bf9e30341e00
tree2ebd147f0eb3eda07098248f642e0fdf7f4078d7
parentd63c29ef20b26aa90fb310216011d03253e4f09b
intel: Use GTT mapping when available for swrast.

This improves piglit quick.tests runtime from 19:33 minutes to 6:06 on
my GM45.  It should also hide most of the A17 swizzling issues, though
they'll still exist when swapping occurs (which is the kernel's problem
either way).
src/mesa/drivers/dri/intel/intel_depthtmp.h
src/mesa/drivers/dri/intel/intel_span.c
src/mesa/drivers/dri/intel/intel_spantmp.h