Home
last modified time | relevance | path

Searched refs:valid_buffer_range (Results 1 – 25 of 63) sorted by relevance

123

/third_party/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c192 util_range_set_empty(&res->valid_buffer_range); in r600_alloc_resource()
208 util_range_destroy(&rbuffer->valid_buffer_range); in r600_buffer_destroy()
237 util_range_set_empty(&rbuffer->valid_buffer_range); in r600_invalidate_buffer()
353 !util_ranges_intersect(&rbuffer->valid_buffer_range, box->x, box->x + box->width)) { in r600_buffer_transfer_map()
478 util_range_add(&rbuffer->b.b, &rbuffer->valid_buffer_range, box->x, in r600_buffer_do_flush_region()
567 util_range_init(&rbuffer->valid_buffer_range); in r600_alloc_buffer_struct()
631 util_range_add(&rbuffer->b.b, &rbuffer->valid_buffer_range, 0, templ->width0); in r600_buffer_from_user_memory()
632 util_range_add(&rbuffer->b.b, &rbuffer->b.valid_buffer_range, 0, templ->width0); in r600_buffer_from_user_memory()
Devergreen_hw_context.c46 util_range_add(&rdst->b.b, &rdst->valid_buffer_range, dst_offset, in evergreen_dma_copy_buffer()
96 util_range_add(dst, &r600_resource(dst)->valid_buffer_range, offset, in evergreen_cp_dma_clear_buffer()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c199 util_range_set_empty(&res->valid_buffer_range); in si_alloc_resource()
221 util_range_destroy(&buffer->valid_buffer_range); in si_resource_destroy()
273 util_range_set_empty(&buf->valid_buffer_range); in si_invalidate_buffer()
368 !util_ranges_intersect(&buf->valid_buffer_range, box->x, box->x + box->width)) { in si_buffer_transfer_map()
497 util_range_add(&buf->b.b, &buf->valid_buffer_range, box->x, box->x + box->width); in si_buffer_do_flush_region()
576 util_range_init(&buf->valid_buffer_range); in si_alloc_buffer_struct()
638 util_range_add(&buf->b.b, &buf->valid_buffer_range, 0, templ->width0); in si_buffer_from_user_memory()
639 util_range_add(&buf->b.b, &buf->b.valid_buffer_range, 0, templ->width0); in si_buffer_from_user_memory()
709 util_range_add(&res->b.b, &res->valid_buffer_range, 0, templ->width0); in si_buffer_from_winsys_buffer()
710 util_range_add(&res->b.b, &res->b.valid_buffer_range, 0, templ->width0); in si_buffer_from_winsys_buffer()
Dsi_cp_dma.c213 util_range_add(dst, &sdst->valid_buffer_range, offset, offset + size); in si_cp_dma_clear_buffer()
304 util_range_add(dst, &si_resource(dst)->valid_buffer_range, dst_offset, dst_offset + size); in si_cp_dma_copy_buffer()
/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_resource.c192 !util_ranges_intersect(&res->valid_buffer_range, xfer->base.box.x, in virgl_resource_transfer_prepare()
470 util_range_set_empty(&res->valid_buffer_range); in virgl_resource_realloc()
578 util_range_set_empty(&vres->valid_buffer_range); in virgl_resource_transfer_map()
582 util_range_add(&vres->b, &vres->valid_buffer_range, box->x, box->x + box->width); in virgl_resource_transfer_map()
688 util_range_init(&res->valid_buffer_range); in virgl_resource_create_front()
812 if (!util_ranges_intersect(&vbuf->valid_buffer_range, in virgl_buffer_subdata()
817 util_range_add(&vbuf->b, &vbuf->valid_buffer_range, offset, offset + size); in virgl_buffer_subdata()
915 util_range_destroy(&res->valid_buffer_range); in virgl_resource_destroy()
Dvirgl_streamout.c53 util_range_add(&res->b, &res->valid_buffer_range, buffer_offset, in virgl_create_so_target()
Dvirgl_resource.h59 struct util_range valid_buffer_range; member
/third_party/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.c76 util_range_set_empty(&buf->valid_buffer_range); in nouveau_buffer_allocate()
145 util_range_destroy(&res->valid_buffer_range); in nouveau_buffer_destroy()
426 !util_ranges_intersect(&buf->valid_buffer_range, box->x, box->x + box->width)) in nouveau_buffer_transfer_map()
540 util_range_add(&buf->base, &buf->valid_buffer_range, in nouveau_buffer_transfer_flush_region()
568 util_range_add(&buf->base, &buf->valid_buffer_range, in nouveau_buffer_transfer_unmap()
622 util_range_add(&dst->base, &dst->valid_buffer_range, dstx, dstx + size); in nouveau_copy_buffer()
736 util_range_init(&buffer->valid_buffer_range); in nouveau_buffer_create()
793 util_range_init(&buffer->valid_buffer_range); in nouveau_user_buffer_create()
794 util_range_add(&buffer->base, &buffer->valid_buffer_range, 0, bytes); in nouveau_user_buffer_create()
930 util_range_set_empty(&buf->valid_buffer_range); in nouveau_buffer_invalidate()
Dnouveau_buffer.h54 struct util_range valid_buffer_range; member
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resource.c344 util_range_destroy(&res->valid_buffer_range); in crocus_resource_destroy()
371 util_range_init(&res->valid_buffer_range); in crocus_alloc_resource()
816 util_range_add(&res->base.b, &res->valid_buffer_range, 0, templ->width0); in crocus_resource_from_user_memory()
1158 if (res->valid_buffer_range.start > res->valid_buffer_range.end) in crocus_invalidate_resource()
1165 util_range_set_empty(&res->valid_buffer_range); in crocus_invalidate_resource()
1190 util_range_set_empty(&res->valid_buffer_range); in crocus_invalidate_resource()
1598 !util_ranges_intersect(&res->valid_buffer_range, box->x, in can_promote_to_async()
1667 util_ranges_intersect(&res->valid_buffer_range, box->x, in crocus_transfer_map()
1671 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in crocus_transfer_map()
1757 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in crocus_transfer_flush_region()
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.h354 struct util_range valid_buffer_range; member
396 struct util_range *valid_buffer_range; member
Du_threaded_context.c715 util_range_init(&tres->valid_buffer_range); in threaded_resource_init()
741 util_range_destroy(&tres->valid_buffer_range); in threaded_resource_deinit()
1560 util_range_add(&tres->b, &tres->valid_buffer_range, in tc_set_shader_images()
1653 util_range_add(&tres->b, &tres->valid_buffer_range, in tc_set_shader_buffers()
1897 util_range_add(&tres->b, &tres->valid_buffer_range, buffer_offset, in tc_create_stream_output_target()
2049 util_range_set_empty(&tbuf->valid_buffer_range); in tc_invalidate_buffer()
2094 util_range_set_empty(&tbuf->valid_buffer_range); in tc_invalidate_buffer()
2163 !util_ranges_intersect(&tres->valid_buffer_range, offset, offset + size)) || in tc_improve_map_buffer_flags()
2236 if (tres->cpu_storage && tres->valid_buffer_range.end) { in tc_buffer_map()
2241 … unsigned valid_range_len = tres->valid_buffer_range.end - tres->valid_buffer_range.start; in tc_buffer_map()
[all …]
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_transfer.c180 &rsc->valid_buffer_range, in etna_transfer_unmap()
213 !util_ranges_intersect(&rsc->valid_buffer_range, in etna_transfer_map()
490 &rsc->valid_buffer_range, in etna_transfer_flush_region()
Detnaviv_resource.h90 struct util_range valid_buffer_range; member
Detnaviv_resource.c266 util_range_init(&rsc->valid_buffer_range); in etna_resource_alloc()
452 util_range_destroy(&rsc->valid_buffer_range); in etna_resource_destroy()
489 util_range_init(&rsc->valid_buffer_range); in etna_resource_from_handle()
/third_party/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.h68 struct util_range valid_buffer_range; member
Dpan_compute.c123 util_range_add(&rsrc->base, &rsrc->valid_buffer_range, in panfrost_set_global_binding()
Dpan_resource.c620 util_range_init(&so->valid_buffer_range); in panfrost_resource_create_with_modifier()
785 util_range_destroy(&rsrc->valid_buffer_range); in panfrost_resource_destroy()
1037 && !util_ranges_intersect(&rsrc->valid_buffer_range, box->x, box->x + box->width)) && in panfrost_ptr_map()
1105 … && !util_ranges_intersect(&rsrc->valid_buffer_range, box->x, box->x + box->width)) { in panfrost_ptr_map()
1357 util_range_add(&prsrc->base, &prsrc->valid_buffer_range, in panfrost_ptr_unmap()
1378 util_range_add(&rsc->base, &rsc->valid_buffer_range, in panfrost_ptr_flush_region()
Dpan_helpers.c254 util_range_add(&rsrc->base, &rsrc->valid_buffer_range, in panfrost_track_image_access()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resource.c493 util_range_destroy(&res->valid_buffer_range); in iris_resource_destroy()
519 util_range_init(&res->valid_buffer_range); in iris_alloc_resource()
1320 util_range_add(&res->base.b, &res->valid_buffer_range, 0, templ->width0); in iris_resource_from_user_memory()
1914 if (res->valid_buffer_range.start > res->valid_buffer_range.end) in iris_invalidate_resource()
1921 util_range_set_empty(&res->valid_buffer_range); in iris_invalidate_resource()
1947 util_range_set_empty(&res->valid_buffer_range); in iris_invalidate_resource()
2335 !util_ranges_intersect(&res->valid_buffer_range, box->x, in can_promote_to_async()
2416 util_ranges_intersect(&res->valid_buffer_range, box->x, in iris_transfer_map()
2420 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in iris_transfer_map()
2499 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in iris_transfer_flush_region()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c228 util_range_set_empty(&rsc->valid_buffer_range); in realloc_bo()
667 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, in fd_resource_transfer_flush_region()
717 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, ptrans->box.x, in fd_resource_transfer_unmap()
740 util_range_set_empty(&rsc->valid_buffer_range); in invalidate_resource()
951 !util_ranges_intersect(&rsc->valid_buffer_range, box->x, in improve_transfer_map_usage()
1038 util_range_destroy(&rsc->valid_buffer_range); in fd_resource_destroy()
1123 util_range_init(&rsc->valid_buffer_range); in alloc_resource_struct()
Dfreedreno_state.c177 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, in fd_set_shader_buffers()
222 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, in fd_set_shader_images()
547 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, buffer_offset, in fd_create_stream_output_target()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_resource.h53 struct util_range valid_buffer_range; member
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_resource.h122 struct util_range valid_buffer_range; member
Dzink_resource.c129 util_range_destroy(&res->valid_buffer_range); in zink_resource_destroy()
1131 util_range_init(&res->valid_buffer_range); in resource_create()
1579 if (res->valid_buffer_range.start > res->valid_buffer_range.end) in invalidate_buffer()
1587 util_range_set_empty(&res->valid_buffer_range); in invalidate_buffer()
1746 !util_ranges_intersect(&res->valid_buffer_range, box->x, box->x + box->width)) { in zink_buffer_map()
1887 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in zink_buffer_map()

123