mesa: reference counting for gl_array_object
authorBrian Paul <brianp@vmware.com>
Wed, 13 May 2009 15:27:31 +0000 (09:27 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 13 May 2009 15:27:31 +0000 (09:27 -0600)
commit5568f2f601fbd974af402da92548904f6fafc6dc
tree41877fb0a4cb8ae26345d125db349b789e92e5e9
parent46b81b0cc883df0ef7d998be36ae6cbf80257cd2
mesa: reference counting for gl_array_object

Every kind of object that can be shared by multiple contexts should be
refcounted.
(cherry picked from commit 1030bf0ded2a88a5e27f7a4d393c11cfde3d3c5a)
src/mesa/main/arrayobj.c
src/mesa/main/arrayobj.h
src/mesa/main/mtypes.h
src/mesa/main/varray.c