Lines Matching refs:rtransfer
134 static void r600_copy_to_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer) in r600_copy_to_staging_texture() argument
137 struct pipe_transfer *transfer = (struct pipe_transfer*)rtransfer; in r600_copy_to_staging_texture()
138 struct pipe_resource *dst = &rtransfer->staging->b.b; in r600_copy_to_staging_texture()
152 …atic void r600_copy_from_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer) in r600_copy_from_staging_texture() argument
155 struct pipe_transfer *transfer = (struct pipe_transfer*)rtransfer; in r600_copy_from_staging_texture()
157 struct pipe_resource *src = &rtransfer->staging->b.b; in r600_copy_from_staging_texture()
1480 struct r600_transfer *rtransfer = (struct r600_transfer*)transfer; in r600_texture_transfer_unmap() local
1484 if ((transfer->usage & PIPE_MAP_WRITE) && rtransfer->staging) { in r600_texture_transfer_unmap()
1488 &rtransfer->staging->b.b, transfer->level, in r600_texture_transfer_unmap()
1491 r600_copy_from_staging_texture(ctx, rtransfer); in r600_texture_transfer_unmap()
1495 if (rtransfer->staging) { in r600_texture_transfer_unmap()
1496 rctx->num_alloc_tex_transfer_bytes += rtransfer->staging->buf->size; in r600_texture_transfer_unmap()
1497 r600_resource_reference(&rtransfer->staging, NULL); in r600_texture_transfer_unmap()