$ the-wire · showcase
CanvasKit shader lifetime fix, Impeller fallback reasons logged, Swift soundness hole closed
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter fixed a CanvasKit corruption bug where a disposed fragment shader poisoned an already-recorded picture, and Swift's availability checker now rejects a class of unavailable overrides that could be reached through the vtable.
[web] Fix CanvasKit fragment shader uniforms being freed or mutated after recording flutter/flutter
On the CanvasKit renderer, a ui.FragmentShader disposed after a draw call but before the recorded ui.Picture rasterized corrupted the picture: Picture.toImage sampled black instead of the shader's color, and a later shader could take over an earlier draw's colors. CkFragmentShader held uniforms in a CanvasKit.Malloc buffer passed straight to RuntimeEffect.makeShader, so the recorded picture poi...
[Android] Log why Impeller falls back to OpenGLES (#194764) flutter/flutter
Impeller's Android autoselect now logs why it falls back to OpenGLES. Emulators, Huawei devices, and MediaTek vendor SDKs below 32 were silent, and known-bad SoCs versus known-bad Vulkan drivers were both at INFO with identical text, so a profile or release log showed only "Using the Impeller rendering backend (OpenGLES)."
Sema: Diagnose unavailable overrides of available declarations. apple/swift
Swift now diagnoses an override marked unavailable that overrides an available declaration. Such an override is still emitted into the vtable and reachable via dynamic dispatch from a base-class reference, and since an unavailable body may use unavailable declarations, the compiler describes it as "a soundness hole in availability checking." Expect new errors in code that hid overrides behind @...
[KGP] Keep the deprecated unsafe KMP incremental property working JetBrains/kotlin
Kotlin 2.5.0 keeps kotlin.internal.incremental.enableUnsafeOptimizationsForMultiplatform in effect because Compose Hot Reload 1.3 still sets it, with the per-target JVM, JS and Wasm properties taking precedence when set explicitly. Its deprecation now reports as a warning rather than an error, which would have failed every build compiling Kotlin.
[cxx-interop] Respect `CF_RETURNS_RETAINED` on C++ methods returning CF types apple/swift
Swift's C++ interop now honors CF_RETURNS_RETAINED on C++ instance and static methods returning CF types; previously it treated the result as +0 and leaked the object on every call, even though free functions with the same annotation were respected. Also landing: Swift compiler fixes for guaranteed-value borrow scope, debug info for cast-initialized vars at -Onone, and a first alloc-box-to-stac...