Lines Matching refs:ctx
48 static void r300_copy_from_tiled_texture(struct pipe_context *ctx,
56 ctx->resource_copy_region(ctx, dst, 0, 0, 0, 0,
75 ctx->blit(ctx, &blit);
80 static void r300_copy_into_tiled_texture(struct pipe_context *ctx,
91 ctx->resource_copy_region(ctx, tex, transfer->level,
96 r300_flush(ctx, 0, NULL);
100 r300_texture_transfer_map(struct pipe_context *ctx,
107 struct r300_context *r300 = r300_context(ctx);
165 ctx->screen->resource_create(ctx->screen,
171 r300_flush(ctx, 0, NULL);
174 ctx->screen->resource_create(ctx->screen,
197 r300_copy_from_tiled_texture(ctx, trans);
200 r300_flush(ctx, 0, NULL);
210 r300_flush(ctx, 0, NULL);
243 void r300_texture_transfer_unmap(struct pipe_context *ctx,
250 r300_copy_into_tiled_texture(ctx, trans);