ARB sync: Fix delete behavior and context destruction behavior
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 31 Aug 2009 21:57:50 +0000 (14:57 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Thu, 3 Sep 2009 18:22:46 +0000 (11:22 -0700)
commit16b393d05990b6e917e144f9de87d0103b4c3e6d
treecdb95979b5f2e5606ce803127e195951f95fcf53
parentf5a22721c5731c7a4c20f86d9925d9e58324c7a5
ARB sync: Fix delete behavior and context destruction behavior

I believe this resolves the outstanding issues WRT sync object
deletetion.  I have also added a large comment at the top of syncobj.c
describing the expected memory management behavior.  I'm still a
little uncertain about the locking on ctx->Shared.
src/mesa/main/mtypes.h
src/mesa/main/shared.c
src/mesa/main/syncobj.c
src/mesa/main/syncobj.h