intel: Add hiz_region to intel_mipmap_tree
authorChad Versace <chad@chad-versace.us>
Mon, 23 May 2011 20:48:14 +0000 (13:48 -0700)
committerChad Versace <chad@chad-versace.us>
Wed, 25 May 2011 14:41:32 +0000 (07:41 -0700)
commitc270f1a628a625ccc9f6d931f2921e3d92c31818
treeda25543738046a9a0816277454f0026e6220b57e
parent6ed829fe5063f61f1ab2fcb39a441e17d89e622c
intel: Add hiz_region to intel_mipmap_tree

When a texture is attached to multiple FBO's, a separate renderbuffer
wrapper is created for each attachment. This necessitates storing the hiz
region for these renderbuffers in the texture itself instead of the
renderbuffer wrapper.

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Chad Versace <chad@chad-versace.us>
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