Lines Matching refs:gl_buffer_object

94 static struct gl_buffer_object DummyBufferObject;
104 static inline struct gl_buffer_object **
193 static inline struct gl_buffer_object *
197 struct gl_buffer_object **bufObj = get_buffer_target(ctx, target); in get_buffer()
266 bufferobj_range_mapped(const struct gl_buffer_object *obj, in bufferobj_range_mapped()
300 const struct gl_buffer_object *bufObj, in buffer_object_subdata_range_good()
444 static struct gl_buffer_object *
447 struct gl_buffer_object *obj = MALLOC_STRUCT(gl_buffer_object); in _mesa_new_buffer_object()
463 struct gl_buffer_object *bufObj) in _mesa_delete_buffer_object()
488 struct gl_buffer_object **ptr, in _mesa_reference_buffer_object_()
489 struct gl_buffer_object *bufObj) in _mesa_reference_buffer_object_()
494 struct gl_buffer_object *oldObj = *ptr; in _mesa_reference_buffer_object_()
546 struct gl_buffer_object *obj, in _mesa_initialize_buffer_object()
549 memset(obj, 0, sizeof(struct gl_buffer_object)); in _mesa_initialize_buffer_object()
567 const struct gl_buffer_object *bufObj = in count_buffer_size()
568 (const struct gl_buffer_object *) data; in count_buffer_size()
613 struct gl_buffer_object *bufObj) in buffer_data_fallback()
659 struct gl_buffer_object *bufObj) in buffer_sub_data_fallback()
692 struct gl_buffer_object *bufObj ) in buffer_get_subdata()
724 struct gl_buffer_object *bufObj) in _mesa_ClearBufferSubData_sw()
763 struct gl_buffer_object *bufObj, in map_buffer_range_fallback()
784 struct gl_buffer_object *obj, in flush_mapped_buffer_range_fallback()
804 unmap_buffer_fallback(struct gl_context *ctx, struct gl_buffer_object *bufObj, in unmap_buffer_fallback()
823 struct gl_buffer_object *src, in copy_buffer_sub_data_fallback()
824 struct gl_buffer_object *dst, in copy_buffer_sub_data_fallback()
978 struct gl_buffer_object **buf_handle, in _mesa_handle_bind_buffer_gen()
981 struct gl_buffer_object *buf = *buf_handle; in _mesa_handle_bind_buffer_gen()
1010 struct gl_buffer_object **bindTarget, GLuint buffer) in bind_buffer_object()
1012 struct gl_buffer_object *oldBufObj; in bind_buffer_object()
1013 struct gl_buffer_object *newBufObj = NULL; in bind_buffer_object()
1072 struct gl_buffer_object *
1078 return (struct gl_buffer_object *) in _mesa_lookup_bufferobj()
1083 struct gl_buffer_object *
1089 return (struct gl_buffer_object *) in _mesa_lookup_bufferobj_locked()
1098 struct gl_buffer_object *
1102 struct gl_buffer_object *bufObj; in _mesa_lookup_bufferobj_err()
1132 struct gl_buffer_object *
1137 struct gl_buffer_object *bufObj; in _mesa_multi_bind_lookup_bufferobj()
1175 struct gl_buffer_object *obj) in unbind()
1214 struct gl_buffer_object *bufObj) in _mesa_buffer_unmap_all_mappings()
1235 struct gl_buffer_object **bindTarget = get_buffer_target(ctx, target); in _mesa_BindBuffer_no_error()
1250 struct gl_buffer_object **bindTarget = get_buffer_target(ctx, target); in _mesa_BindBuffer()
1269 struct gl_buffer_object *bufObj, in set_buffer_binding()
1298 struct gl_buffer_object *bufObj; in set_buffer_multi_binding()
1315 struct gl_buffer_object *bufObj, in bind_buffer()
1345 struct gl_buffer_object *bufObj, in bind_uniform_buffer()
1366 struct gl_buffer_object *bufObj, in bind_shader_storage_buffer()
1386 struct gl_buffer_object *bufObj, GLintptr offset, in bind_atomic_buffer()
1402 struct gl_buffer_object *bufObj) in bind_buffer_base_uniform_buffer()
1424 struct gl_buffer_object *bufObj) in bind_buffer_base_shader_storage_buffer()
1446 struct gl_buffer_object *bufObj) in bind_buffer_base_atomic_buffer()
1475 struct gl_buffer_object *bufObj = in delete_buffers()
1642 struct gl_buffer_object *buf; in create_buffers()
1748 struct gl_buffer_object *bufObj; in _mesa_IsBuffer()
1760 struct gl_buffer_object *bufObj, GLsizeiptr size, in validate_buffer_storage()
1818 buffer_storage(struct gl_context *ctx, struct gl_buffer_object *bufObj, in buffer_storage()
1867 struct gl_buffer_object *bufObj; in inlined_buffer_storage()
1913 struct gl_buffer_object **bufObjPtr = get_buffer_target(ctx, target); in inlined_buffer_storage()
2005 buffer_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, in buffer_data()
2098 buffer_data_error(struct gl_context *ctx, struct gl_buffer_object *bufObj, in buffer_data_error()
2106 buffer_data_no_error(struct gl_context *ctx, struct gl_buffer_object *bufObj, in buffer_data_no_error()
2114 _mesa_buffer_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, in _mesa_buffer_data()
2127 struct gl_buffer_object **bufObj = get_buffer_target(ctx, target); in _mesa_BufferData_no_error()
2137 struct gl_buffer_object *bufObj; in _mesa_BufferData()
2153 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_NamedBufferData_no_error()
2163 struct gl_buffer_object *bufObj; in _mesa_NamedBufferData()
2179 struct gl_buffer_object *bufObj, in validate_buffer_sub_data()
2224 _mesa_buffer_sub_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, in _mesa_buffer_sub_data()
2245 struct gl_buffer_object *bufObj; in buffer_sub_data()
2257 struct gl_buffer_object **bufObjPtr = get_buffer_target(ctx, target); in buffer_sub_data()
2310 struct gl_buffer_object *bufObj; in _mesa_GetBufferSubData()
2331 struct gl_buffer_object *bufObj; in _mesa_GetNamedBufferSubData()
2352 clear_buffer_sub_data(struct gl_context *ctx, struct gl_buffer_object *bufObj, in clear_buffer_sub_data()
2410 struct gl_buffer_object *bufObj, in clear_buffer_sub_data_error()
2422 struct gl_buffer_object *bufObj, in clear_buffer_sub_data_no_error()
2439 struct gl_buffer_object **bufObj = get_buffer_target(ctx, target); in _mesa_ClearBufferData_no_error()
2451 struct gl_buffer_object *bufObj; in _mesa_ClearBufferData()
2469 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_ClearNamedBufferData_no_error()
2481 struct gl_buffer_object *bufObj; in _mesa_ClearNamedBufferData()
2501 struct gl_buffer_object **bufObj = get_buffer_target(ctx, target); in _mesa_ClearBufferSubData_no_error()
2515 struct gl_buffer_object *bufObj; in _mesa_ClearBufferSubData()
2535 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_ClearNamedBufferSubData_no_error()
2549 struct gl_buffer_object *bufObj; in _mesa_ClearNamedBufferSubData()
2562 unmap_buffer(struct gl_context *ctx, struct gl_buffer_object *bufObj) in unmap_buffer()
2575 struct gl_buffer_object *bufObj, in validate_and_unmap_buffer()
2629 struct gl_buffer_object **bufObjPtr = get_buffer_target(ctx, target); in _mesa_UnmapBuffer_no_error()
2630 struct gl_buffer_object *bufObj = *bufObjPtr; in _mesa_UnmapBuffer_no_error()
2639 struct gl_buffer_object *bufObj; in _mesa_UnmapBuffer()
2652 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_UnmapNamedBuffer_no_error()
2661 struct gl_buffer_object *bufObj; in _mesa_UnmapNamedBuffer()
2673 struct gl_buffer_object *bufObj, GLenum pname, in get_buffer_parameter()
2731 struct gl_buffer_object *bufObj; in _mesa_GetBufferParameteriv()
2750 struct gl_buffer_object *bufObj; in _mesa_GetBufferParameteri64v()
2769 struct gl_buffer_object *bufObj; in _mesa_GetNamedBufferParameteriv()
2789 struct gl_buffer_object *bufObj; in _mesa_GetNamedBufferParameteri64v()
2809 struct gl_buffer_object *bufObj; in _mesa_GetBufferPointerv()
2829 struct gl_buffer_object *bufObj; in _mesa_GetNamedBufferPointerv()
2847 copy_buffer_sub_data(struct gl_context *ctx, struct gl_buffer_object *src, in copy_buffer_sub_data()
2848 struct gl_buffer_object *dst, GLintptr readOffset, in copy_buffer_sub_data()
2922 struct gl_buffer_object **src_ptr = get_buffer_target(ctx, readTarget); in _mesa_CopyBufferSubData_no_error()
2923 struct gl_buffer_object *src = *src_ptr; in _mesa_CopyBufferSubData_no_error()
2925 struct gl_buffer_object **dst_ptr = get_buffer_target(ctx, writeTarget); in _mesa_CopyBufferSubData_no_error()
2926 struct gl_buffer_object *dst = *dst_ptr; in _mesa_CopyBufferSubData_no_error()
2939 struct gl_buffer_object *src, *dst; in _mesa_CopyBufferSubData()
2962 struct gl_buffer_object *src = _mesa_lookup_bufferobj(ctx, readBuffer); in _mesa_CopyNamedBufferSubData_no_error()
2963 struct gl_buffer_object *dst = _mesa_lookup_bufferobj(ctx, writeBuffer); in _mesa_CopyNamedBufferSubData_no_error()
2976 struct gl_buffer_object *src, *dst; in _mesa_CopyNamedBufferSubData()
2994 struct gl_buffer_object *bufObj, GLintptr offset, in validate_map_buffer_range()
3130 map_buffer_range(struct gl_context *ctx, struct gl_buffer_object *bufObj, in map_buffer_range()
3195 struct gl_buffer_object **bufObjPtr = get_buffer_target(ctx, target); in _mesa_MapBufferRange_no_error()
3196 struct gl_buffer_object *bufObj = *bufObjPtr; in _mesa_MapBufferRange_no_error()
3207 struct gl_buffer_object *bufObj; in _mesa_MapBufferRange()
3232 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_MapNamedBufferRange_no_error()
3243 struct gl_buffer_object *bufObj; in _mesa_MapNamedBufferRange()
3298 struct gl_buffer_object **bufObjPtr = get_buffer_target(ctx, target); in _mesa_MapBuffer_no_error()
3299 struct gl_buffer_object *bufObj = *bufObjPtr; in _mesa_MapBuffer_no_error()
3309 struct gl_buffer_object *bufObj; in _mesa_MapBuffer()
3337 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_MapNamedBuffer_no_error()
3347 struct gl_buffer_object *bufObj; in _mesa_MapNamedBuffer()
3370 struct gl_buffer_object *bufObj, in flush_mapped_buffer_range()
3426 struct gl_buffer_object **bufObjPtr = get_buffer_target(ctx, target); in _mesa_FlushMappedBufferRange_no_error()
3427 struct gl_buffer_object *bufObj = *bufObjPtr; in _mesa_FlushMappedBufferRange_no_error()
3439 struct gl_buffer_object *bufObj; in _mesa_FlushMappedBufferRange()
3455 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_FlushMappedNamedBufferRange_no_error()
3467 struct gl_buffer_object *bufObj; in _mesa_FlushMappedNamedBufferRange()
3480 struct gl_buffer_object *bufObj, in bind_buffer_range_uniform_buffer()
3501 struct gl_buffer_object *bufObj, in bind_buffer_range_uniform_buffer_err()
3522 struct gl_buffer_object *bufObj, in bind_buffer_range_shader_storage_buffer()
3545 struct gl_buffer_object *bufObj, in bind_buffer_range_shader_storage_buffer_err()
3565 struct gl_buffer_object *bufObj, in bind_buffer_range_atomic_buffer()
3587 struct gl_buffer_object *bufObj, in bind_buffer_range_atomic_buffer_err()
3703 struct gl_buffer_object *bufObj = ctx->Shared->NullBufferObj; in unbind_uniform_buffers()
3718 struct gl_buffer_object *bufObj = ctx->Shared->NullBufferObj; in unbind_shader_storage_buffers()
3982 struct gl_buffer_object * const bufObj = ctx->Shared->NullBufferObj; in unbind_xfb_buffers()
4044 struct gl_buffer_object * const boundBufObj = tfObj->Buffers[index]; in bind_xfb_buffers()
4045 struct gl_buffer_object *bufObj; in bind_xfb_buffers()
4141 struct gl_buffer_object * const bufObj = ctx->Shared->NullBufferObj; in unbind_atomic_buffers()
4253 struct gl_buffer_object *bufObj; in bind_buffer_range()
4352 struct gl_buffer_object *bufObj; in _mesa_BindBufferBase()
4495 struct gl_buffer_object *bufObj, GLintptr offset, in invalidate_buffer_subdata()
4508 struct gl_buffer_object *bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_InvalidateBufferSubData_no_error()
4517 struct gl_buffer_object *bufObj; in _mesa_InvalidateBufferSubData()
4569 struct gl_buffer_object *bufObj =_mesa_lookup_bufferobj(ctx, buffer); in _mesa_InvalidateBufferData_no_error()
4577 struct gl_buffer_object *bufObj; in _mesa_InvalidateBufferData()
4612 struct gl_buffer_object *bufferObj, in buffer_page_commitment()
4657 struct gl_buffer_object *bufferObj; in _mesa_BufferPageCommitmentARB()
4673 struct gl_buffer_object *bufferObj; in _mesa_NamedBufferPageCommitmentARB()