Searched refs:csurf (Results 1 - 5 of 5) sorted by relevance
/third_party/mesa3d/src/gallium/drivers/zink/ |
H A D | zink_surface.c | 246 struct zink_ctx_surface *csurf = CALLOC_STRUCT(zink_ctx_surface); in wrap_surface() local 247 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() local 290 csurf->transient = (struct zink_ctx_surface*)wrap_surface(pctx, (struct pipe_surface*)create_surface(pctx, &transient->base.b, templ, &ivci, true)); in zink_create_surface() 291 if (!csurf->transient) { in zink_create_surface() 299 return &csurf in zink_create_surface() 339 struct zink_ctx_surface *csurf = (struct zink_ctx_surface *)psurface; zink_surface_destroy() local [all...] |
H A D | zink_surface.h | 143 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)*psurface; in zink_rebind_ctx_surface() local 144 return zink_rebind_surface(ctx, (struct pipe_surface**)&csurf->surf); in zink_rebind_ctx_surface()
|
H A D | zink_render_pass.c | 688 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)ctx->fb_state.cbufs[i]; in zink_begin_render_pass() local 689 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() local 728 if (csurf) in zink_end_render_pass() 729 csurf->transient_init = true; in zink_end_render_pass()
|
H A D | zink_kopper.c | 877 struct zink_ctx_surface *csurf = (struct zink_ctx_surface*)ctx->fb_state.zsbuf; in zink_kopper_fixup_depth_buffer() local 898 zink_surface_reference(screen, &csurf->surf, cz->surf); in zink_kopper_fixup_depth_buffer()
|
/third_party/skia/src/c/ |
H A D | sk_surface.cpp | 395 void sk_surface_unref(sk_surface_t* csurf) { in sk_surface_unref() argument 396 SkSafeUnref((SkSurface*)csurf); in sk_surface_unref() 399 sk_canvas_t* sk_surface_get_canvas(sk_surface_t* csurf) { in sk_surface_get_canvas() argument 400 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() argument 405 SkSurface* surf = (SkSurface*)csurf; in sk_surface_new_image_snapshot()
|
Completed in 9 milliseconds