intel: Consolidate texture validation copy code, and reuse it correctly.
authorEric Anholt <eric@anholt.net>
Wed, 28 Sep 2011 23:07:56 +0000 (16:07 -0700)
committerEric Anholt <eric@anholt.net>
Mon, 3 Oct 2011 20:29:38 +0000 (13:29 -0700)
commitb07c78bfe94c17e6fccba70923b03a29c751fde1
tree84eb415a694401eb9e45f9aaf24c62c3735f2e77
parent055995abc4e2f4a73122bd008a0e6f0558300d82
intel: Consolidate texture validation copy code, and reuse it correctly.

The path for ->Data was failing to be called for the FBO draw offset
fallback, and also had mismatched compressed texture support code.

This drops the intel_prepare_render() in the blit path.  We aren't
copying to/from a GL_FRONT buffer, so it doesn't matter.
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_regions.c
src/mesa/drivers/dri/intel/intel_regions.h
src/mesa/drivers/dri/intel/intel_tex_validate.c