/external/mesa3d/src/mesa/main/ |
D | pbo.c | 82 if (!pack->BufferObj) { in _mesa_validate_pbo_access() 87 size = pack->BufferObj->Size; in _mesa_validate_pbo_access() 154 if (unpack->BufferObj) { in _mesa_map_pbo_source() 157 unpack->BufferObj->Size, in _mesa_map_pbo_source() 159 unpack->BufferObj, in _mesa_map_pbo_source() 191 if (unpack->BufferObj) { in _mesa_validate_pbo_source() 203 if (!unpack->BufferObj) { in _mesa_validate_pbo_source() 208 if (_mesa_check_disallowed_mapping(unpack->BufferObj)) { in _mesa_validate_pbo_source() 228 if (!unpack->BufferObj) { in _mesa_validate_pbo_source_compressed() 234 ((const GLubyte *) 0) + unpack->BufferObj->Size) { in _mesa_validate_pbo_source_compressed() [all …]
|
D | arrayobj.c | 314 _mesa_reference_buffer_object(ctx, &obj->BufferBinding[i].BufferObj, NULL); in _mesa_unbind_array_object_vbos() 414 assert(binding->BufferObj); in compute_vbo_offset_range() 570 if (binding->BufferObj) { in _mesa_update_vao_derived_arrays() 643 if (binding->BufferObj != binding2->BufferObj) in _mesa_update_vao_derived_arrays() 749 assert(!binding2->BufferObj); in _mesa_update_vao_derived_arrays() 791 assert(binding->BufferObj == binding2->BufferObj); in _mesa_update_vao_derived_arrays() 792 if (binding->BufferObj) { in _mesa_update_vao_derived_arrays() 834 assert(!buffer_binding->BufferObj); in _mesa_all_varyings_in_vbos() 863 assert(buffer_binding->BufferObj); in _mesa_all_buffers_are_unmapped() 866 if (_mesa_check_disallowed_mapping(buffer_binding->BufferObj)) in _mesa_all_buffers_are_unmapped() [all …]
|
D | pixel.c | 151 &ctx->DefaultPacking.BufferObj, in validate_pbo_access() 152 pack->BufferObj); in validate_pbo_access() 159 &ctx->DefaultPacking.BufferObj, NULL); in validate_pbo_access() 162 if (pack->BufferObj) { in validate_pbo_access() 203 if (ctx->Unpack.BufferObj) { in _mesa_PixelMapfv() 244 if (ctx->Unpack.BufferObj) { in _mesa_PixelMapuiv() 299 if (ctx->Unpack.BufferObj) { in _mesa_PixelMapusv() 348 if (ctx->Pack.BufferObj) { in _mesa_GetnPixelMapfvARB() 397 if (ctx->Pack.BufferObj) { in _mesa_GetnPixelMapuivARB() 446 if (ctx->Pack.BufferObj) { in _mesa_GetnPixelMapusvARB()
|
D | drawpix.c | 147 if (ctx->Unpack.BufferObj) { in _mesa_DrawPixels() 155 if (_mesa_check_disallowed_mapping(ctx->Unpack.BufferObj)) { in _mesa_DrawPixels() 340 if (ctx->Unpack.BufferObj) { in _mesa_Bitmap() 349 if (_mesa_check_disallowed_mapping(ctx->Unpack.BufferObj)) { in _mesa_Bitmap()
|
D | texgetimage.c | 704 if (ctx->Pack.BufferObj) { in _mesa_GetTexSubImage_sw() 712 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, in _mesa_GetTexSubImage_sw() 713 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj, in _mesa_GetTexSubImage_sw() 763 if (ctx->Pack.BufferObj) { in _mesa_GetTexSubImage_sw() 764 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj, MAP_INTERNAL); in _mesa_GetTexSubImage_sw() 791 if (ctx->Pack.BufferObj) { in get_compressed_texsubimage_sw() 794 ctx->Driver.MapBufferRange(ctx, 0, ctx->Pack.BufferObj->Size, in get_compressed_texsubimage_sw() 795 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj, in get_compressed_texsubimage_sw() 838 if (ctx->Pack.BufferObj) { in get_compressed_texsubimage_sw() 839 ctx->Driver.UnmapBuffer(ctx, ctx->Pack.BufferObj, MAP_INTERNAL); in get_compressed_texsubimage_sw() [all …]
|
D | pixelstore.c | 280 _mesa_reference_buffer_object(ctx, &ctx->Pack.BufferObj, NULL); in _mesa_init_pixelstore() 294 _mesa_reference_buffer_object(ctx, &ctx->Unpack.BufferObj, NULL); in _mesa_init_pixelstore() 311 _mesa_reference_buffer_object(ctx, &ctx->DefaultPacking.BufferObj, NULL); in _mesa_init_pixelstore()
|
D | varray.c | 172 if (vao->BufferBinding[bindingIndex].BufferObj) in _mesa_vertex_attrib_binding() 222 if (binding->BufferObj != vbo || in _mesa_bind_vertex_buffer() 227 _mesa_reference_buffer_object(ctx, &binding->BufferObj, NULL); in _mesa_bind_vertex_buffer() 228 binding->BufferObj = vbo; in _mesa_bind_vertex_buffer() 230 _mesa_reference_buffer_object(ctx, &binding->BufferObj, vbo); in _mesa_bind_vertex_buffer() 2101 buf = vao->BufferBinding[array->BufferBindingIndex].BufferObj; in get_vertex_array_attrib() 2392 buf = vao->BufferBinding[VERT_ATTRIB_GENERIC(index)].BufferObj; in _mesa_GetVertexArrayIndexediv() 2911 vao->BufferBinding[VERT_ATTRIB_GENERIC(bindingIndex)].BufferObj; in vertex_array_vertex_buffer() 3173 else if (binding->BufferObj && binding->BufferObj->Name == buffers[i]) in vertex_array_vertex_buffers() 3174 vbo = binding->BufferObj; in vertex_array_vertex_buffers() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/radeon/ |
D | radeon_pixel_read.c | 134 if (pack->BufferObj && aligned_rowstride != dst_rowstride) in do_blit_readpixels() 140 if (!pack->BufferObj) in do_blit_readpixels() 147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; in do_blit_readpixels() 179 if (!pack->BufferObj) in do_blit_readpixels() 191 if (!pack->BufferObj) in do_blit_readpixels()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | radeon_pixel_read.c | 134 if (pack->BufferObj && aligned_rowstride != dst_rowstride) in do_blit_readpixels() 140 if (!pack->BufferObj) in do_blit_readpixels() 147 dst_buffer = get_radeon_buffer_object(pack->BufferObj)->bo; in do_blit_readpixels() 179 if (!pack->BufferObj) in do_blit_readpixels() 191 if (!pack->BufferObj) in do_blit_readpixels()
|
/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 (unpack->BufferObj) { in do_blit_bitmap() 313 if (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(pack->BufferObj); in do_blit_readpixels() 169 if (pack->BufferObj) { in intelReadPixels()
|
D | intel_tex_image.c | 114 struct intel_buffer_object *pbo = intel_buffer_object(unpack->BufferObj); in try_pbo_upload() 118 if (!unpack->BufferObj) in try_pbo_upload()
|
/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 (unpack->BufferObj) { in do_blit_bitmap() 315 if (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() 167 unpack->BufferObj) { in intelDrawPixels()
|
D | intel_pixel_read.c | 98 pack->BufferObj || in intel_readpixels_tiled_memcpy() 275 if (pack->BufferObj) { in intelReadPixels()
|
D | intel_tex_image.c | 211 packing->BufferObj || in intel_texsubimage_tiled_memcpy() 325 if (pixels == NULL && !packing->BufferObj) in intel_upload_tex() 331 if (packing->BufferObj || tex_busy || in intel_upload_tex() 760 packing->BufferObj || in intel_gettexsubimage_tiled_memcpy() 871 if (ctx->Pack.BufferObj) { in intel_get_tex_sub_image()
|
D | brw_draw_upload.c | 496 assert(glbinding->BufferObj); in brw_prepare_vertices() 529 intel_buffer_object(glbinding->BufferObj); in brw_prepare_vertices() 604 assert(!glbinding->BufferObj); in brw_prepare_vertices()
|
/external/mesa3d/src/mesa/drivers/x11/ |
D | xm_dd.c | 358 if (unpack->BufferObj) { in xmesa_DrawPixels_8R8G8B() 368 unpack->BufferObj->Size, in xmesa_DrawPixels_8R8G8B() 370 unpack->BufferObj, in xmesa_DrawPixels_8R8G8B() 418 if (unpack->BufferObj) { in xmesa_DrawPixels_8R8G8B() 419 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in xmesa_DrawPixels_8R8G8B() 490 if (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) { in xmesa_DrawPixels_5R6G5B() 550 ctx->Driver.UnmapBuffer(ctx, unpack->BufferObj, MAP_INTERNAL); in xmesa_DrawPixels_5R6G5B()
|
/external/mesa3d/src/mesa/tnl/ |
D | t_draw.c | 290 if (binding->BufferObj) { in bind_inputs() 291 if (!binding->BufferObj->Mappings[MAP_INTERNAL].Pointer) { in bind_inputs() 292 bo[*nr_bo] = binding->BufferObj; in bind_inputs() 294 ctx->Driver.MapBufferRange(ctx, 0, binding->BufferObj->Size, in bind_inputs() 296 binding->BufferObj, in bind_inputs() 299 assert(binding->BufferObj->Mappings[MAP_INTERNAL].Pointer); in bind_inputs() 302 ptr = ADD_POINTERS(binding->BufferObj->Mappings[MAP_INTERNAL].Pointer, in bind_inputs()
|
D | t_split_copy.c | 442 struct gl_buffer_object *vbo = binding->BufferObj; in replay_init() 534 dstbind->BufferObj = NULL; in replay_init() 575 copy->varying[i].array->BufferBinding->BufferObj; in replay_finish()
|
D | t_rebase.c | 226 if (arrays[i].BufferBinding->BufferObj) in REBASE()
|
/external/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.c | 162 if (binding->BufferObj) { in st_setup_arrays() 163 struct st_buffer_object *stobj = st_buffer_object(binding->BufferObj); in st_setup_arrays() 191 if (binding->BufferObj) { in st_setup_arrays() 193 struct st_buffer_object *stobj = st_buffer_object(binding->BufferObj); in st_setup_arrays()
|
/external/mesa3d/src/mesa/drivers/dri/nouveau/ |
D | nouveau_vbo_t.c | 49 if (render->mode == VBO && !binding->BufferObj) { in get_array_stride() 90 imm ? binding->BufferObj : NULL, in vbo_init_arrays() 158 attrib->Format.Type, binding->BufferObj, p, in vbo_emit_attr() 233 if (!a->BufferBinding->BufferObj) in get_max_client_stride() 331 struct gl_buffer_object *obj = binding->BufferObj; in vbo_bind_vertices()
|
/external/mesa3d/src/mesa/vbo/ |
D | vbo_context.c | 203 _mesa_reference_buffer_object(ctx, &vbo->binding.BufferObj, NULL); in _vbo_DestroyContext()
|
D | vbo_save_draw.c | 136 struct gl_buffer_object *bo = list->VAO[0]->BufferBinding[0].BufferObj; in loopback_vertex_list()
|