Searched refs:staging_rsc (Results 1 – 1 of 1) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/freedreno/ |
D | freedreno_resource.c | 796 struct fd_resource *staging_rsc; in resource_transfer_map() local 800 staging_rsc = fd_alloc_staging(ctx, rsc, level, box); in resource_transfer_map() 801 if (staging_rsc) { in resource_transfer_map() 802 trans->staging_prsc = &staging_rsc->b.b; in resource_transfer_map() 803 trans->b.b.stride = fd_resource_pitch(staging_rsc, 0); in resource_transfer_map() 804 trans->b.b.layer_stride = fd_resource_layer_stride(staging_rsc, 0); in resource_transfer_map() 813 fd_resource_wait(ctx, staging_rsc, FD_BO_PREP_READ); in resource_transfer_map() 816 buf = fd_bo_map(staging_rsc->bo); in resource_transfer_map() 856 struct fd_resource *staging_rsc = NULL; in resource_transfer_map() local 869 staging_rsc = fd_alloc_staging(ctx, rsc, level, box); in resource_transfer_map() [all …]
|