$ the-wire · showcase
Impeller sampler caches get a mutex, SIL splits called_once
By RepoJournal · Filed · About Mobile platforms · Composed from the cited sources · methodology
Flutter's Impeller closes a UI-thread/raster-thread race in its sampler caches and Swift tightens two language-level invariants, while the rest of the desks ship routine rolls.
[Impeller] Guard the sampler library caches with a mutex flutter/flutter
SamplerLibraryMTL, SamplerLibraryVK and SamplerLibraryGLES scanned a plain vector in GetSampler and appended to it with no lock, while Flutter GPU called it on the UI thread via RenderPass.bindTexture and Impeller called it on the raster thread from paths like FramebufferBlendContents::Render. A scan could read a buffer a concurrent push_back was reallocating, so the mutex closes a real crash a...
Fix OverlayPortal layout in shrink-wrapped overlays flutter/flutter
_RenderLayoutSurrogateProxyBox.performLayout re-derived constraints for its deferred child instead of using the theater's, and in the unbounded case read theater.size from a descendant mid-layout. If your OverlayPortal children misbehaved inside an Overlay that sizes to its content, that re-derivation was the cause.
SIL: Tighten the representation of exactly-once and at-most-once function values apple/swift
SIL now prints and parses [called_once] for exactly-once closures and [called_at_most_once] for at-most-once closures, where [called_once] previously meant at most once. Only thick function types can carry execution semantics, and the flags deliberately don't mirror the source attribute whose spelling is still in flux.
Windows: expand the typed constants to cover broad usage apple/swift
WinSDK.apinotes gains a large batch of Windows API constants in the Globals section, covering file operation and symbolic link flags such as COPY_FILE_COPY_SYMLINK, COPY_FILE_DIRECTORY and COPY_FILE_FAIL_IF_EXISTS. Swift code targeting Windows can now reach these SDK constants directly instead of hand-declaring them.
[AST] Fix a bug where an inherited conditional conformance to an inve… apple/swift
ConformanceLookupTable::getConformance now checks that an inherited conditional conformance to an invertible protocol isn't treated as an unconditional builtin conformance on the conforming type. Along with the Skia roll, that's the rest of the day.