intel: Add a width field to regions, and use it for making miptrees in TFP.
authorEric Anholt <eric@anholt.net>
Fri, 12 Sep 2008 22:48:13 +0000 (15:48 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 12 Sep 2008 22:48:13 +0000 (15:48 -0700)
commit8db761409dadc2e899d4e7107eff3aa07b07aa11
treecc398df6f9be467f384d029bd1d6e3e3c106169c
parentbdc8ac4ae2c711e2569618136bf7d9c7b25be53e
intel: Add a width field to regions, and use it for making miptrees in TFP.

Otherwise, we would use the pitch as width of the texture, and compiz would
render the pitch padding on the right hand side.
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_regions.c
src/mesa/drivers/dri/intel/intel_regions.h
src/mesa/drivers/dri/intel/intel_tex_image.c