intel: Add support for LLC-cached reads of X-tiled miptrees using a blit.
authorEric Anholt <eric@anholt.net>
Wed, 30 Nov 2011 15:36:26 +0000 (07:36 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 7 Dec 2011 21:38:53 +0000 (13:38 -0800)
commit5655ebf4664b2e9a50b976612f8a1aeb26275311
tree403998daef42b240a34378583fd21dfd97348b62
parent2d2bfd1f2643b93caf76087b6ac04544af52ee63
intel: Add support for LLC-cached reads of X-tiled miptrees using a blit.

This mimics the MapRenderbuffer code, and should improve the
performance of glGetTexImage().

v2: Fix broken error handling.
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h