Lines Matching refs:transfer
259 struct pipe_transfer **transfer)
270 *transfer = pipe->get_transfer( pipe,
276 if (*transfer == NULL)
279 map = pipe->transfer_map( pipe, *transfer );
281 pipe->transfer_destroy( pipe, *transfer );
282 *transfer = NULL;
294 struct pipe_transfer **transfer)
296 return pipe_buffer_map_range(pipe, buffer, 0, buffer->width0, usage, transfer);
302 struct pipe_transfer *transfer)
304 if (transfer) {
305 pipe->transfer_unmap(pipe, transfer);
306 pipe->transfer_destroy(pipe, transfer);
312 struct pipe_transfer *transfer,
320 assert(transfer->box.x <= offset);
321 assert(offset + length <= transfer->box.x + transfer->box.width);
327 transfer_offset = offset - transfer->box.x;
331 pipe->transfer_flush_region(pipe, transfer, &box);
442 struct pipe_transfer *transfer )
444 return context->transfer_map( context, transfer );
449 struct pipe_transfer *transfer )
451 context->transfer_unmap( context, transfer );
457 struct pipe_transfer *transfer )
459 context->transfer_destroy(context, transfer);