Home
last modified time | relevance | path

Searched refs:rtransfer (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/gallium/drivers/r600/
Dr600_buffer_common.c483 struct r600_transfer *rtransfer = (struct r600_transfer*)transfer; in r600_buffer_do_flush_region() local
486 if (rtransfer->staging) { in r600_buffer_do_flush_region()
492 src = &rtransfer->staging->b.b; in r600_buffer_do_flush_region()
493 soffset = rtransfer->offset + box->x % R600_MAP_BUFFER_ALIGNMENT; in r600_buffer_do_flush_region()
524 struct r600_transfer *rtransfer = (struct r600_transfer*)transfer; in r600_buffer_transfer_unmap() local
530 r600_resource_reference(&rtransfer->staging, NULL); in r600_buffer_transfer_unmap()
531 assert(rtransfer->b.staging == NULL); /* for threaded context only */ in r600_buffer_transfer_unmap()
Dr600_texture.c134 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()
[all …]