intel: Add support for tiled textures.
authorEric Anholt <eric@anholt.net>
Wed, 3 Jun 2009 16:40:20 +0000 (16:40 +0000)
committerEric Anholt <eric@anholt.net>
Thu, 4 Jun 2009 14:00:43 +0000 (14:00 +0000)
commit1ba96651e12b3c74fb9c8f5a61b183ef36a27b1e
tree2cd5c5303ec85edfc47ab8f80e60a88134f461e0
parent165ae5e2fb57bdb64b4cf01271b4effeb811f675
intel: Add support for tiled textures.

This is about a 30% performance win in OA with high settings on my GM45,
and experiments with 915GM indicate that it'll be around a 20% win there.
Currently, 915-class hardware is seriously hurt by the fact that we use
fence regs to control the tiling even for 3D instructions that could live
without them, so we spend a bunch of time waiting on previous rendering in
order to pull fences off.  Thus, the texture_tiling driconf option defaults
off there for now.
13 files changed:
src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/intel/intel_context.c
src/mesa/drivers/dri/intel/intel_context.h
src/mesa/drivers/dri/intel/intel_fbo.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_regions.c
src/mesa/drivers/dri/intel/intel_regions.h
src/mesa/drivers/dri/intel/intel_screen.c
src/mesa/drivers/dri/intel/intel_tex_copy.c
src/mesa/drivers/dri/intel/intel_tex_layout.c
src/mesa/drivers/dri/intel/intel_tex_layout.h