Searched refs:bufObj (Results 1 – 9 of 9) sorted by relevance
/external/mesa3d/src/mesa/main/ |
D | bufferobj.c | 125 struct gl_buffer_object **bufObj = get_buffer_target(ctx, target); in get_buffer() local 127 if (!bufObj) { in get_buffer() 132 if (!_mesa_is_bufferobj(*bufObj)) { in get_buffer() 137 return *bufObj; in get_buffer() 204 struct gl_buffer_object *bufObj; in buffer_object_subdata_range_good() local 216 bufObj = get_buffer(ctx, caller, target); in buffer_object_subdata_range_good() 217 if (!bufObj) in buffer_object_subdata_range_good() 220 if (offset + size > bufObj->Size) { in buffer_object_subdata_range_good() 225 (unsigned long) bufObj->Size); in buffer_object_subdata_range_good() 228 if (_mesa_bufferobj_mapped(bufObj)) { in buffer_object_subdata_range_good() [all …]
|
D | transformfeedback.c | 400 struct gl_buffer_object *bufObj, in bind_buffer_range() argument 414 bufObj); in bind_buffer_range() 419 bufObj); in bind_buffer_range() 421 obj->BufferNames[index] = bufObj->Name; in bind_buffer_range() 436 struct gl_buffer_object *bufObj, in _mesa_bind_buffer_range_transform_feedback() argument 468 bind_buffer_range(ctx, index, bufObj, offset, size); in _mesa_bind_buffer_range_transform_feedback() 480 struct gl_buffer_object *bufObj) in _mesa_bind_buffer_base_transform_feedback() argument 501 size = bufObj->Size & ~0x3; in _mesa_bind_buffer_base_transform_feedback() 503 bind_buffer_range(ctx, index, bufObj, 0, size); in _mesa_bind_buffer_base_transform_feedback() 517 struct gl_buffer_object *bufObj; in _mesa_BindBufferOffsetEXT() local [all …]
|
D | bufferobj.h | 81 struct gl_buffer_object *bufObj); 86 struct gl_buffer_object *bufObj) in _mesa_reference_buffer_object() argument 88 if (*ptr != bufObj) in _mesa_reference_buffer_object() 89 _mesa_reference_buffer_object_(ctx, ptr, bufObj); in _mesa_reference_buffer_object()
|
D | shared.c | 201 struct gl_buffer_object *bufObj = (struct gl_buffer_object *) data; in delete_bufferobj_cb() local 203 if (_mesa_bufferobj_mapped(bufObj)) { in delete_bufferobj_cb() 204 ctx->Driver.UnmapBuffer(ctx, bufObj); in delete_bufferobj_cb() 205 bufObj->Pointer = NULL; in delete_bufferobj_cb() 207 _mesa_reference_buffer_object(ctx, &bufObj, NULL); in delete_bufferobj_cb()
|
D | transformfeedback.h | 66 struct gl_buffer_object *bufObj, 73 struct gl_buffer_object *bufObj);
|
D | teximage.c | 4036 struct gl_buffer_object *bufObj; in _mesa_TexBuffer() local 4060 bufObj = _mesa_lookup_bufferobj(ctx, buffer); in _mesa_TexBuffer() 4061 if (buffer && !bufObj) { in _mesa_TexBuffer() 4070 _mesa_reference_buffer_object(ctx, &texObj->BufferObject, bufObj); in _mesa_TexBuffer()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.c | 323 const struct gl_buffer_object *bufObj = array->BufferObj; in is_interleaved_arrays() local 330 firstBufObj = bufObj; in is_interleaved_arrays() 331 userSpaceBuffer = !bufObj || !bufObj->Name; in is_interleaved_arrays() 338 if (bufObj != firstBufObj) in is_interleaved_arrays() 344 if ((!_mesa_is_bufferobj(bufObj)) != userSpaceBuffer) in is_interleaved_arrays()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_exec_array.c | 361 struct gl_buffer_object *bufObj = exec->array.inputs[i]->BufferObj; in print_draw_arrays() local 362 GLuint bufName = bufObj->Name; in print_draw_arrays() 375 GLubyte *p = ctx->Driver.MapBufferRange(ctx, 0, bufObj->Size, in print_draw_arrays() 376 GL_MAP_READ_BIT, bufObj); in print_draw_arrays() 388 ctx->Driver.UnmapBuffer(ctx, bufObj); in print_draw_arrays()
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 2469 rc::DataBuffer* bufObj = DE_NULL; in bindBuffer() local 2473 bufObj = m_buffers.find(buffer); in bindBuffer() 2474 if (!bufObj) in bindBuffer() 2476 bufObj = new DataBuffer(buffer); in bindBuffer() 2477 m_buffers.insert(bufObj); in bindBuffer() 2481 setBufferBinding(target, bufObj); in bindBuffer() 2499 DataBuffer* bufObj = DE_NULL; in deleteBuffers() local 2504 bufObj = m_buffers.find(buffer); in deleteBuffers() 2506 if (bufObj) in deleteBuffers() 2507 deleteBuffer(bufObj); in deleteBuffers()
|