Skip to content

[skia-sync] Merge upstream chrome/m155 bug fixes - #5701

Merged
mattleibow merged 2 commits into
release/4.155.xfrom
skia-sync/release-4.155.x
Nov 12, 2026
Merged

mattleibow merged 2 commits into
release/4.155.xfrom
skia-sync/release-4.155.x

Conversation

@mattleibow

Copy link
Copy Markdown
Contributor

Description

Automated upstream bug-fix sync for m155. Targeting release branch release/4.155.x (mono/skia release/4.155.x).

This pull request was produced by skia-upstream-sync.

Related issues

N/A — automated upstream synchronization.

Required skia PR

Requires mono/skia#447

Areas affected

  • Managed API (binding/)
  • Native / C API (externals/skia/src/c, include/c)
  • Generated P/Invoke bindings
  • Native dependency or Skia update
  • Views & integrations
  • Rendering output / visual behavior
  • Performance
  • Tests
  • Build, packaging, or CI
  • Documentation or samples

Changes

  • Advanced externals/skia to tested native merge commit 1918f0f0b180683a919eae9f9ffab3e9b383776c for upstream chrome/m155 at da942fa6f60aceeaf3010d1b5c82c593d4a9ebbb.
  • Updated cgmanifest.json to record the exact mono/skia commit and upstream merge SHA; milestone and product versions remain at 155 for this release-line bug-fix sync.
  • Added Noto Color Emoji to the valid glibc emoji font families because the provisioned sync validation host resolves the existing font-manager test to that installed family.
  • Dependencies are unchanged, generated bindings have no delta, and no managed API or wrapper changes are required.

Testing

  • Linux x64 native source build: passed.
  • Binding regeneration: passed with no generated changes or new native functions.
  • Managed build: passed.
  • Focused TestFontManagerMatchCharacter: passed after correcting the host font-family configuration.
  • Full unfiltered solution: passed.
    • Singleton: 1 passed, 0 skipped, 0 failed.
    • Core: 6,330 passed, 33 skipped, 0 failed.
    • Vulkan: 23 passed, 2 skipped, 0 failed.
    • Direct3D: 2 passed, 3 skipped, 0 failed.
  • Platform-policy skips were limited to backends not required on Linux; no required backend was skipped.

Human review

  • Review the Linux glibc emoji-family addition as durable validation-host configuration rather than a test skip.
  • Native builds and runtime tests were executed only on Linux x64. Windows, macOS, iOS, Android, WASM, and other architecture-specific builds remain for CI/cross-platform review.

Checklist

  • Tests added or updated when behavior required them, or the report explains why not
  • Changes above lists all public API and behavioral changes or states that none changed
  • Documentation follow-up filed, or no public API changed
  • Companion mono/skia PR linked above and bindings regenerated

Last rendered by the sync workflow: 2026-11-11T23:25:35Z

Advance the release branch to the latest chrome/m155 upstream commit and accept the emoji font family provisioned by the Linux sync validation host.

Co-authored-by: Copilot <[email protected]>
@mattleibow mattleibow added partner/agentic-workflows Issues and PRs created by SkiaSharp agentic workflows. type/milestone-sync Any Skia upstream sync PR (milestone bump, same-milestone bug-fix re-sync, or tip sync). labels Nov 11, 2026
@github-actions

Copy link
Copy Markdown
Contributor

📦 Try the packages from this PR

Warning

Do not run these scripts without first reviewing the code in this PR.

Step 1 — Download the packages

bash / macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.sh | bash -s -- 5701

PowerShell / Windows:

iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 5701"

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-5701/packages --name skiasharp-pr-5701
More options
Option Description
--successful-only / -SuccessfulOnly Only use successful builds
--force / -Force Overwrite previously downloaded packages
--list / -List List available artifacts without downloading
--build-id ID / -BuildId ID Download from a specific build

Or download manually from Azure Pipelines — look for the nuget artifact on the build for this PR.

Remove the source when you're done:

dotnet nuget remove source skiasharp-pr-5701

@github-actions

github-actions Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Contributor

📊 SkiaSharp benchmarks — PR #5701

⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS

Informational only — this never blocks the PR. 🟢 faster / less allocation · 🔴 slower / more allocation; moves under 5% are hidden as noise.

⏱️ Times are raw BenchmarkDotNet means, and the ⭐ PR and baseline legs run on separate CI runners, so microbenchmarks can swing run-to-run — treat small time deltas as noise. Allocations are deterministic and the reliable signal. The interactive perf-dashboard (linked below) applies smoothing for the trend view.

