/external/mesa3d/src/mesa/main/ |
D | pbo.c | 81 if (!_mesa_is_bufferobj(pack->BufferObj)) { in _mesa_validate_pbo_access() 86 size = pack->BufferObj->Size; in _mesa_validate_pbo_access() 153 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_map_pbo_source() 156 unpack->BufferObj->Size, in _mesa_map_pbo_source() 158 unpack->BufferObj, in _mesa_map_pbo_source() 190 if (_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_source() 202 if (!_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_source() 207 if (_mesa_check_disallowed_mapping(unpack->BufferObj)) { in _mesa_validate_pbo_source() 227 if (!_mesa_is_bufferobj(unpack->BufferObj)) { in _mesa_validate_pbo_source_compressed() 233 ((const GLubyte *) 0) + unpack->BufferObj->Size) { in _mesa_validate_pbo_source_compressed() [all …]
|
D | pixel.c | 151 &ctx->DefaultPacking.BufferObj, in validate_pbo_access() 152 pack->BufferObj); in validate_pbo_access() 159 &ctx->DefaultPacking.BufferObj, in validate_pbo_access() 163 if (_mesa_is_bufferobj(pack->BufferObj)) { in validate_pbo_access() 204 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_PixelMapfv() 245 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_PixelMapuiv() 300 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_PixelMapusv() 349 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_GetnPixelMapfvARB() 398 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_GetnPixelMapuivARB() 447 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_GetnPixelMapusvARB()
|
D | arrayobj.c | 155 _mesa_reference_buffer_object(ctx, &obj->BufferBinding[i].BufferObj, NULL); in unbind_array_object_vbos() 158 _mesa_reference_buffer_object(ctx, &obj->_VertexAttrib[i].BufferObj, NULL); in unbind_array_object_vbos() 254 binding->BufferObj = NULL; in init_array() 258 _mesa_reference_buffer_object(ctx, &binding->BufferObj, in init_array() 352 assert(!_mesa_is_bufferobj(buffer_binding->BufferObj)); in _mesa_all_varyings_in_vbos() 383 assert(_mesa_is_bufferobj(buffer_binding->BufferObj)); in _mesa_all_buffers_are_unmapped() 386 if (_mesa_check_disallowed_mapping(buffer_binding->BufferObj)) in _mesa_all_buffers_are_unmapped()
|
D | texgetimage.c | 697 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_GetTexSubImage_sw() 705 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, in _mesa_GetTexSubImage_sw() 706 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj, in _mesa_GetTexSubImage_sw() 756 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in _mesa_GetTexSubImage_sw() 757 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj, MAP_INTERNAL); in _mesa_GetTexSubImage_sw() 784 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in get_compressed_texsubimage_sw() 787 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, in get_compressed_texsubimage_sw() 788 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj, in get_compressed_texsubimage_sw() 831 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in get_compressed_texsubimage_sw() 832 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj, MAP_INTERNAL); in get_compressed_texsubimage_sw() [all …]
|
D | drawpix.c | 147 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_DrawPixels() 155 if (_mesa_check_disallowed_mapping(ctx->Unpack.BufferObj)) { in _mesa_DrawPixels() 330 if (_mesa_is_bufferobj(ctx->Unpack.BufferObj)) { in _mesa_Bitmap() 339 if (_mesa_check_disallowed_mapping(ctx->Unpack.BufferObj)) { in _mesa_Bitmap()
|
D | api_arrayelt.c | 1579 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state() 1587 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state() 1595 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state() 1603 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state() 1611 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state() 1619 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state() 1637 check_vbo(actx, at->binding->BufferObj); in _ae_update_state() 1669 check_vbo(actx, at->binding->BufferObj); in _ae_update_state() 1683 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state() 1690 check_vbo(actx, aa->binding->BufferObj); in _ae_update_state() [all …]
|
D | pixelstore.c | 275 _mesa_reference_buffer_object(ctx, &ctx->Pack.BufferObj, in _mesa_init_pixelstore() 290 _mesa_reference_buffer_object(ctx, &ctx->Unpack.BufferObj, in _mesa_init_pixelstore() 308 _mesa_reference_buffer_object(ctx, &ctx->DefaultPacking.BufferObj, in _mesa_init_pixelstore()
|
D | varray.c | 143 if (_mesa_is_bufferobj(vao->BufferBinding[bindingIndex].BufferObj)) in vertex_attrib_binding() 171 if (binding->BufferObj != vbo || in _mesa_bind_vertex_buffer() 177 _mesa_reference_buffer_object(ctx, &binding->BufferObj, vbo); in _mesa_bind_vertex_buffer() 1249 return vao->BufferBinding[array->BufferBindingIndex].BufferObj->Name; in get_vertex_array_attrib() 1538 params[0] = vao->BufferBinding[VERT_ATTRIB_GENERIC(index)].BufferObj->Name; in _mesa_GetVertexArrayIndexediv() 2037 vao->BufferBinding[VERT_ATTRIB_GENERIC(bindingIndex)].BufferObj->Name) { in vertex_array_vertex_buffer() 2038 vbo = vao->BufferBinding[VERT_ATTRIB_GENERIC(bindingIndex)].BufferObj; in vertex_array_vertex_buffer() 2282 if (buffers[i] == binding->BufferObj->Name) in vertex_array_vertex_buffers() 2283 vbo = binding->BufferObj; in vertex_array_vertex_buffers() 2812 _mesa_reference_buffer_object(ctx, &dst->BufferObj, src->BufferObj); in _mesa_copy_client_array() [all …]
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_save.c | 57 array->BufferObj = NULL; in vbo_save_init() 58 _mesa_reference_buffer_object(ctx, &arrays->BufferObj, in vbo_save_init() 59 vbo->currval[VBO_ATTRIB_POS+i].BufferObj); in vbo_save_init() 69 array->BufferObj = NULL; in vbo_save_init() 70 _mesa_reference_buffer_object(ctx, &array->BufferObj, in vbo_save_init() 71 vbo->currval[VBO_ATTRIB_GENERIC0+i].BufferObj); in vbo_save_init() 99 _mesa_reference_buffer_object(ctx, &save->arrays[i].BufferObj, NULL); in vbo_save_destroy()
|
D | vbo_rebase.c | 88 arrays[i]->BufferObj->Name == 0) in REBASE() 99 if (arrays[i]->BufferObj->Name != 0) in vbo_any_varyings_in_vbos()
|
D | vbo_context.c | 64 _mesa_reference_buffer_object(ctx, &cl->BufferObj, in init_array() 253 _mesa_reference_buffer_object(ctx, &vbo->currval[i].BufferObj, NULL); in _vbo_DestroyContext()
|
D | vbo_save_draw.c | 217 &array->BufferObj, in bind_vertex_list() 220 assert(array->BufferObj->Name); in bind_vertex_list()
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_pixel_read.c | 134 if (_mesa_is_bufferobj(pack->BufferObj) && aligned_rowstride != dst_rowstride) in do_blit_readpixels() 140 if (!_mesa_is_bufferobj(pack->BufferObj)) in do_blit_readpixels() 147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; in do_blit_readpixels() 179 if (!_mesa_is_bufferobj(pack->BufferObj)) in do_blit_readpixels() 191 if (!_mesa_is_bufferobj(pack->BufferObj)) in do_blit_readpixels()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_pixel_read.c | 134 if (_mesa_is_bufferobj(pack->BufferObj) && aligned_rowstride != dst_rowstride) in do_blit_readpixels() 140 if (!_mesa_is_bufferobj(pack->BufferObj)) in do_blit_readpixels() 147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; in do_blit_readpixels() 179 if (!_mesa_is_bufferobj(pack->BufferObj)) in do_blit_readpixels() 191 if (!_mesa_is_bufferobj(pack->BufferObj)) in do_blit_readpixels()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | intel_pixel_bitmap.c | 76 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, in map_pbo() 78 unpack->BufferObj, in map_pbo() 211 if (_mesa_is_bufferobj(unpack->BufferObj)) { in do_blit_bitmap() 315 if (_mesa_is_bufferobj(unpack->BufferObj)) { in do_blit_bitmap() 317 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in do_blit_bitmap()
|
D | intel_pixel_draw.c | 58 struct intel_buffer_object *src = intel_buffer_object(unpack->BufferObj); in do_blit_drawpixels() 166 if (_mesa_is_bufferobj(unpack->BufferObj)) { in intelDrawPixels()
|
D | brw_draw_upload.c | 518 if (_mesa_is_bufferobj(glarray->BufferObj)) { in brw_prepare_vertices() 520 intel_buffer_object(glarray->BufferObj); in brw_prepare_vertices() 549 if (glarray->BufferObj == other->BufferObj && in brw_prepare_vertices() 571 buffer->size = glarray->BufferObj->Size - offset; in brw_prepare_vertices()
|
D | intel_pixel_read.c | 100 _mesa_is_bufferobj(pack->BufferObj) || in intel_readpixels_tiled_memcpy() 276 if (_mesa_is_bufferobj(pack->BufferObj)) { in intelReadPixels()
|
D | intel_tex_image.c | 212 _mesa_is_bufferobj(packing->BufferObj) || in intel_texsubimage_tiled_memcpy() 324 if (pixels == NULL && !_mesa_is_bufferobj(packing->BufferObj)) in intel_upload_tex() 332 if (_mesa_is_bufferobj(packing->BufferObj) || tex_busy || in intel_upload_tex() 661 _mesa_is_bufferobj(packing->BufferObj) || in intel_gettexsubimage_tiled_memcpy() 770 if (_mesa_is_bufferobj(ctx->Pack.BufferObj)) { in intel_get_tex_sub_image()
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | intel_pixel_bitmap.c | 79 buf = (GLubyte *) ctx->Driver.MapBufferRange(ctx, 0, unpack->BufferObj->Size, in map_pbo() 81 unpack->BufferObj, in map_pbo() 214 if (_mesa_is_bufferobj(unpack->BufferObj)) { in do_blit_bitmap() 313 if (_mesa_is_bufferobj(unpack->BufferObj)) { in do_blit_bitmap() 315 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in do_blit_bitmap()
|
D | intel_pixel_read.c | 79 struct intel_buffer_object *dst = intel_buffer_object(pack->BufferObj); in do_blit_readpixels() 87 assert(_mesa_is_bufferobj(pack->BufferObj)); in do_blit_readpixels() 169 if (_mesa_is_bufferobj(pack->BufferObj)) { in intelReadPixels()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_draw.c | 284 if (inputs[i]->BufferObj->Name) { in bind_inputs() 285 if (!inputs[i]->BufferObj->Mappings[MAP_INTERNAL].Pointer) { in bind_inputs() 286 bo[*nr_bo] = inputs[i]->BufferObj; in bind_inputs() 288 ctx->Driver.MapBufferRange(ctx, 0, inputs[i]->BufferObj->Size, in bind_inputs() 290 inputs[i]->BufferObj, in bind_inputs() 293 assert(inputs[i]->BufferObj->Mappings[MAP_INTERNAL].Pointer); in bind_inputs() 296 ptr = ADD_POINTERS(inputs[i]->BufferObj->Mappings[MAP_INTERNAL].Pointer, in bind_inputs()
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_dd.c | 358 if (_mesa_is_bufferobj(unpack->BufferObj)) { in xmesa_DrawPixels_8R8G8B() 368 unpack->BufferObj->Size, in xmesa_DrawPixels_8R8G8B() 370 unpack->BufferObj, in xmesa_DrawPixels_8R8G8B() 418 if (_mesa_is_bufferobj(unpack->BufferObj)) { in xmesa_DrawPixels_8R8G8B() 419 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in xmesa_DrawPixels_8R8G8B() 490 if (_mesa_is_bufferobj(unpack->BufferObj)) { in xmesa_DrawPixels_5R6G5B() 500 unpack->BufferObj->Size, in xmesa_DrawPixels_5R6G5B() 502 unpack->BufferObj, in xmesa_DrawPixels_5R6G5B() 549 if (unpack->BufferObj->Name) { in xmesa_DrawPixels_5R6G5B() 550 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in xmesa_DrawPixels_5R6G5B()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_vbo_t.c | 47 if (render->mode == VBO && !_mesa_is_bufferobj(a->BufferObj)) in get_array_stride() 82 imm ? array->BufferObj : NULL, in vbo_init_arrays() 147 array->Type, array->BufferObj, array->Ptr, in vbo_emit_attr() 222 if (!_mesa_is_bufferobj(a->BufferObj)) in get_max_client_stride() 315 struct gl_buffer_object *obj = array->BufferObj; in vbo_bind_vertices()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.c | 343 bufObj = array->BufferObj; in is_interleaved_arrays() 481 bufobj = array->BufferObj; in setup_interleaved_attribs() 600 bufobj = array->BufferObj; in setup_non_interleaved_attribs()
|