$ the-wire · showcase
Impeller gains Vulkan backing stores, CanvasKit reclaims WebGL contexts
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter closed two long-standing renderer gaps today: embedders presenting Vulkan backing stores can finally run Impeller, and multi-view CanvasKit apps now free WebGL contexts when a view goes away.
Make an Impeller render target from a Vulkan backing store flutter/flutter
CreateEmbedderRenderTarget used to log Unimplemented for kFlutterBackingStoreTypeVulkan and return nothing, so rasterization failed every frame and the compositor's present callback was never reached. The patch wraps the embedder's image with WrapTextureSourceVK and hands it to SurfaceVK::WrapSwapchainImage, closing the last platform gap next to Metal and OpenGL.
[web] Release CanvasKit WebGL contexts and surfaces when a view is removed flutter/flutter
In a multi-view CanvasKit app, removing a view left its MultiSurfaceViewRasterizer and onscreen surfaces alive: CkSurface.dispose() disposed the SkSurface but not the WebGL context underneath it. Views that come and go now release their GPU resources instead of leaking a context per teardown.
Fix two quadratic complexity problems in SILCombine with many `destroy_value`s apple/swift
Large array literals built against an assert-enabled stdlib emit a destroy_value [dead_end] per runtime-check failure block, and SILCombine went quadratic in SimplifyDestroyValue and a second pass over them. The forwarding-instruction use walk now runs for the first destroy only, so compile time stops scaling with element count.
Allow inlining coroutine accessors by older compilers apple/swift
yielding borrow and yielding mutate are meant to be synonyms for _read and _modify, but @inlinable accessors written with the new syntax were emitted only in that form. The compiler now emits both so older compilers can inline them, with a compiler(>=5.3) && $CoroutineAccessors guard as the documented pattern.
[flutter_tools] Update --web-content-hash serving tip to cover assets and canvaskit (#196908) flutter/flutter
The web build's serving tip now matches what --web-content-hash actually hashes: everything under assets/ is immutable-safe, and the canvaskit/ warning applies to every build, not just --no-web-resources-cdn. Swift 6.4.3 shipped with no notes attached, and Kotlin landed Wasm boxing removal plus the first of three patches dropping PsiElement from FIR diagnostic factories.