Rewrite code related to buffer destruction.
authorBrian <brian@yutani.localnet.net>
Mon, 26 Feb 2007 18:39:17 +0000 (11:39 -0700)
committerBrian <brian@yutani.localnet.net>
Mon, 26 Feb 2007 18:39:17 +0000 (11:39 -0700)
commit928a70e4354d4884e2918ec67ddc6d8baf942c8a
tree7dc22754520f92ecba5f2eddf86cde4f97f4e58d
parentf30e8a4bdf8338dc3f8e985a9c91af61a3301990
Rewrite code related to buffer destruction.

Do proper reference counting so that we don't wind up with dangling
references to deleted windows/framebuffers.  Should help with bug 7205.
src/mesa/drivers/x11/xm_api.c
src/mesa/drivers/x11/xm_buffer.c
src/mesa/drivers/x11/xmesaP.h