Home
last modified time | relevance | path

Searched refs:psurface (Results 1 - 3 of 3) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/zink/
H A Dzink_surface.h74 zink_csurface(struct pipe_surface *psurface) in zink_csurface() argument
76 return psurface ? ((struct zink_ctx_surface *)psurface)->surf : NULL; in zink_csurface()
81 zink_transient_surface(struct pipe_surface *psurface) in zink_transient_surface() argument
83 return psurface ? ((struct zink_ctx_surface *)psurface)->transient ? ((struct zink_ctx_surface *)psurface)->transient->surf : NULL : NULL; in zink_transient_surface()
88 zink_surface(struct pipe_surface *psurface) in zink_surface() argument
90 return (struct zink_surface *)psurface; in zink_surface()
94 zink_destroy_surface(struct zink_screen *screen, struct pipe_surface *psurface);
141 zink_rebind_ctx_surface(struct zink_context *ctx, struct pipe_surface **psurface) zink_rebind_ctx_surface() argument
[all...]
H A Dzink_surface.c303 zink_destroy_surface(struct zink_screen *screen, struct pipe_surface *psurface) in zink_destroy_surface() argument
305 struct zink_surface *surface = zink_surface(psurface); in zink_destroy_surface()
306 struct zink_resource *res = zink_resource(psurface->texture); in zink_destroy_surface()
307 if (!psurface->nr_samples && !surface->is_swapchain) { in zink_destroy_surface()
309 if (psurface->reference.count) { in zink_destroy_surface()
331 pipe_resource_reference(&psurface->texture, NULL); in zink_destroy_surface()
337 struct pipe_surface *psurface) in zink_surface_destroy()
339 struct zink_ctx_surface *csurf = (struct zink_ctx_surface *)psurface; in zink_surface_destroy()
346 zink_rebind_surface(struct zink_context *ctx, struct pipe_surface **psurface) in zink_rebind_surface() argument
348 struct zink_surface *surface = zink_surface(*psurface); in zink_rebind_surface()
336 zink_surface_destroy(struct pipe_context *pctx, struct pipe_surface *psurface) zink_surface_destroy() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/tegra/
H A Dtegra_context.c914 struct pipe_surface *psurface) in tegra_surface_destroy()
916 struct tegra_surface *surface = to_tegra_surface(psurface); in tegra_surface_destroy()
913 tegra_surface_destroy(struct pipe_context *pcontext, struct pipe_surface *psurface) tegra_surface_destroy() argument

Completed in 4 milliseconds