Lines Matching refs:transfer
56 struct pipe_transfer *transfer = util_slab_alloc(&rctx->pool_transfers); in r600_get_transfer() local
58 transfer->resource = resource; in r600_get_transfer()
59 transfer->level = level; in r600_get_transfer()
60 transfer->usage = usage; in r600_get_transfer()
61 transfer->box = *box; in r600_get_transfer()
62 transfer->stride = 0; in r600_get_transfer()
63 transfer->layer_stride = 0; in r600_get_transfer()
64 transfer->data = NULL; in r600_get_transfer()
69 return transfer; in r600_get_transfer()
73 struct pipe_transfer *transfer) in r600_buffer_transfer_map() argument
75 struct si_resource *rbuffer = si_resource(transfer->resource); in r600_buffer_transfer_map()
79 data = rctx->ws->buffer_map(rbuffer->cs_buf, rctx->cs, transfer->usage); in r600_buffer_transfer_map()
83 return (uint8_t*)data + transfer->box.x; in r600_buffer_transfer_map()
87 struct pipe_transfer *transfer) in r600_buffer_transfer_unmap() argument
93 struct pipe_transfer *transfer, in r600_buffer_transfer_flush_region() argument
99 struct pipe_transfer *transfer) in r600_transfer_destroy() argument
102 util_slab_free(&rctx->pool_transfers, transfer); in r600_transfer_destroy()