mesa/main: Add functions to clear and dirty texture objects.
authorChia-I Wu <olvaffe@gmail.com>
Wed, 5 Aug 2009 22:06:50 +0000 (16:06 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 5 Aug 2009 22:06:50 +0000 (16:06 -0600)
commit42b6b067ac68ac1309d0570613bea4a88f745559
treea2729ca3297265348155cf0ec89e7661c933449c
parent1f713059934c2365a42aadfdca49213b36a7de90
mesa/main: Add functions to clear and dirty texture objects.

This commit adds a function to clear a texture object such that there is
no image data associated with it, and a function to dirty it so that it
will be re-tested for completeness.

Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
src/mesa/main/teximage.c
src/mesa/main/teximage.h
src/mesa/main/texobj.c
src/mesa/main/texobj.h