intel: Replace mt->pitch with mt->region->pitch.
authorEric Anholt <eric@anholt.net>
Wed, 17 Mar 2010 16:09:54 +0000 (09:09 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 17 Mar 2010 18:24:01 +0000 (11:24 -0700)
commit362c1bf75eb74de5b4655c481b74f79718ed4a34
tree8466fa58f43cd6ec4edd1de21f6b4d9b6167adf8
parent30446f8a708a647401e58da11de2dc464e37823c
intel: Replace mt->pitch with mt->region->pitch.

The pitch is not really an inherent part of the miptree, since it's
not part of any of the layout calculations, and it's dictated by the
libdrm-allocated region pitch now.
src/mesa/drivers/dri/i915/i830_texstate.c
src/mesa/drivers/dri/i915/i915_tex_layout.c
src/mesa/drivers/dri/i915/i915_texstate.c
src/mesa/drivers/dri/i965/brw_tex_layout.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.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
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_layout.c