intel: Move the teximage mapping logic to a miptree level/slice mapping.
authorEric Anholt <eric@anholt.net>
Mon, 28 Nov 2011 19:17:11 +0000 (11:17 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 7 Dec 2011 21:36:57 +0000 (13:36 -0800)
commitb75291c61c40a3a690b08f8aa013ad2d3d2deda8
tree279a35d603b5183a08bf29b3e0e2a759d6864083
parent5c9a55665d78b96bfb8ce8eab43b5558dd656a6d
intel: Move the teximage mapping logic to a miptree level/slice mapping.

This will let us share teximage mapping logic with renderbuffer
mapping, which has an intel_mipmap_tree but not a gl_texture_image.

Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.h
src/mesa/drivers/dri/intel/intel_tex.c