Lines Matching defs:pctx

73 vc4_resource_transfer_unmap(struct pipe_context *pctx,
76 struct vc4_context *vc4 = vc4_context(pctx);
99 vc4_resource_transfer_map(struct pipe_context *pctx,
105 struct vc4_context *vc4 = vc4_context(pctx);
217 vc4_resource_transfer_unmap(pctx, ptrans);
222 vc4_texture_subdata(struct pipe_context *pctx,
238 return u_default_texture_subdata(pctx, prsc, level, usage, box,
284 struct pipe_context *pctx,
331 struct pipe_context *pctx, struct pipe_resource *prsc,
734 vc4_create_surface(struct pipe_context *pctx,
752 psurf->context = pctx;
767 vc4_surface_destroy(struct pipe_context *pctx, struct pipe_surface *psurf)
1005 vc4_flush_resource(struct pipe_context *pctx, struct pipe_resource *resource)
1013 vc4_update_shadow_baselevel_texture(struct pipe_context *pctx,
1016 struct vc4_context *vc4 = vc4_context(pctx);
1063 pctx->blit(pctx, &info);
1081 vc4_get_shadow_index_buffer(struct pipe_context *pctx,
1087 struct vc4_context *vc4 = vc4_context(pctx);
1102 src = pipe_buffer_map_range(pctx, &orig->base,
1115 pctx->buffer_unmap(pctx, src_transfer);
1158 vc4_resource_context_init(struct pipe_context *pctx)
1160 pctx->buffer_map = u_transfer_helper_transfer_map;
1161 pctx->texture_map = u_transfer_helper_transfer_map;
1162 pctx->transfer_flush_region = u_transfer_helper_transfer_flush_region;
1163 pctx->buffer_unmap = u_transfer_helper_transfer_unmap;
1164 pctx->texture_unmap = u_transfer_helper_transfer_unmap;
1165 pctx->buffer_subdata = u_default_buffer_subdata;
1166 pctx->texture_subdata = vc4_texture_subdata;
1167 pctx->create_surface = vc4_create_surface;
1168 pctx->surface_destroy = vc4_surface_destroy;
1169 pctx->resource_copy_region = util_resource_copy_region;
1170 pctx->blit = vc4_blit;
1171 pctx->flush_resource = vc4_flush_resource;