Highlights

⏱️ Time — 🔴 58 slower · 🟢 18 faster

  • 🔴 ColorMathBenchmark.ToColor(Colors: 4096) · Linux · 5.58 µs → 15.43 µs (+176%)
  • 🔴 MatrixMapPointsBenchmark.MapPoint(Points: 4096) · Windows · 39.46 µs → 79.23 µs (+101%)
  • 🔴 MatrixMapPointsBenchmark.MapPoint(Points: 256) · Windows · 2.52 µs → 4.93 µs (+96%)
  • 🔴 MatrixMapPointsBenchmark.MapPoints(Points: 4096) · Linux · 1.38 µs → 2.62 µs (+89%)
  • 🔴 MatrixMapPointsBenchmark.MapPoints(Points: 256) · Linux · 120.6 ns → 225.6 ns (+87%)
  • …and 71 more (see details below)
Full per-OS benchmark deltas

Linux

⏱️ Time (vs 🌙 nightly 4.157.0-nightly.26554.4)

Benchmark baseline this PR Δ
ColorMathBenchmark.ToColor(Colors: 4096) 5.58 µs 15.43 µs 🔴 +176%
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 1.38 µs 2.62 µs 🔴 +89%
MatrixMapPointsBenchmark.MapPoints(Points: 256) 120.6 ns 225.6 ns 🔴 +87%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 57.43 µs 104.90 µs 🔴 +83%
ColorMathBenchmark.PreMultiply(Colors: 4096) 7.22 µs 13.10 µs 🔴 +81%
ColorParseBenchmark.Parse(Iterations: 1000) 41.51 µs 74.39 µs 🔴 +79%
ColorMathBenchmark.UnPreMultiply(Colors: 4096) 6.85 µs 12.10 µs 🔴 +77%
PathBoundsBenchmark.TightBounds(Points: 64) 577.2 ns 998.2 ns 🔴 +73%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 152.86 µs 263.67 µs 🔴 +72%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 256) 552.88 µs 948.78 µs 🔴 +72%
ColorMathBenchmark.ToColorF(Colors: 4096) 7.79 µs 13.16 µs 🔴 +69%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 64) 149.83 µs 252.32 µs 🔴 +68%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 64) 224.88 µs 351.38 µs 🔴 +56%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 2048) 1.71 ms 2.67 ms 🔴 +56%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 2048) 4.86 ms 7.58 ms 🔴 +56%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 1024) 1.27 ms 1.98 ms 🔴 +56%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 2.89 µs 4.50 µs 🔴 +56%
PathBoundsBenchmark.TightBounds(Points: 1024) 6.66 µs 10.34 µs 🔴 +55%
MatrixMapPointsBenchmark.MapPoint(Points: 4096) 46.55 µs 71.94 µs 🔴 +55%
MatrixOpsBenchmark.Concat(Count: 4096) 140.60 µs 216.63 µs 🔴 +54%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 256) 854.33 µs 1.31 ms 🔴 +54%
MatrixMapPointsBenchmark.MapRadius(Points: 4096) 150.65 µs 229.68 µs 🔴 +52%
MatrixMapPointsBenchmark.MapRadius(Points: 256) 9.41 µs 14.33 µs 🔴 +52%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 1024) 452.58 µs 682.42 µs 🔴 +51%
MatrixMapPointsBenchmark.MapVector(Points: 4096) 117.79 µs 172.45 µs 🔴 +46%
…and 8 more

Windows

⏱️ Time (vs 🌙 nightly 4.157.0-nightly.26554.4)

