intel: Replace intel_mipmap_tree::hiz_region with a miptree [v2]
authorChad Versace <chad.versace@linux.intel.com>
Thu, 17 Nov 2011 07:14:39 +0000 (23:14 -0800)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 22 Nov 2011 18:50:49 +0000 (10:50 -0800)
commita2e44b0813e956440c451c107cf5564b56cbe98e
tree4aad4a2c5bef3b8c1ccb3e8d34f5ee8d6d60f79c
parent3eb12dfaeed03f77e31943eea164acb03e86bbc9
intel: Replace intel_mipmap_tree::hiz_region with a miptree [v2]

This is required to correctly implement HiZ for mipmapped and
multi-layered textures.

v2: Accomodate refcount fixes in intel_process_dri2_buffer_*() that were
    introduced in v2 of commit
        intel: Replace intel_renderbuffer::region with a miptree [v2]

Reviewed-by: Eric Anholt <eric@anholt>
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
src/mesa/drivers/dri/i965/brw_misc_state.c
src/mesa/drivers/dri/intel/intel_context.c
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