Lines Matching refs:bufObj
5045 struct gl_buffer_object *bufObj, in texture_buffer_range() argument
5075 _mesa_reference_buffer_object(ctx, &texObj->BufferObject, bufObj); in texture_buffer_range()
5094 if (bufObj) { in texture_buffer_range()
5095 bufObj->UsageHistory |= USAGE_TEXTURE_BUFFER; in texture_buffer_range()
5125 struct gl_buffer_object *bufObj, in check_texture_buffer_range() argument
5147 if (offset + size > bufObj->Size) { in check_texture_buffer_range()
5150 (int) offset, (int) size, (int) bufObj->Size); in check_texture_buffer_range()
5174 struct gl_buffer_object *bufObj; in _mesa_TexBuffer() local
5185 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTexBuffer"); in _mesa_TexBuffer()
5186 if (!bufObj) in _mesa_TexBuffer()
5189 bufObj = NULL; in _mesa_TexBuffer()
5195 texture_buffer_range(ctx, texObj, internalFormat, bufObj, 0, in _mesa_TexBuffer()
5206 struct gl_buffer_object *bufObj; in _mesa_TexBufferRange() local
5217 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTexBufferRange"); in _mesa_TexBufferRange()
5218 if (!bufObj) in _mesa_TexBufferRange()
5221 if (!check_texture_buffer_range(ctx, bufObj, offset, size, in _mesa_TexBufferRange()
5235 bufObj = NULL; in _mesa_TexBufferRange()
5242 texture_buffer_range(ctx, texObj, internalFormat, bufObj, in _mesa_TexBufferRange()
5250 struct gl_buffer_object *bufObj; in _mesa_TextureBuffer() local
5255 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, "glTextureBuffer"); in _mesa_TextureBuffer()
5256 if (!bufObj) in _mesa_TextureBuffer()
5259 bufObj = NULL; in _mesa_TextureBuffer()
5270 bufObj, 0, buffer ? -1 : 0, "glTextureBuffer"); in _mesa_TextureBuffer()
5278 struct gl_buffer_object *bufObj; in _mesa_TextureBufferRange() local
5283 bufObj = _mesa_lookup_bufferobj_err(ctx, buffer, in _mesa_TextureBufferRange()
5285 if (!bufObj) in _mesa_TextureBufferRange()
5288 if (!check_texture_buffer_range(ctx, bufObj, offset, size, in _mesa_TextureBufferRange()
5302 bufObj = NULL; in _mesa_TextureBufferRange()
5315 bufObj, offset, size, "glTextureBufferRange"); in _mesa_TextureBufferRange()