Benchmark baseline this PR Δ
MatrixMapPointsBenchmark.MapPoint(Points: 4096) 39.46 µs 79.23 µs 🔴 +101%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 2.52 µs 4.93 µs 🔴 +96%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 96.91 µs 129.35 µs 🔴 +33%
PathBoundsBenchmark.TightBounds(Points: 1024) 15.50 µs 20.48 µs 🔴 +32%
MatrixMapPointsBenchmark.MapRect(Points: 4096) 168.45 µs 126.35 µs 🟢 -25%
MatrixMapPointsBenchmark.MapRect(Points: 256) 10.46 µs 7.94 µs 🟢 -24%
PathBoundsBenchmark.TightBounds(Points: 64) 1.53 µs 1.89 µs 🔴 +24%
MatrixMapPointsBenchmark.MapRadius(Points: 256) 8.86 µs 10.27 µs 🔴 +16%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 251.73 µs 291.30 µs 🔴 +16%
MatrixMapPointsBenchmark.MapRadius(Points: 4096) 142.13 µs 164.15 µs 🔴 +15%
MatrixMapPointsBenchmark.MapVector(Points: 256) 7.63 µs 8.75 µs 🔴 +15%
ColorParseBenchmark.Parse(Iterations: 1000) 75.30 µs 84.41 µs 🔴 +12%
MatrixOpsBenchmark.Concat(Count: 4096) 230.41 µs 246.87 µs 🔴 +7%
MatrixMapPointsBenchmark.MapVector(Points: 4096) 129.66 µs 138.23 µs 🔴 +7%
CanvasDrawBenchmark.Draw(Shapes: 512) 21.38 ms 22.77 ms 🔴 +6%
CanvasDrawBenchmark.Draw(Shapes: 64) 2.68 ms 2.85 ms 🔴 +6%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 256) 905.59 µs 960.15 µs 🔴 +6%

macOS

⏱️ Time (vs 🌙 nightly 4.157.0-nightly.26554.4)

Benchmark baseline this PR Δ
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 73.12 µs 99.22 µs 🔴 +36%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 64) 183.74 µs 244.54 µs 🔴 +33%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 256) 748.76 µs 973.54 µs 🔴 +30%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 64) 235.20 µs 300.67 µs 🔴 +28%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 2048) 2.92 ms 2.27 ms 🟢 -22%
MatrixOpsBenchmark.Invert(Count: 4096) 83.25 µs 64.76 µs 🟢 -22%
MatrixMapPointsBenchmark.MapPoints(Points: 256) 157.4 ns 191.8 ns 🔴 +22%
MatrixMapPointsBenchmark.MapVector(Points: 4096) 48.44 µs 38.51 µs 🟢 -20%
CanvasDrawBenchmark.Draw(Shapes: 64) 1.85 ms 1.48 ms 🟢 -20%
PathBoundsBenchmark.TightBounds(Points: 1024) 9.94 µs 11.89 µs 🔴 +20%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 1024) 804.80 µs 659.21 µs 🟢 -18%
ColorMathBenchmark.ToColorF(Colors: 4096) 6.48 µs 5.43 µs 🟢 -16%
ColorMathBenchmark.ToColor(Colors: 4096) 23.68 µs 19.86 µs 🟢 -16%
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 2.01 µs 2.30 µs 🔴 +14%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 1.47 µs 1.28 µs 🟢 -13%
CanvasDrawBenchmark.Draw(Shapes: 512) 14.41 ms 12.81 ms 🟢 -11%
MatrixOpsBenchmark.Concat(Count: 4096) 146.79 µs 130.77 µs 🟢 -11%
SceneRenderBenchmark.RenderFrame(Complexity: 4) 6.77 ms 7.51 ms 🔴 +11%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 2048) 6.41 ms 5.79 ms 🟢 -10%
MatrixMapPointsBenchmark.MapRect(Points: 4096) 60.65 µs 54.80 µs 🟢 -10%
ColorMathBenchmark.UnPreMultiply(Colors: 4096) 9.15 µs 8.34 µs 🟢 -9%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 1024) 1.64 ms 1.52 ms 🟢 -7%
RuntimeEffectShaderBenchmark.DrawFrame 545.34 µs 580.05 µs 🔴 +6%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 166.35 µs 176.16 µs 🔴 +6%
MatrixMapPointsBenchmark.MapRadius(Points: 4096) 123.37 µs 116.62 µs 🟢 -5%
…and 1 more

📈 Full interactive perf-dashboard & run details →

Latest: Merge pull request #447 from mono/skia-sync/release-4.155.x
Commit: d0e887217ea33273ecadfe837b4912f3541ac418

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@mattleibow
mattleibow marked this pull request as ready for review November 12, 2026 02:27
@mattleibow
mattleibow merged commit 6fdfbfd into release/4.155.x Nov 12, 2026
24 of 26 checks passed
@mattleibow
mattleibow deleted the skia-sync/release-4.155.x branch November 12, 2026 02:28
@github-actions github-actions Bot added this to the 4.155.1 milestone Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

partner/agentic-workflows Issues and PRs created by SkiaSharp agentic workflows. type/milestone-sync Any Skia upstream sync PR (milestone bump, same-milestone bug-fix re-sync, or tip sync).

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant