intel: Add fields to intel_texture for faking s8z24 with separate stencil
authorChad Versace <chad@chad-versace.us>
Tue, 21 Jun 2011 20:44:57 +0000 (13:44 -0700)
committerChad Versace <chad@chad-versace.us>
Fri, 24 Jun 2011 21:47:19 +0000 (14:47 -0700)
commit1a062dfc6f6e872e18f048bb5a61709c36f22870
tree73c4a818511227e9bf75101453b0565c1df25e68
parent407832b0d251515307dc0712863e243435baa4c2
intel: Add fields to intel_texture for faking s8z24 with separate stencil

Add the fields depth_rb and stencil_rb, and put hooks in place to
release the renderbuffers in intelFreeTextureImageData and
intelTexImage.

Signed-off-by: Chad Versace <chad@chad-versace.us>
src/mesa/drivers/dri/intel/intel_tex.c
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/intel/intel_tex_obj.h