Lines Matching refs:psurf
244 wrap_surface(struct pipe_context *pctx, struct pipe_surface *psurf)
247 csurf->base = *psurf;
249 csurf->surf = (struct zink_surface*)psurf;
266 struct pipe_surface *psurf = NULL;
272 psurf = &surface->base;
275 psurf = zink_get_surface(zink_context(pctx), pres, templ, &ivci);
276 if (!psurf)
279 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)wrap_surface(pctx, psurf);
293 pipe_surface_release(pctx, &psurf);
420 struct pipe_surface *psurf = ctx->base.create_surface(&ctx->base, pres, &surf_templ);
422 return psurf;