Searched refs:rtransfer (Results 1 – 3 of 3) sorted by relevance
/external/mesa3d/src/gallium/drivers/radeonsi/ |
D | r600_texture.c | 40 static void r600_copy_to_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer) in r600_copy_to_staging_texture() argument 42 struct pipe_transfer *transfer = (struct pipe_transfer*)rtransfer; in r600_copy_to_staging_texture() 45 ctx->resource_copy_region(ctx, rtransfer->staging_texture, in r600_copy_to_staging_texture() 52 …atic void r600_copy_from_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer) in r600_copy_from_staging_texture() argument 54 struct pipe_transfer *transfer = (struct pipe_transfer*)rtransfer; in r600_copy_from_staging_texture() 65 rtransfer->staging_texture, in r600_copy_from_staging_texture() 379 struct r600_transfer *rtransfer = (struct r600_transfer*)transfer; in si_texture_transfer_destroy() local 383 if (rtransfer->staging_texture) { in si_texture_transfer_destroy() 385 r600_copy_from_staging_texture(ctx, rtransfer); in si_texture_transfer_destroy() 387 pipe_resource_reference(&rtransfer->staging_texture, NULL); in si_texture_transfer_destroy() [all …]
|
/external/mesa3d/src/gallium/drivers/r600/ |
D | r600_buffer.c | 145 struct r600_transfer *rtransfer = (struct r600_transfer*)transfer; in r600_buffer_transfer_map() 147 rtransfer->staging = (struct r600_resource*) in r600_buffer_transfer_map() 150 return rctx->ws->buffer_map(rtransfer->staging->cs_buf, rctx->cs, PIPE_TRANSFER_WRITE); in r600_buffer_transfer_map() 165 struct r600_transfer *rtransfer = (struct r600_transfer*)transfer; in r600_buffer_transfer_unmap() local 167 if (rtransfer->staging) { in r600_buffer_transfer_unmap() 173 &rtransfer->staging->b.b, &box); in r600_buffer_transfer_unmap() 174 pipe_resource_reference((struct pipe_resource**)&rtransfer->staging, NULL); in r600_buffer_transfer_unmap()
|
D | r600_texture.c | 35 static void r600_copy_to_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer) in r600_copy_to_staging_texture() argument 37 struct pipe_transfer *transfer = (struct pipe_transfer*)rtransfer; in r600_copy_to_staging_texture() 40 ctx->resource_copy_region(ctx, &rtransfer->staging->b.b, in r600_copy_to_staging_texture() 47 …atic void r600_copy_from_staging_texture(struct pipe_context *ctx, struct r600_transfer *rtransfer) in r600_copy_from_staging_texture() argument 49 struct pipe_transfer *transfer = (struct pipe_transfer*)rtransfer; in r600_copy_from_staging_texture() 57 &rtransfer->staging->b.b, in r600_copy_from_staging_texture() 714 struct r600_transfer *rtransfer = (struct r600_transfer*)transfer; in r600_texture_transfer_destroy() local 718 if ((transfer->usage & PIPE_TRANSFER_WRITE) && rtransfer->staging) { in r600_texture_transfer_destroy() 722 &rtransfer->staging->b.b, transfer->level, in r600_texture_transfer_destroy() 725 r600_copy_from_staging_texture(ctx, rtransfer); in r600_texture_transfer_destroy() [all …]
|