[intel] Fix and reenable (software) SGIS_generate_mipmap
authorEric Anholt <eric@anholt.net>
Wed, 19 Dec 2007 22:26:14 +0000 (14:26 -0800)
committerEric Anholt <eric@anholt.net>
Thu, 20 Dec 2007 19:26:34 +0000 (11:26 -0800)
commit101abee6c4fc2c9284ff2ba6f9f9138327d6963d
tree3e5f900202359ed4ffcf36b872bbff1b6719352b
parentb2f62609d02b91cc42c786200fa0c123e1fd2dcb
[intel] Fix and reenable (software) SGIS_generate_mipmap

The core problem was that _mesa_generate_mipmap was not respecting RowStride
of the source image.  Additionally, the intel private data associated with the
images (level and face) was not being initialized for the
_mesa_generate_mipmap-generated images.
src/mesa/drivers/dri/i915/intel_context.c
src/mesa/drivers/dri/intel/intel_mipmap_tree.c
src/mesa/drivers/dri/intel/intel_tex.c
src/mesa/drivers/dri/intel/intel_tex.h
src/mesa/drivers/dri/intel/intel_tex_copy.c
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/intel/intel_tex_subimage.c
src/mesa/drivers/dri/intel/intel_tex_validate.c
src/mesa/main/mipmap.c
src/mesa/main/mtypes.h