Home
last modified time | relevance | path

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

12

/external/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->u.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()
611 if (!util_ranges_intersect(&vbuf->valid_buffer_range, in virgl_buffer_subdata()
616 util_range_add(&vbuf->u.b, &vbuf->valid_buffer_range, offset, offset + size); in virgl_buffer_subdata()
718 util_range_destroy(&res->valid_buffer_range); in virgl_resource_destroy()
Dvirgl_streamout.c53 util_range_add(&res->u.b, &res->valid_buffer_range, buffer_offset, in virgl_create_so_target()
Dvirgl_resource.h60 struct util_range valid_buffer_range; member
Dvirgl_query.c117 util_range_add(&query->buf->u.b, &query->buf->valid_buffer_range, 0, in virgl_create_query()
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c214 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()
376 !util_ranges_intersect(&rbuffer->valid_buffer_range, box->x, box->x + box->width)) { in r600_buffer_transfer_map()
501 util_range_add(&rbuffer->b.b, &rbuffer->valid_buffer_range, box->x, in r600_buffer_do_flush_region()
590 util_range_init(&rbuffer->valid_buffer_range); in r600_alloc_buffer_struct()
646 util_range_add(&rbuffer->b.b, &rbuffer->valid_buffer_range, 0, templ->width0); in r600_buffer_from_user_memory()
647 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()
Dr600_hw_context.c513 util_range_add(dst, &r600_resource(dst)->valid_buffer_range, dst_offset, in r600_cp_dma_copy_buffer()
595 util_range_add(&rdst->b.b, &rdst->valid_buffer_range, dst_offset, in r600_dma_copy_buffer()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_buffer.c245 util_range_set_empty(&res->valid_buffer_range); in si_alloc_resource()
265 util_range_destroy(&buffer->valid_buffer_range); in si_buffer_destroy()
299 util_range_set_empty(&buf->valid_buffer_range); in si_invalidate_buffer()
396 !util_ranges_intersect(&buf->valid_buffer_range, box->x, box->x + box->width)) { in si_buffer_transfer_map()
573 util_range_add(&buf->b.b, &buf->valid_buffer_range, box->x, box->x + box->width); in si_buffer_do_flush_region()
658 util_range_init(&buf->valid_buffer_range); in si_alloc_buffer_struct()
718 util_range_add(&buf->b.b, &buf->valid_buffer_range, 0, templ->width0); in si_buffer_from_user_memory()
719 util_range_add(&buf->b.b, &buf->b.valid_buffer_range, 0, templ->width0); in si_buffer_from_user_memory()
Dsi_dma_cs.c52 util_range_add(&dst->b.b, &dst->valid_buffer_range, offset, offset + 8); in si_dma_emit_timestamp()
86 util_range_add(dst, &sdst->valid_buffer_range, offset, offset + size); in si_sdma_clear_buffer()
146 util_range_add(dst, &sdst->valid_buffer_range, dst_offset, dst_offset + size); in si_sdma_copy_buffer()
Dsi_cp_dma.c215 util_range_add(dst, &sdst->valid_buffer_range, offset, offset + size); in si_cp_dma_clear_buffer()
309 util_range_add(dst, &si_resource(dst)->valid_buffer_range, dst_offset, dst_offset + size); in si_cp_dma_copy_buffer()
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.c65 util_range_set_empty(&buf->valid_buffer_range); in nouveau_buffer_allocate()
129 util_range_destroy(&res->valid_buffer_range); in nouveau_buffer_destroy()
406 !util_ranges_intersect(&buf->valid_buffer_range, box->x, box->x + box->width)) in nouveau_buffer_transfer_map()
520 util_range_add(&buf->base, &buf->valid_buffer_range, in nouveau_buffer_transfer_flush_region()
544 util_range_add(&buf->base, &buf->valid_buffer_range, in nouveau_buffer_transfer_unmap()
598 util_range_add(&dst->base, &dst->valid_buffer_range, dstx, dstx + size); in nouveau_copy_buffer()
739 util_range_init(&buffer->valid_buffer_range); in nouveau_buffer_create()
798 util_range_init(&buffer->valid_buffer_range); in nouveau_user_buffer_create()
799 util_range_add(&buffer->base, &buffer->valid_buffer_range, 0, bytes); in nouveau_user_buffer_create()
935 util_range_set_empty(&buf->valid_buffer_range); in nouveau_buffer_invalidate()
Dnouveau_buffer.h55 struct util_range valid_buffer_range; member
/external/mesa3d/src/gallium/drivers/panfrost/
Dpan_resource.h53 struct util_range valid_buffer_range; member
Dpan_resource.c628 util_range_init(&so->valid_buffer_range); in panfrost_resource_create_with_modifier()
691 util_range_destroy(&rsrc->valid_buffer_range); in panfrost_resource_destroy()
854 && !util_ranges_intersect(&rsrc->valid_buffer_range, box->x, box->x + box->width)) && in panfrost_ptr_map()
906 … && !util_ranges_intersect(&rsrc->valid_buffer_range, box->x, box->x + box->width)) { in panfrost_ptr_map()
1069 util_range_add(&prsrc->base, &prsrc->valid_buffer_range, in panfrost_ptr_unmap()
1090 util_range_add(&rsc->base, &rsc->valid_buffer_range, in panfrost_ptr_flush_region()
/external/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.c270 util_range_init(&rsc->valid_buffer_range); in etna_resource_alloc()
472 util_range_destroy(&rsc->valid_buffer_range); in etna_resource_destroy()
511 util_range_init(&rsc->valid_buffer_range); in etna_resource_from_handle()
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c210 util_range_set_empty(&rsc->valid_buffer_range); in realloc_bo()
513 util_range_add(&rsc->base, &rsc->valid_buffer_range, in fd_resource_transfer_flush_region()
582 util_range_add(&rsc->base, &rsc->valid_buffer_range, in fd_resource_transfer_unmap()
686 !util_ranges_intersect(&rsc->valid_buffer_range, in fd_resource_transfer_map()
812 util_range_destroy(&rsc->valid_buffer_range); in fd_resource_destroy()
958 util_range_init(&rsc->valid_buffer_range); in fd_resource_allocate_and_resolve()
1102 util_range_init(&rsc->valid_buffer_range); in fd_resource_from_handle()
Dfreedreno_resource.h54 struct util_range valid_buffer_range; member
/external/mesa3d/src/gallium/drivers/iris/
Diris_resource.c363 util_range_destroy(&res->valid_buffer_range); in iris_resource_destroy()
389 util_range_init(&res->valid_buffer_range); in iris_alloc_resource()
1041 util_range_add(&res->base, &res->valid_buffer_range, 0, templ->width0); in iris_resource_from_user_memory()
1313 if (res->valid_buffer_range.start > res->valid_buffer_range.end) in iris_invalidate_resource()
1320 util_range_set_empty(&res->valid_buffer_range); in iris_invalidate_resource()
1349 util_range_set_empty(&res->valid_buffer_range); in iris_invalidate_resource()
1828 !util_ranges_intersect(&res->valid_buffer_range, box->x, in can_promote_to_async()
1894 util_ranges_intersect(&res->valid_buffer_range, box->x, in iris_transfer_map()
1898 util_range_add(&res->base, &res->valid_buffer_range, box->x, box->x + box->width); in iris_transfer_map()
1990 util_range_add(&res->base, &res->valid_buffer_range, box->x, box->x + box->width); in iris_transfer_flush_region()
Diris_resource.h91 struct util_range valid_buffer_range; member
Diris_blit.c479 util_range_add(&dst_res->base, &dst_res->valid_buffer_range, dst_x0, dst_x1); in iris_blit()
675 util_range_add(&dst_res->base, &dst_res->valid_buffer_range, dstx, dstx + src_box->width); in iris_copy_region()
/external/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.h265 struct util_range valid_buffer_range; member
Du_threaded_context.c336 util_range_init(&tres->valid_buffer_range); in threaded_resource_init()
337 tres->base_valid_buffer_range = &tres->valid_buffer_range; in threaded_resource_init()
349 util_range_destroy(&tres->valid_buffer_range); in threaded_resource_deinit()
982 util_range_add(&tres->b, &tres->valid_buffer_range, in tc_set_shader_images()
1049 util_range_add(&tres->b, &tres->valid_buffer_range, in tc_set_shader_buffers()
1240 util_range_add(&tres->b, &tres->valid_buffer_range, buffer_offset, in tc_create_stream_output_target()
1429 util_range_set_empty(&tbuf->valid_buffer_range); in tc_invalidate_buffer()
1433 &tbuf->valid_buffer_range; in tc_invalidate_buffer()
1507 !util_ranges_intersect(&tres->valid_buffer_range, offset, offset + size)) in tc_improve_map_buffer_flags()
1799 util_range_add(&tres->b, &tres->valid_buffer_range, offset, offset + size); in tc_buffer_subdata()
[all …]
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_query_hw.c412 util_range_add(&buf->base, &buf->valid_buffer_range, offset, in nvc0_hw_get_query_result_resource()
511 util_range_add(&buf->base, &buf->valid_buffer_range, offset, in nvc0_hw_get_query_result_resource()

12