Home
last modified time | relevance | path

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

12

/external/mesa3d/src/gallium/drivers/virgl/
Dvirgl_buffer.c36 util_range_destroy(&vbuf->valid_buffer_range); in virgl_buffer_destroy()
135 util_range_add(&vbuf->valid_buffer_range, transfer->box.x + box->x, in virgl_buffer_transfer_flush_region()
162 util_range_init(&buf->valid_buffer_range); in virgl_buffer_create()
169 util_range_set_empty(&buf->valid_buffer_range); in virgl_buffer_create()
Dvirgl_resource.h59 struct util_range valid_buffer_range; member
Dvirgl_context.c69 box.x = vbuf->valid_buffer_range.start; in virgl_buffer_flush()
70 …box.width = MIN2(vbuf->valid_buffer_range.end - vbuf->valid_buffer_range.start, vbuf->base.u.b.wid… in virgl_buffer_flush()
76 util_range_set_empty(&vbuf->valid_buffer_range); in virgl_buffer_flush()
/external/mesa3d/src/gallium/drivers/radeon/
Dr600_buffer_common.c225 util_range_set_empty(&res->valid_buffer_range); in si_alloc_resource()
243 util_range_destroy(&rbuffer->valid_buffer_range); in r600_buffer_destroy()
271 util_range_set_empty(&rbuffer->valid_buffer_range); in r600_invalidate_buffer()
377 !util_ranges_intersect(&rbuffer->valid_buffer_range, box->x, box->x + box->width)) { in r600_buffer_transfer_map()
517 util_range_add(&rbuffer->valid_buffer_range, box->x, in r600_buffer_do_flush_region()
605 util_range_init(&rbuffer->valid_buffer_range); in r600_alloc_buffer_struct()
664 util_range_add(&rbuffer->valid_buffer_range, 0, templ->width0); in si_buffer_from_user_memory()
665 util_range_add(&rbuffer->b.valid_buffer_range, 0, templ->width0); in si_buffer_from_user_memory()
Dr600_pipe_common.h162 struct util_range valid_buffer_range; member
/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c222 util_range_set_empty(&res->valid_buffer_range); in r600_alloc_resource()
239 util_range_destroy(&rbuffer->valid_buffer_range); in r600_buffer_destroy()
268 util_range_set_empty(&rbuffer->valid_buffer_range); in r600_invalidate_buffer()
384 !util_ranges_intersect(&rbuffer->valid_buffer_range, box->x, box->x + box->width)) { in r600_buffer_transfer_map()
509 util_range_add(&rbuffer->valid_buffer_range, box->x, in r600_buffer_do_flush_region()
597 util_range_init(&rbuffer->valid_buffer_range); in r600_alloc_buffer_struct()
653 util_range_add(&rbuffer->valid_buffer_range, 0, templ->width0); in r600_buffer_from_user_memory()
654 util_range_add(&rbuffer->b.valid_buffer_range, 0, templ->width0); in r600_buffer_from_user_memory()
Devergreen_hw_context.c46 util_range_add(&rdst->valid_buffer_range, dst_offset, in evergreen_dma_copy_buffer()
98 util_range_add(&r600_resource(dst)->valid_buffer_range, offset, in evergreen_cp_dma_clear_buffer()
Dr600_hw_context.c501 util_range_add(&r600_resource(dst)->valid_buffer_range, dst_offset, in r600_cp_dma_copy_buffer()
583 util_range_add(&rdst->valid_buffer_range, dst_offset, in r600_dma_copy_buffer()
Dr600_streamout.c68 util_range_add(&rbuffer->valid_buffer_range, buffer_offset, in r600_create_so_target()
Dr600_pipe_common.h166 struct util_range valid_buffer_range; member
/external/mesa3d/src/gallium/drivers/nouveau/
Dnouveau_buffer.c67 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->valid_buffer_range, in nouveau_buffer_transfer_flush_region()
544 util_range_add(&buf->valid_buffer_range, in nouveau_buffer_transfer_unmap()
595 util_range_add(&dst->valid_buffer_range, dstx, dstx + size); in nouveau_copy_buffer()
696 util_range_init(&buffer->valid_buffer_range); in nouveau_buffer_create()
729 util_range_init(&buffer->valid_buffer_range); in nouveau_user_buffer_create()
730 util_range_add(&buffer->valid_buffer_range, 0, bytes); in nouveau_user_buffer_create()
865 util_range_set_empty(&buf->valid_buffer_range); in nouveau_buffer_invalidate()
Dnouveau_buffer.h52 struct util_range valid_buffer_range; member
/external/mesa3d/src/gallium/drivers/freedreno/
Dfreedreno_resource.c113 util_range_set_empty(&rsc->valid_buffer_range); in realloc_bo()
361 util_range_add(&rsc->valid_buffer_range, in fd_resource_transfer_flush_region()
429 util_range_add(&rsc->valid_buffer_range, in fd_resource_transfer_unmap()
525 !util_ranges_intersect(&rsc->valid_buffer_range, in fd_resource_transfer_map()
647 util_range_destroy(&rsc->valid_buffer_range); in fd_resource_destroy()
836 util_range_init(&rsc->valid_buffer_range); in fd_resource_create()
916 util_range_init(&rsc->valid_buffer_range); in fd_resource_from_handle()
Dfreedreno_resource.h75 struct util_range valid_buffer_range; member
Dfreedreno_state.c436 util_range_add(&rsc->valid_buffer_range, in fd_create_stream_output_target()
/external/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.c266 util_range_init(&tres->valid_buffer_range); in threaded_resource_init()
267 tres->base_valid_buffer_range = &tres->valid_buffer_range; in threaded_resource_init()
279 util_range_destroy(&tres->valid_buffer_range); in threaded_resource_deinit()
881 util_range_add(&tres->valid_buffer_range, images[i].u.buf.offset, in tc_set_shader_images()
943 util_range_add(&tres->valid_buffer_range, src->buffer_offset, in tc_set_shader_buffers()
1133 util_range_add(&tres->valid_buffer_range, buffer_offset, in tc_create_stream_output_target()
1322 util_range_set_empty(&tbuf->valid_buffer_range); in tc_invalidate_buffer()
1326 &tbuf->valid_buffer_range; in tc_invalidate_buffer()
1397 !util_ranges_intersect(&tres->valid_buffer_range, offset, offset + size)) in tc_improve_map_buffer_flags()
1652 util_range_add(&tres->valid_buffer_range, offset, offset + size); in tc_buffer_subdata()
[all …]
Du_threaded_context.h263 struct util_range valid_buffer_range; member
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_dma.c44 util_range_add(&rdst->valid_buffer_range, dst_offset, in si_dma_copy_buffer()
98 util_range_add(&rdst->valid_buffer_range, offset, offset + size); in si_dma_clear_buffer()
Dsi_cp_dma.c226 util_range_add(&rdst->valid_buffer_range, offset, in si_clear_buffer()
418 util_range_add(&r600_resource(dst)->valid_buffer_range, dst_offset, in si_copy_buffer()
Dcik_sdma.c43 util_range_add(&rdst->valid_buffer_range, dst_offset, in cik_sdma_copy_buffer()
89 util_range_add(&rdst->valid_buffer_range, offset, offset + size); in cik_sdma_clear_buffer()
Dsi_state_streamout.c68 util_range_add(&rbuffer->valid_buffer_range, buffer_offset, in si_create_so_target()
Dsi_descriptors.c672 util_range_add(&res->valid_buffer_range, in si_mark_image_range_valid()
1287 util_range_add(&buf->valid_buffer_range, sbuffer->buffer_offset, in si_set_shader_buffers()
/external/mesa3d/src/gallium/drivers/nouveau/nvc0/
Dnvc0_compute.c289 util_range_add(&res->valid_buffer_range, in nvc0_compute_validate_buffers()
Dnve4_compute.c449 util_range_add(&res->valid_buffer_range, in nve4_compute_validate_buffers()
Dnvc0_state_validate.c561 util_range_add(&res->valid_buffer_range, in nvc0_validate_buffers()

12