Version 4.157.0
Skia m157 rendering reliability · NuGet (prerelease)
API changes · SkiaSharp API diff · HarfBuzzSharp API diff
Highlights
SkiaSharp 4.157.0 brings Skia m157 with rasterization, text, and GPU correctness improvements. The cumulative line also corrects filtered-image sampling and mask-filtered glyph handling. LibraryImport declarations explicitly use cdecl; the public managed API remains unchanged.
Breaking Changes
- Check Graphite Metal deployment targets — Graphite Metal now requires iOS or tvOS 15; its macOS minimum remains 12. Raise lower deployment targets before using this backend, and continue to honor any higher managed or framework requirements. (#5542)
Engine
- Skia m157 with raster and glyph-replay corrections — Updates the native engine and fixes convex antialiased path rasterization across vertical clip gaps, coverage-mask clamping, and direct-mask glyph replay validation. Graphite readback also uses the correct A-to-RGBx transfer stride. (#5542, #5612, #5630)
Bug Fixes
- More reliable GPU geometry and text — Corrects reflected hairline square caps, transformed ellipse and rounded-rectangle geometry, text-atlas selection, and stale atlas work after empty flushes. Graphite counts pending clips and skips draws whose clip stacks cannot fit a fresh render pass. (#5670, #5688)
- Filtered images and regenerated glyphs — Prevents unrelated texels bleeding into antialiased or multisampled image subsets under minification and skew, and aligns filter-cache equality with hashing. Mask-filtered glyph reloads now respect changed paths, compatible mask formats, and full embossed-plane strides. (#5770, #5748)
- Vulkan synchronization and displacement precision — Adds a targeted device-loss cleanup delay for affected ARM proprietary Vulkan drivers and propagates synchronous fence-wait failures inside native submission. GRContext.Submit remains void. Displacement offset arithmetic now matches fp32 filter bounds. (#5670, #5710)
- Explicit cdecl for LibraryImport — Generated LibraryImport declarations now match existing DllImport calling conventions across SkiaSharp, HarfBuzzSharp, and related bindings, addressing a potential Windows x86 ABI mismatch. The reported optimized-call stack-growth symptom still needs Windows x86 runtime validation. (#5565)
HarfBuzzSharp 14.4.0.200
HarfBuzzSharp 14.4.0.200 makes LibraryImport calling conventions explicitly cdecl. This package revision retains native HarfBuzz 14.4.0.
Release Candidate 2 (November 13, 2026)
Release Candidate 2 corrects transformed GPU geometry, stale atlas work, and Graphite clip-capacity handling. It also improves displacement precision and native synchronous Vulkan wait reporting without adding a managed result.
Release Candidate 1 (November 9, 2026)
Release Candidate 1 corrects reflected hairline caps and text-atlas selection, and adds a targeted device-loss cleanup delay for affected ARM proprietary Vulkan drivers.
Preview 1 (November 6, 2026)
Preview 1 introduces Skia m157 with rasterization, glyph-replay, and Graphite readback fixes, plus explicit cdecl LibraryImport declarations. Graphite Metal requires iOS or tvOS 15, subject to higher framework requirements.
Release notes generated on 2026-11-17 at 21:33 UTC.