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.c215 util_range_set_empty(&res->valid_buffer_range); in r600_alloc_resource()
231 util_range_destroy(&rbuffer->valid_buffer_range); in r600_buffer_destroy()
260 util_range_set_empty(&rbuffer->valid_buffer_range); in r600_invalidate_buffer()
380 !util_ranges_intersect(&rbuffer->valid_buffer_range, box->x, box->x + box->width)) { in r600_buffer_transfer_map()
505 util_range_add(&rbuffer->b.b, &rbuffer->valid_buffer_range, box->x, in r600_buffer_do_flush_region()
593 util_range_init(&rbuffer->valid_buffer_range); in r600_alloc_buffer_struct()
649 util_range_add(&rbuffer->b.b, &rbuffer->valid_buffer_range, 0, templ->width0); in r600_buffer_from_user_memory()
650 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/virgl/
Dvirgl_resource.c134 !util_ranges_intersect(&res->valid_buffer_range, xfer->base.box.x, in virgl_resource_transfer_prepare()
364 util_range_set_empty(&res->valid_buffer_range); in virgl_resource_realloc()
447 util_range_set_empty(&vres->valid_buffer_range); in virgl_resource_transfer_map()
451 util_range_add(&vres->b, &vres->valid_buffer_range, box->x, box->x + box->width); in virgl_resource_transfer_map()
544 util_range_init(&res->valid_buffer_range); in virgl_resource_create()
661 if (!util_ranges_intersect(&vbuf->valid_buffer_range, in virgl_buffer_subdata()
666 util_range_add(&vbuf->b, &vbuf->valid_buffer_range, offset, offset + size); in virgl_buffer_subdata()
770 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.h60 struct util_range valid_buffer_range; member
/third_party/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c196 util_range_set_empty(&res->valid_buffer_range); in si_alloc_resource()
218 util_range_destroy(&buffer->valid_buffer_range); in si_resource_destroy()
270 util_range_set_empty(&buf->valid_buffer_range); in si_invalidate_buffer()
369 !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()
575 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()
/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/d3d12/
Dd3d12_resource.cpp57 util_range_init(&res->valid_buffer_range); in init_valid_range()
66 util_range_destroy(&resource->valid_buffer_range); in d3d12_resource_destroy()
639 !util_ranges_intersect(&res->valid_buffer_range, range->Begin, range->End)) { in synchronize()
651 util_range_add(&res->base, &res->valid_buffer_range, in synchronize()
1059 if (res->valid_buffer_range.end > res->valid_buffer_range.start) { in d3d12_resource_make_writeable()
1062 box.x = res->valid_buffer_range.start; in d3d12_resource_make_writeable()
1065 box.width = res->valid_buffer_range.end - res->valid_buffer_range.start; in d3d12_resource_make_writeable()
Dd3d12_resource.h47 struct util_range valid_buffer_range; member
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.h327 struct util_range valid_buffer_range; member
362 struct util_range *valid_buffer_range; member
Du_threaded_context.c678 util_range_init(&tres->valid_buffer_range); in threaded_resource_init()
693 util_range_destroy(&tres->valid_buffer_range); in threaded_resource_deinit()
1502 util_range_add(&tres->b, &tres->valid_buffer_range, in tc_set_shader_images()
1594 util_range_add(&tres->b, &tres->valid_buffer_range, in tc_set_shader_buffers()
1837 util_range_add(&tres->b, &tres->valid_buffer_range, buffer_offset, in tc_create_stream_output_target()
1984 util_range_set_empty(&tbuf->valid_buffer_range); in tc_invalidate_buffer()
2029 util_range_set_empty(&tbuf->valid_buffer_range); in tc_invalidate_buffer()
2096 !util_ranges_intersect(&tres->valid_buffer_range, offset, offset + size)) || in tc_improve_map_buffer_flags()
2171 ttrans->valid_buffer_range = &tres->valid_buffer_range; in tc_buffer_map()
2205 threaded_transfer(*transfer)->valid_buffer_range = &tres->valid_buffer_range; in tc_buffer_map()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_resource.c335 util_range_destroy(&res->valid_buffer_range); in crocus_resource_destroy()
362 util_range_init(&res->valid_buffer_range); in crocus_alloc_resource()
802 util_range_add(&res->base.b, &res->valid_buffer_range, 0, templ->width0); in crocus_resource_from_user_memory()
1144 if (res->valid_buffer_range.start > res->valid_buffer_range.end) in crocus_invalidate_resource()
1151 util_range_set_empty(&res->valid_buffer_range); in crocus_invalidate_resource()
1176 util_range_set_empty(&res->valid_buffer_range); in crocus_invalidate_resource()
1584 !util_ranges_intersect(&res->valid_buffer_range, box->x, in can_promote_to_async()
1654 util_ranges_intersect(&res->valid_buffer_range, box->x, in crocus_transfer_map()
1658 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in crocus_transfer_map()
1744 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/drivers/panfrost/
Dpan_resource.h65 struct util_range valid_buffer_range; member
Dpan_compute.c124 util_range_add(&rsrc->base, &rsrc->valid_buffer_range, in panfrost_set_global_binding()
Dpan_resource.c650 util_range_init(&so->valid_buffer_range); in panfrost_resource_create_with_modifier()
736 util_range_destroy(&rsrc->valid_buffer_range); in panfrost_resource_destroy()
903 && !util_ranges_intersect(&rsrc->valid_buffer_range, box->x, box->x + box->width)) && in panfrost_ptr_map()
961 … && !util_ranges_intersect(&rsrc->valid_buffer_range, box->x, box->x + box->width)) { in panfrost_ptr_map()
1222 util_range_add(&prsrc->base, &prsrc->valid_buffer_range, in panfrost_ptr_unmap()
1243 util_range_add(&rsc->base, &rsc->valid_buffer_range, in panfrost_ptr_flush_region()
/third_party/mesa3d/src/gallium/drivers/etnaviv/
Detnaviv_transfer.c180 &rsc->valid_buffer_range, in etna_transfer_unmap()
216 !util_ranges_intersect(&rsc->valid_buffer_range, in etna_transfer_map()
503 &rsc->valid_buffer_range, in etna_transfer_flush_region()
Detnaviv_resource.h90 struct util_range valid_buffer_range; member
Detnaviv_resource.c271 util_range_init(&rsc->valid_buffer_range); in etna_resource_alloc()
473 util_range_destroy(&rsc->valid_buffer_range); in etna_resource_destroy()
512 util_range_init(&rsc->valid_buffer_range); in etna_resource_from_handle()
/third_party/mesa3d/src/gallium/drivers/zink/
Dzink_blit.c50 util_range_add(info->dst.resource, &dst->valid_buffer_range, in blit_resolve()
169 util_range_add(info->dst.resource, &dst->valid_buffer_range, in blit_native()
305 util_range_add(info->dst.resource, &dst->valid_buffer_range, in zink_blit()
Dzink_resource.h100 struct util_range valid_buffer_range; member
Dzink_resource.c109 util_range_destroy(&res->valid_buffer_range); in zink_resource_destroy()
773 util_range_init(&res->valid_buffer_range); in resource_create()
1017 if (res->valid_buffer_range.start > res->valid_buffer_range.end) in invalidate_buffer()
1025 util_range_set_empty(&res->valid_buffer_range); in invalidate_buffer()
1179 !util_ranges_intersect(&res->valid_buffer_range, box->x, box->x + box->width)) { in zink_buffer_map()
1311 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in zink_buffer_map()
/third_party/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c226 util_range_set_empty(&rsc->valid_buffer_range); in realloc_bo()
665 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, in fd_resource_transfer_flush_region()
715 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, ptrans->box.x, in fd_resource_transfer_unmap()
738 util_range_set_empty(&rsc->valid_buffer_range); in invalidate_resource()
927 !util_ranges_intersect(&rsc->valid_buffer_range, box->x, in improve_transfer_map_usage()
1016 util_range_destroy(&rsc->valid_buffer_range); in fd_resource_destroy()
1101 util_range_init(&rsc->valid_buffer_range); in alloc_resource_struct()
Dfreedreno_state.c175 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, in fd_set_shader_buffers()
220 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, in fd_set_shader_images()
533 util_range_add(&rsc->b.b, &rsc->valid_buffer_range, buffer_offset, in fd_create_stream_output_target()
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_resource.c457 util_range_destroy(&res->valid_buffer_range); in iris_resource_destroy()
486 util_range_init(&res->valid_buffer_range); in iris_alloc_resource()
1187 util_range_add(&res->base.b, &res->valid_buffer_range, 0, templ->width0); in iris_resource_from_user_memory()
1765 if (res->valid_buffer_range.start > res->valid_buffer_range.end) in iris_invalidate_resource()
1772 util_range_set_empty(&res->valid_buffer_range); in iris_invalidate_resource()
1797 util_range_set_empty(&res->valid_buffer_range); in iris_invalidate_resource()
2178 !util_ranges_intersect(&res->valid_buffer_range, box->x, in can_promote_to_async()
2260 util_ranges_intersect(&res->valid_buffer_range, box->x, in iris_transfer_map()
2264 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in iris_transfer_map()
2357 util_range_add(&res->base.b, &res->valid_buffer_range, box->x, box->x + box->width); in iris_transfer_flush_region()

123