/external/mesa3d/src/gallium/drivers/virgl/ |
D | virgl_resource.c | 134 !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()
|
D | virgl_streamout.c | 53 util_range_add(&res->u.b, &res->valid_buffer_range, buffer_offset, in virgl_create_so_target()
|
D | virgl_resource.h | 60 struct util_range valid_buffer_range; member
|
D | virgl_query.c | 117 util_range_add(&query->buf->u.b, &query->buf->valid_buffer_range, 0, in virgl_create_query()
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_buffer_common.c | 214 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()
|
D | evergreen_hw_context.c | 46 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()
|
D | r600_hw_context.c | 513 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/ |
D | si_buffer.c | 245 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()
|
D | si_dma_cs.c | 52 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()
|
D | si_cp_dma.c | 215 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/ |
D | nouveau_buffer.c | 65 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()
|
D | nouveau_buffer.h | 55 struct util_range valid_buffer_range; member
|
/external/mesa3d/src/gallium/drivers/panfrost/ |
D | pan_resource.h | 53 struct util_range valid_buffer_range; member
|
D | pan_resource.c | 628 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/ |
D | etnaviv_transfer.c | 180 &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()
|
D | etnaviv_resource.h | 90 struct util_range valid_buffer_range; member
|
D | etnaviv_resource.c | 270 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/ |
D | freedreno_resource.c | 210 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()
|
D | freedreno_resource.h | 54 struct util_range valid_buffer_range; member
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_resource.c | 363 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()
|
D | iris_resource.h | 91 struct util_range valid_buffer_range; member
|
D | iris_blit.c | 479 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/ |
D | u_threaded_context.h | 265 struct util_range valid_buffer_range; member
|
D | u_threaded_context.c | 336 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/ |
D | nvc0_query_hw.c | 412 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()
|