intel: Refactor intel_miptree_map/unmap
authorChad Versace <chad.versace@linux.intel.com>
Sat, 28 Jul 2012 02:21:20 +0000 (19:21 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 7 Aug 2012 16:30:33 +0000 (09:30 -0700)
commit81980958d0d3def26741cfe78b7c23f6635f826a
tree97bfabae5a68db8e4274c78abdde8dc626fa9ffc
parent6b56140b4bafcef8bea5ca67cb31023a533c3bd4
intel: Refactor intel_miptree_map/unmap

Move the body of intel_miptree_map into a new function,
intel_miptree_map_singlesample. Now intel_miptree_map dispatches to the
new function. A future commit adds a multisample variant.

Ditto for intel_miptree_unmap.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c