You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Assert mask transparency by alpha across Skia profiles #635
Current-main CI run 35431128608 passes build, tooling, architecture and ABI gates, then fails the Avalonia headless mask tests on Linux and macOS. Three assertions compare the full RGB payload of fully transparent premultiplied pixels:
expected #00ffffff
actual #00000000
Both represent alpha-zero output. The RGB channels of a fully transparent premultiplied pixel are not a portable rendering contract, and the exact storage differs between supported SkiaSharp/Avalonia profiles after #618/#619 replaced an unavailable Clear(color, blendMode) overload with DrawColor(color, Src).
Fix
Assert the observable mask contract—alpha equals zero—at transparent output pixels while retaining exact foreground-color checks for visible pixels and the clip boundary. Do not weaken any nontransparent pixel assertion.
Acceptance
Raster add/exclude, failed-mask clipped clearing and repeated SVG mask composition still require alpha-zero holes.
Visible foreground pixels retain exact color assertions.
Linux and macOS Avalonia headless jobs no longer depend on undefined RGB data under alpha zero.
Activity