src/mesa/drivers/dri/i915/i915_tex_layout.c | 16 ++-- src/mesa/drivers/dri/i965/brw_tex_layout.c | 6 - src/mesa/drivers/dri/intel/intel_mipmap_tree.c | 81 +++++++++++++++---------- src/mesa/drivers/dri/intel/intel_mipmap_tree.h | 13 +++- src/mesa/drivers/dri/intel/intel_tex_layout.c | 4 - src/mesa/drivers/dri/intel/intel_tex_layout.h | 2 6 files changed, 75 insertions(+), 47 deletions(-)
commit diffs at http://gitweb.freedesktop.org/?p=mesa/mesa.git;a=summary New commits: commit dd1a868b74ac47ac26f600f2f1eb0dc3f535f31b Author: Keith Packard <[EMAIL PROTECTED]> Date: Tue Dec 18 10:18:33 2007 -0800 [INTEL] Fix 965 to use new centralized mipmap pitch function commit a183efc132c8db1bb42525ac177ffff96f69a59b Author: Keith Packard <[EMAIL PROTECTED]> Date: Mon Dec 17 22:43:48 2007 -0800 [Intel] Centralize mipmap pitch computations. mipmap pitches must account for the device alignment requirements, which used to be fairly simple; just align to a 4-byte boundary. However, to allow textures to be drawn to under TTM, they now need to be aligned to a 64-byte boundary. Placing all of the alignment constraints in a single function allows this new constraint to be applied uniformly. There was some pitch constraining code in intel_miptree_create, but that was modifying the pitch long after the miptree had been layed out, so it only served to wreck the mipmap and cause rendering errors. _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
