Lines Matching refs:Shared
388 _mesa_HashWalk(ctx->Shared->BufferObjects, count_buffer_size, &total); in _mesa_total_buffer_object_memory()
621 ctx->Shared->NullBufferObj); in _mesa_init_buffer_objects()
624 ctx->Shared->NullBufferObj); in _mesa_init_buffer_objects()
626 ctx->Shared->NullBufferObj); in _mesa_init_buffer_objects()
632 ctx->Shared->NullBufferObj); in _mesa_init_buffer_objects()
637 ctx->Shared->NullBufferObj); in _mesa_init_buffer_objects()
689 _mesa_HashInsert(ctx->Shared->BufferObjects, buffer, buf); in handle_bind_buffer_gen()
725 newBufObj = ctx->Shared->NullBufferObj; in bind_buffer_object()
773 _mesa_HashLookup(ctx->Shared->BufferObjects, buffer); in _mesa_lookup_bufferobj()
789 _mesa_reference_buffer_object(ctx, ptr, ctx->Shared->NullBufferObj); in unbind()
857 _glthread_LOCK_MUTEX(ctx->Shared->Mutex); in _mesa_DeleteBuffersARB()
928 _mesa_HashRemove(ctx->Shared->BufferObjects, ids[i]); in _mesa_DeleteBuffersARB()
944 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); in _mesa_DeleteBuffersARB()
977 _glthread_LOCK_MUTEX(ctx->Shared->Mutex); in _mesa_GenBuffersARB()
979 first = _mesa_HashFindFreeKeyBlock(ctx->Shared->BufferObjects, n); in _mesa_GenBuffersARB()
983 _mesa_HashInsert(ctx->Shared->BufferObjects, first + i, in _mesa_GenBuffersARB()
988 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); in _mesa_GenBuffersARB()
1006 _glthread_LOCK_MUTEX(ctx->Shared->Mutex); in _mesa_IsBufferARB()
1008 _glthread_UNLOCK_MUTEX(ctx->Shared->Mutex); in _mesa_IsBufferARB()
2107 if (bufObj == ctx->Shared->NullBufferObj) { in bind_buffer_range_uniform_buffer()
2132 if (bufObj == ctx->Shared->NullBufferObj) in bind_buffer_base_uniform_buffer()
2146 bufObj = ctx->Shared->NullBufferObj; in _mesa_BindBufferRange()
2193 bufObj = ctx->Shared->NullBufferObj; in _mesa_BindBufferBase()