/third_party/mesa3d/src/mesa/main/ |
D | pbo.c | 80 if (!pack->BufferObj) { in _mesa_validate_pbo_access() 85 size = pack->BufferObj->Size; in _mesa_validate_pbo_access() 152 if (unpack->BufferObj) { in _mesa_map_pbo_source() 155 unpack->BufferObj->Size, in _mesa_map_pbo_source() 157 unpack->BufferObj, in _mesa_map_pbo_source() 189 if (unpack->BufferObj) { in _mesa_validate_pbo_source() 201 if (!unpack->BufferObj) { in _mesa_validate_pbo_source() 206 if (_mesa_check_disallowed_mapping(unpack->BufferObj)) { in _mesa_validate_pbo_source() 226 if (!unpack->BufferObj) { in _mesa_validate_pbo_source_compressed() 232 ((const GLubyte *) 0) + unpack->BufferObj->Size) { in _mesa_validate_pbo_source_compressed() [all …]
|
D | pixel.c | 152 &ctx->DefaultPacking.BufferObj, in validate_pbo_access() 153 pack->BufferObj); in validate_pbo_access() 160 &ctx->DefaultPacking.BufferObj, NULL); in validate_pbo_access() 163 if (pack->BufferObj) { in validate_pbo_access() 204 if (ctx->Unpack.BufferObj) { in _mesa_PixelMapfv() 245 if (ctx->Unpack.BufferObj) { in _mesa_PixelMapuiv() 300 if (ctx->Unpack.BufferObj) { in _mesa_PixelMapusv() 347 if (ctx->Pack.BufferObj) in _mesa_GetnPixelMapfvARB() 348 ctx->Pack.BufferObj->UsageHistory |= USAGE_PIXEL_PACK_BUFFER; in _mesa_GetnPixelMapfvARB() 352 if (ctx->Pack.BufferObj) { in _mesa_GetnPixelMapfvARB() [all …]
|
D | arrayobj.c | 315 _mesa_reference_buffer_object(ctx, &obj->BufferBinding[i].BufferObj, NULL); in _mesa_unbind_array_object_vbos() 415 assert(binding->BufferObj); in compute_vbo_offset_range() 573 if (binding->BufferObj) { in _mesa_update_vao_derived_arrays() 646 if (binding->BufferObj != binding2->BufferObj) in _mesa_update_vao_derived_arrays() 752 assert(!binding2->BufferObj); in _mesa_update_vao_derived_arrays() 794 assert(binding->BufferObj == binding2->BufferObj); in _mesa_update_vao_derived_arrays() 795 if (binding->BufferObj) { in _mesa_update_vao_derived_arrays() 836 struct gl_buffer_object *bo = binding->BufferObj; in _mesa_vao_map_arrays() 878 struct gl_buffer_object *bo = binding->BufferObj; in _mesa_vao_unmap_arrays()
|
D | texgetimage.c | 705 if (ctx->Pack.BufferObj) { in _mesa_GetTexSubImage_sw() 713 _mesa_bufferobj_map_range(ctx, 0, ctx->Pack.BufferObj->Size, in _mesa_GetTexSubImage_sw() 714 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj, in _mesa_GetTexSubImage_sw() 764 if (ctx->Pack.BufferObj) { in _mesa_GetTexSubImage_sw() 765 _mesa_bufferobj_unmap(ctx, ctx->Pack.BufferObj, MAP_INTERNAL); in _mesa_GetTexSubImage_sw() 792 if (ctx->Pack.BufferObj) { in get_compressed_texsubimage_sw() 795 _mesa_bufferobj_map_range(ctx, 0, ctx->Pack.BufferObj->Size, in get_compressed_texsubimage_sw() 796 GL_MAP_WRITE_BIT, ctx->Pack.BufferObj, in get_compressed_texsubimage_sw() 839 if (ctx->Pack.BufferObj) { in get_compressed_texsubimage_sw() 840 _mesa_bufferobj_unmap(ctx, ctx->Pack.BufferObj, MAP_INTERNAL); in get_compressed_texsubimage_sw() [all …]
|
D | drawpix.c | 155 if (ctx->Unpack.BufferObj) { in _mesa_DrawPixels() 163 if (_mesa_check_disallowed_mapping(ctx->Unpack.BufferObj)) { in _mesa_DrawPixels() 357 if (ctx->Unpack.BufferObj) { in _mesa_Bitmap() 366 if (_mesa_check_disallowed_mapping(ctx->Unpack.BufferObj)) { in _mesa_Bitmap()
|
D | pixelstore.c | 281 _mesa_reference_buffer_object(ctx, &ctx->Pack.BufferObj, NULL); in _mesa_init_pixelstore() 295 _mesa_reference_buffer_object(ctx, &ctx->Unpack.BufferObj, NULL); in _mesa_init_pixelstore() 312 _mesa_reference_buffer_object(ctx, &ctx->DefaultPacking.BufferObj, NULL); in _mesa_init_pixelstore()
|
D | varray.c | 173 if (vao->BufferBinding[bindingIndex].BufferObj) in _mesa_vertex_attrib_binding() 228 if (binding->BufferObj != vbo || in _mesa_bind_vertex_buffer() 233 _mesa_reference_buffer_object(ctx, &binding->BufferObj, NULL); in _mesa_bind_vertex_buffer() 234 binding->BufferObj = vbo; in _mesa_bind_vertex_buffer() 236 _mesa_reference_buffer_object(ctx, &binding->BufferObj, vbo); in _mesa_bind_vertex_buffer() 2141 buf = vao->BufferBinding[array->BufferBindingIndex].BufferObj; in get_vertex_array_attrib() 2432 buf = vao->BufferBinding[VERT_ATTRIB_GENERIC(index)].BufferObj; in _mesa_GetVertexArrayIndexediv() 2951 vao->BufferBinding[VERT_ATTRIB_GENERIC(bindingIndex)].BufferObj; in vertex_array_vertex_buffer() 3214 else if (binding->BufferObj && binding->BufferObj->Name == buffers[i]) in vertex_array_vertex_buffers() 3215 vbo = binding->BufferObj; in vertex_array_vertex_buffers() [all …]
|
D | polygon.c | 285 if (ctx->Pack.BufferObj) in _mesa_GetnPolygonStippleARB() 286 ctx->Pack.BufferObj->UsageHistory |= USAGE_PIXEL_PACK_BUFFER; in _mesa_GetnPolygonStippleARB()
|
D | readpix.c | 1156 if (ctx->Pack.BufferObj) { in read_pixels() 1167 if (ctx->Pack.BufferObj && in read_pixels() 1168 _mesa_check_disallowed_mapping(ctx->Pack.BufferObj)) { in read_pixels() 1175 if (ctx->Pack.BufferObj) in read_pixels() 1176 ctx->Pack.BufferObj->UsageHistory |= USAGE_PIXEL_PACK_BUFFER; in read_pixels()
|
D | varray.h | 61 if (binding->BufferObj) in _mesa_vertex_attrib_address()
|
D | attrib.c | 1153 _mesa_reference_buffer_object(ctx, &dst->BufferObj, src->BufferObj); in copy_pixelstore() 1186 _mesa_reference_buffer_object(ctx, &dst->BufferObj, src->BufferObj); in copy_vertex_buffer_binding() 1376 _mesa_reference_buffer_object(ctx, &head->Pack.BufferObj, NULL); in _mesa_PopClientAttrib() 1379 _mesa_reference_buffer_object(ctx, &head->Unpack.BufferObj, NULL); in _mesa_PopClientAttrib() 1392 _mesa_reference_buffer_object(ctx, &head->VAO.BufferBinding[i].BufferObj, NULL); in _mesa_PopClientAttrib()
|
D | context.c | 1155 _mesa_reference_buffer_object(ctx, &ctx->Pack.BufferObj, NULL); in _mesa_free_context_data() 1156 _mesa_reference_buffer_object(ctx, &ctx->Unpack.BufferObj, NULL); in _mesa_free_context_data() 1157 _mesa_reference_buffer_object(ctx, &ctx->DefaultPacking.BufferObj, NULL); in _mesa_free_context_data()
|
D | bufferobj.c | 690 return &ctx->Pack.BufferObj; in get_buffer_target() 692 return &ctx->Unpack.BufferObj; in get_buffer_target() 1428 bind_buffer_object(ctx, &ctx->Pack.BufferObj, 0, false); in _mesa_update_default_objects_buffer_objects() 1429 bind_buffer_object(ctx, &ctx->Unpack.BufferObj, 0, false); in _mesa_update_default_objects_buffer_objects() 1546 if (vao->BufferBinding[index].BufferObj == obj) { in unbind() 1926 if (ctx->Pack.BufferObj == bufObj) { in delete_buffers() 1927 bind_buffer_object(ctx, &ctx->Pack.BufferObj, 0, false); in delete_buffers() 1929 if (ctx->Unpack.BufferObj == bufObj) { in delete_buffers() 1930 bind_buffer_object(ctx, &ctx->Unpack.BufferObj, 0, false); in delete_buffers()
|
D | get.c | 1047 buf = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_TEX(ctx->Array.ActiveTexture)].BufferObj; in find_custom_value() 1074 v->value_int = ctx->Pack.BufferObj ? ctx->Pack.BufferObj->Name : 0; in find_custom_value() 1077 v->value_int = ctx->Unpack.BufferObj ? ctx->Unpack.BufferObj->Name : 0; in find_custom_value() 1116 buf = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_POINT_SIZE].BufferObj; in find_custom_value() 2756 buf = ctx->Array.VAO->BufferBinding[VERT_ATTRIB_GENERIC(index)].BufferObj; in find_value_indexed()
|
D | api_arrayelt.c | 1426 if (binding->BufferObj) { in attrib_src() 1427 src = ADD_POINTERS(binding->BufferObj->Mappings[MAP_INTERNAL].Pointer, in attrib_src()
|
D | mtypes.h | 1499 struct gl_buffer_object *BufferObj; /**< GL_ARB_pixel_buffer_object */ member 1582 struct gl_buffer_object *BufferObj; /**< GL_ARB_vertex_buffer_object */ member
|
D | draw.c | 1109 struct gl_buffer_object *bo = binding->BufferObj; in check_array_data() 1235 struct gl_buffer_object *bufObj = binding->BufferObj; in print_draw_arrays()
|
/third_party/mesa3d/src/mesa/state_tracker/ |
D | st_atom_array.cpp | 109 if (binding->BufferObj) { in setup_arrays() 111 _mesa_get_bufferobj_reference(ctx, binding->BufferObj); in setup_arrays() 141 if (binding->BufferObj) { in setup_arrays() 144 _mesa_get_bufferobj_reference(ctx, binding->BufferObj); in setup_arrays()
|
D | st_pbo_compute.c | 958 if (can_copy_direct(pack) && pack->BufferObj) { in download_texture_compute() 959 dst = pack->BufferObj->buffer; in download_texture_compute() 960 assert(pack->BufferObj->Size >= buffer_size); in download_texture_compute() 1134 if (!can_copy_direct(&ctx->Pack) || !ctx->Pack.BufferObj) { in st_GetTexSubImage_shader()
|
D | st_cb_texture.c | 1919 !unpack->BufferObj && in st_TexSubImage() 1989 if (unpack->BufferObj) { in st_TexSubImage() 2240 if (!ctx->Unpack.BufferObj) in st_CompressedTexSubImage() 2297 buf = ctx->Unpack.BufferObj->buffer; in st_CompressedTexSubImage() 2474 if (st->pbo.download_enabled && ctx->Pack.BufferObj) { in st_GetTexSubImage()
|
D | st_cb_readpixels.c | 486 if (st->pbo.download_enabled && pack->BufferObj) { in st_ReadPixels()
|
D | st_pbo.c | 109 struct pipe_resource *buf = store->BufferObj->buffer; in st_pbo_addresses_pixelstore()
|
D | st_cb_drawpixels.c | 498 unpack->BufferObj) { in search_drawpixels_cache()
|
/third_party/mesa3d/src/mesa/vbo/ |
D | vbo_save_draw.c | 148 struct gl_buffer_object *bo = list->cold->VAO[0]->BufferBinding[0].BufferObj; in loopback_vertex_list()
|
D | vbo_save_api.c | 301 if (vao->BufferBinding[0].BufferObj != bo) in compare_vao()
|