st/mesa: implement AllocTextureImageBuffer() driver hook
authorBrian Paul <brianp@vmware.com>
Fri, 30 Sep 2011 14:15:30 +0000 (08:15 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 30 Sep 2011 14:15:30 +0000 (08:15 -0600)
commit4e6bb0774ffa93141a3a8ec7bb47b190810b2a4b
tree83b4162d4a71dcd4d15625b7f79b2f21ff35840c
parent4368a657670f1f3f13d8497f749cb5439f91529e
st/mesa: implement AllocTextureImageBuffer() driver hook

This hasn't been needed so far since none of the core Mesa code paths
that call ctx->Driver.AllocTextureImageBuffer() are used with the
state tracker.  That will change in upcoming patches.
Note that this function duplicates some code seen in the st_TexImage()
function.  That can be cleaned up later.
src/mesa/state_tracker/st_cb_texture.c