Lines Matching defs:surface
57 static GrRenderTarget* prepare_rt_for_external_access(SkSurface_Gpu* surface,
59 auto dContext = surface->recordingContext()->asDirectContext();
73 surface->notifyContentWillChange(SkSurface::kRetain_ContentChangeMode);
77 dContext->priv().flushSurface(surface->getDevice()->targetProxy());
80 return surface->getDevice()->targetProxy()->peekRenderTarget();
132 // attempt to share the backing store until the surface writes to the shared backing store
342 // textureable. If the characterized surface wasn't textureable we allow the replay
349 // Fail if the DDL's surface was mipmapped but the replay surface is not.
350 // Allow drawing to proceed if the DDL was not mipmapped but the replay surface is.
359 // on a non-FBO0 surface.
409 // If we are making the surface we will never use FBO0.
689 sk_sp<SkSurface> surface = SkSurface::MakeFromBackendTexture(dContext, backendTexture,
693 if (!surface) {
698 return surface;