mesa: simplify parameters to GetTexImage() 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)
commit4368a657670f1f3f13d8497f749cb5439f91529e
tree71965b364e065ee9cc360eb0a0e99cd3be0e7553
parentd742a64909b2b414fc94b6f525a13ce09ca7f9f7
mesa: simplify parameters to GetTexImage() driver hook

The target, level and texObj can be obtained through the texImage
parameter.  We could make similar changes for the TexImage() hooks too.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/common/meta.c
src/mesa/drivers/common/meta.h
src/mesa/main/dd.h
src/mesa/main/debug.c
src/mesa/main/mipmap.c
src/mesa/main/texgetimage.c
src/mesa/main/texgetimage.h
src/mesa/state_tracker/st_cb_texture.c