mesa: add new DeleteTextureImage() driver hook
authorBrian Paul <brianp@vmware.com>
Sat, 17 Sep 2011 20:50:48 +0000 (14:50 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 17 Sep 2011 20:57:40 +0000 (14:57 -0600)
commit146f536b3332b7a2022bb4ba5e2d1d2ec4bedd98
tree863c2ee5f23d879dddb36ec7191c03bd915ba384
parentbaeefef2c0445bfd717a3086fdd9b5bd5d9cb675
mesa: add new DeleteTextureImage() driver hook

Matches the NewTextureImage() hook.  With new subclasses of
gl_texture_image coming we need a new hook to properly delete objects of
those subclasses.
src/mesa/drivers/common/driverfuncs.c
src/mesa/drivers/dri/intel/intel_tex.c
src/mesa/drivers/dri/radeon/radeon_texture.c
src/mesa/main/dd.h
src/mesa/main/teximage.c
src/mesa/main/texobj.c
src/mesa/state_tracker/st_cb_texture.c