Implement mutex/locking around texture object reference counting.
authorBrian <brian.paul@tungstengraphics.com>
Mon, 13 Aug 2007 10:29:46 +0000 (11:29 +0100)
committerBrian <brian.paul@tungstengraphics.com>
Mon, 13 Aug 2007 10:29:46 +0000 (11:29 +0100)
commit9e01b915f1243a3f551cb795b7124bd1e52ca15f
tree8813956c0705bb9b8b85948480320b3ea5cfede8
parent6f4725088842fbc0069aeb51f41907b87e0a8f08
Implement mutex/locking around texture object reference counting.

Use new _mesa_reference_texobj() function for referencing/unreferencing
textures.  Add new assertions/tests to try to detect invalid usage of
deleted textures.
src/mesa/main/attrib.c
src/mesa/main/context.c
src/mesa/main/fbobject.c
src/mesa/main/framebuffer.c
src/mesa/main/mtypes.h
src/mesa/main/texobj.c
src/mesa/main/texobj.h
src/mesa/main/texstate.c