st/mesa: stop using gl_texture_image::Data when mapping/unmapping textures
authorBrian Paul <brianp@vmware.com>
Wed, 5 Oct 2011 00:26:39 +0000 (18:26 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 6 Oct 2011 03:06:48 +0000 (21:06 -0600)
commit85f5aa156562168d2ecea140b4e087655b11d271
treec88ba7cea10d54c6d8f56f5b2dc9ddee90888f2f
parent5253cf98057dad54e25b4b8c36f8cf24f559314c
st/mesa: stop using gl_texture_image::Data when mapping/unmapping textures

Since core Mesa no longer depends on gl_texture_image::Data pointing to
mapped texture buffers we don't have to mess with it all over the place
in the state tracker.  Now Data is only used to point to malloc'd memory
that holds images which don't fit in the texture object's mipmap buffer.
src/mesa/state_tracker/st_cb_texture.c
src/mesa/state_tracker/st_texture.c