mesa: move the NullBufferObj from GLcontext to gl_shared_state
authorBrian Paul <brianp@vmware.com>
Thu, 7 May 2009 19:30:39 +0000 (13:30 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 7 May 2009 20:34:09 +0000 (14:34 -0600)
commit4f6b704f9796775d8d9937c3cf75a2901b99b896
tree9a5ac7599b7e6f7148b031358b2671a78fbf01ac
parent105c8529e78db961fee832b6248c3bcf59668bad
mesa: move the NullBufferObj from GLcontext to gl_shared_state

Since shared array objects may point to the null/default buffer object,
the null/default buffer object should be part of the shared state.
13 files changed:
src/mesa/main/arrayobj.c
src/mesa/main/bufferobj.c
src/mesa/main/context.c
src/mesa/main/mtypes.h
src/mesa/main/pixel.c
src/mesa/main/pixelstore.c
src/mesa/main/shared.c
src/mesa/swrast/s_imaging.c
src/mesa/vbo/vbo_context.c
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_rebase.c
src/mesa/vbo/vbo_split_copy.c
src/mesa/vbo/vbo_split_inplace.c