mesa: Convert GetCompressedTexImage to using MapTextureImage().
authorBrian Paul <brianp@vmware.com>
Sat, 30 Jul 2011 00:14:34 +0000 (17:14 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 27 Sep 2011 19:12:07 +0000 (12:12 -0700)
commit8df7ca71125ee0ad74260378ff7e185dcf66f3bc
tree9c03dfa2eb16d6cf2e3319c726ad0fd4c6cde620
parent9f61e43b4903c6cf0ac03a479ec9ed7b15fd6ccf
mesa: Convert GetCompressedTexImage to using MapTextureImage().

This changes drivers to not map the texture on their own before
calling _mesa_get_compressed_teximage().

Tested-by: Brian Paul <brianp@vmware.com>
src/mesa/drivers/dri/intel/intel_tex_image.c
src/mesa/drivers/dri/radeon/radeon_tex_getimage.c
src/mesa/drivers/dri/radeon/radeon_texture.c
src/mesa/drivers/dri/radeon/radeon_texture.h
src/mesa/main/texgetimage.c
src/mesa/state_tracker/st_cb_texture.c