Lines Matching full:pctx
71 vc4_resource_transfer_unmap(struct pipe_context *pctx,
74 struct vc4_context *vc4 = vc4_context(pctx);
117 pctx->blit(pctx, &blit);
127 vc4_get_temp_resource(struct pipe_context *pctx,
141 return pctx->screen->resource_create(pctx->screen, &temp_setup);
145 vc4_resource_transfer_map(struct pipe_context *pctx,
151 struct vc4_context *vc4 = vc4_context(pctx);
220 trans->ss_resource = vc4_get_temp_resource(pctx, prsc, box);
248 pctx->blit(pctx, &blit);
365 vc4_resource_transfer_unmap(pctx, ptrans);
631 vc4_create_surface(struct pipe_context *pctx,
649 psurf->context = pctx;
664 vc4_surface_destroy(struct pipe_context *pctx, struct pipe_surface *psurf)
908 vc4_flush_resource(struct pipe_context *pctx, struct pipe_resource *resource)
916 vc4_update_shadow_baselevel_texture(struct pipe_context *pctx,
963 pctx->blit(pctx, &info);
981 vc4_get_shadow_index_buffer(struct pipe_context *pctx,
986 struct vc4_context *vc4 = vc4_context(pctx);
1001 src = pipe_buffer_map_range(pctx, &orig->base.b,
1014 pctx->transfer_unmap(pctx, src_transfer);
1029 vc4_resource_context_init(struct pipe_context *pctx)
1031 pctx->transfer_map = u_transfer_map_vtbl;
1032 pctx->transfer_flush_region = u_transfer_flush_region_vtbl;
1033 pctx->transfer_unmap = u_transfer_unmap_vtbl;
1034 pctx->buffer_subdata = u_default_buffer_subdata;
1035 pctx->texture_subdata = u_default_texture_subdata;
1036 pctx->create_surface = vc4_create_surface;
1037 pctx->surface_destroy = vc4_surface_destroy;
1038 pctx->resource_copy_region = util_resource_copy_region;
1039 pctx->blit = vc4_blit;
1040 pctx->flush_resource = vc4_flush_resource;