Searched refs:csurf (Results 1 – 5 of 5) sorted by relevance
246 struct zink_ctx_surface *csurf = CALLOC_STRUCT(zink_ctx_surface); in wrap_surface() local247 csurf->base = *psurf; in wrap_surface()248 pipe_reference_init(&csurf->base.reference, 1); in wrap_surface()249 csurf->surf = (struct zink_surface*)psurf; in wrap_surface()250 csurf->base.context = pctx; in wrap_surface()252 return &csurf->base; in wrap_surface()279 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)wrap_surface(pctx, psurf); in zink_create_surface() local290 …csurf->transient = (struct zink_ctx_surface*)wrap_surface(pctx, (struct pipe_surface*)create_surfa… in zink_create_surface()291 if (!csurf->transient) { in zink_create_surface()299 return &csurf->base; in zink_create_surface()[all …]
143 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)*psurface; in zink_rebind_ctx_surface() local144 return zink_rebind_surface(ctx, (struct pipe_surface**)&csurf->surf); in zink_rebind_ctx_surface()
688 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)ctx->fb_state.cbufs[i]; in zink_begin_render_pass() local689 if (csurf->transient_init) in zink_begin_render_pass()691 struct pipe_surface *dst_view = (struct pipe_surface*)csurf->transient; in zink_begin_render_pass()710 csurf->transient_init = true; in zink_begin_render_pass()727 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)ctx->fb_state.cbufs[i]; in zink_end_render_pass() local728 if (csurf) in zink_end_render_pass()729 csurf->transient_init = true; in zink_end_render_pass()
877 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)ctx->fb_state.zsbuf; in zink_kopper_fixup_depth_buffer() local898 zink_surface_reference(screen, &csurf->surf, cz->surf); in zink_kopper_fixup_depth_buffer()
395 void sk_surface_unref(sk_surface_t* csurf) { in sk_surface_unref() argument396 SkSafeUnref((SkSurface*)csurf); in sk_surface_unref()399 sk_canvas_t* sk_surface_get_canvas(sk_surface_t* csurf) { in sk_surface_get_canvas() argument400 SkSurface* surf = (SkSurface*)csurf; in sk_surface_get_canvas()404 sk_image_t* sk_surface_new_image_snapshot(sk_surface_t* csurf) { in sk_surface_new_image_snapshot() argument405 SkSurface* surf = (SkSurface*)csurf; in sk_surface_new_image_snapshot()