Lines Matching refs:bufferObj
4903 struct gl_buffer_object *bufferObj, in buffer_page_commitment() argument
4907 if (!(bufferObj->StorageFlags & GL_SPARSE_STORAGE_BIT_ARB)) { in buffer_page_commitment()
4913 if (size < 0 || size > bufferObj->Size || in buffer_page_commitment()
4914 offset < 0 || offset > bufferObj->Size - size) { in buffer_page_commitment()
4934 offset + size != bufferObj->Size) { in buffer_page_commitment()
4940 ctx->Driver.BufferPageCommitment(ctx, bufferObj, offset, size, commit); in buffer_page_commitment()
4948 struct gl_buffer_object *bufferObj; in _mesa_BufferPageCommitmentARB() local
4950 bufferObj = get_buffer(ctx, "glBufferPageCommitmentARB", target, in _mesa_BufferPageCommitmentARB()
4952 if (!bufferObj) in _mesa_BufferPageCommitmentARB()
4955 buffer_page_commitment(ctx, bufferObj, offset, size, commit, in _mesa_BufferPageCommitmentARB()
4964 struct gl_buffer_object *bufferObj; in _mesa_NamedBufferPageCommitmentARB() local
4966 bufferObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_NamedBufferPageCommitmentARB()
4967 if (!bufferObj || bufferObj == &DummyBufferObject) { in _mesa_NamedBufferPageCommitmentARB()
4975 buffer_page_commitment(ctx, bufferObj, offset, size, commit, in _mesa_NamedBufferPageCommitmentARB()
4984 struct gl_buffer_object *bufferObj; in _mesa_NamedBufferPageCommitmentEXT() local
4988 bufferObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_NamedBufferPageCommitmentEXT()
4989 if (!_mesa_handle_bind_buffer_gen(ctx, buffer, &bufferObj, in _mesa_NamedBufferPageCommitmentEXT()
5003 buffer_page_commitment(ctx, bufferObj, offset, size, commit, in _mesa_NamedBufferPageCommitmentEXT()