Lines Matching refs:bufObj

5429                      struct gl_buffer_object *bufObj,  in texture_buffer_range()  argument
5471 _mesa_reference_buffer_object(ctx, &texObj->BufferObject, bufObj); in texture_buffer_range()
5490 if (bufObj) { in texture_buffer_range()
5491 bufObj->UsageHistory |= USAGE_TEXTURE_BUFFER; in texture_buffer_range()
5521 struct gl_buffer_object *bufObj, in check_texture_buffer_range() argument
5543 if (offset + size > bufObj->Size) { in check_texture_buffer_range()
5546 (int) offset, (int) size, (int) bufObj->Size); in check_texture_buffer_range()
5570 struct gl_buffer_object *bufObj; in _mesa_TexBuffer() local
5581 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTexBuffer"); in _mesa_TexBuffer()
5582 if (!bufObj) in _mesa_TexBuffer()
5585 bufObj = NULL; in _mesa_TexBuffer()
5591 texture_buffer_range(ctx, texObj, internalFormat, bufObj, 0, in _mesa_TexBuffer()
5602 struct gl_buffer_object *bufObj; in _mesa_TexBufferRange() local
5613 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTexBufferRange"); in _mesa_TexBufferRange()
5614 if (!bufObj) in _mesa_TexBufferRange()
5617 if (!check_texture_buffer_range(ctx, bufObj, offset, size, in _mesa_TexBufferRange()
5631 bufObj = NULL; in _mesa_TexBufferRange()
5638 texture_buffer_range(ctx, texObj, internalFormat, bufObj, in _mesa_TexBufferRange()
5646 struct gl_buffer_object *bufObj; in _mesa_TextureBuffer() local
5651 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTextureBuffer"); in _mesa_TextureBuffer()
5652 if (!bufObj) in _mesa_TextureBuffer()
5655 bufObj = NULL; in _mesa_TextureBuffer()
5666 bufObj, 0, buffer ? -1 : 0, "glTextureBuffer"); in _mesa_TextureBuffer()
5674 struct gl_buffer_object *bufObj; in _mesa_TextureBufferRange() local
5679 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, in _mesa_TextureBufferRange()
5681 if (!bufObj) in _mesa_TextureBufferRange()
5684 if (!check_texture_buffer_range(ctx, bufObj, offset, size, in _mesa_TextureBufferRange()
5698 bufObj = NULL; in _mesa_TextureBufferRange()
5711 bufObj, offset, size, "glTextureBufferRange"); in _mesa_TextureBufferRange()