Skip to content

Repin m156 sync to merged native commit - #5716

Merged
mattleibow merged 1 commit into
skia-sync/release-4.156.xfrom
automation/update-skia-submodule-skia-sync/release-4.156.x
Nov 12, 2026
Merged

mattleibow merged 1 commit into
skia-sync/release-4.156.xfrom
automation/update-skia-submodule-skia-sync/release-4.156.x

Conversation

@mattleibow

Copy link
Copy Markdown
Contributor

Description

Repin #5711 to the actual merge of mono/skia#450: 712ea097151d4951652dee046a8944376fd8df1b. This dependent PR targets skia-sync/release-4.156.x. The merge has two parents, directly includes reviewed head 796c0cc256ba1252fd0e755f5d8ec9f2dff9b608, and shares its exact tree 3b4bc4c2a8d1fb836d51e84b827f172f58498c31. Only the gitlink and matching manifest SHA change.

The workflow pushed this branch successfully, then GitHub returned HTTP 502 during GraphQL PR creation. This PR recovers delivery using the already-pushed branch without another branch update.

Related issues

Related to #5711. No issue is closed.

Required skia PR

Requires mono/skia#450 (merged).

Areas affected

  • Managed API (binding/)
  • Native / C API (externals/skia/src/c, include/c)
  • Generated P/Invoke bindings
  • Native dependency or Skia update (libpng, HarfBuzz, FreeType, zlib, milestone bump, …)
  • Views & integrations (MAUI, Uno, WPF, WinUI, Blazor, …)
  • Rendering output / visual behavior
  • Performance
  • Tests
  • Build, packaging, or CI
  • Documentation or samples

Changes

None. No public API or runtime behavior change; reviewed and merged native source trees are identical.

Testing

  • gh api repos/mono/skia/git/commits/712ea097151d4951652dee046a8944376fd8df1b: passed; exactly two parents, directly including the reviewed head.
  • gh api repos/mono/skia/git/commits/796c0cc256ba1252fd0e755f5d8ec9f2dff9b608: passed; tree equals merge tree 3b4bc4c2a8d1fb836d51e84b827f172f58498c31.
  • gh api 'repos/mono/SkiaSharp/compare/skia-sync%2Frelease-4.156.x...automation%2Fupdate-skia-submodule-skia-sync%2Frelease-4.156.x': passed; exactly externals/skia and cgmanifest.json change only their native SHA to the verified actual merge.
  • gh run watch 43318262014 --repo mono/SkiaSharp --exit-status --interval 15: failed at PR creation with HTTP 502 after the correct branch was pushed. This PR recovers that delivery step.
  • No new native build, binding regeneration, or managed tests were run for this ancestry-only repin. Exact tree equality preserves reviewed source; no generated declarations change. Screenshots are not applicable.

Checklist

  • Tests added or updated (if omitted, explain why above)
  • Changes above lists all public API and behavioral changes (or "None.")
  • New/changed public API? Added or updated accurate source /// documentation and regenerated bindings when applicable
  • Native change? Companion mono/skia PR linked above and bindings regenerated

Latest: [M156] Fix Vulkan wait reporting and displacement precision (#450)
Commit: 712ea097151d4951652dee046a8944376fd8df1b
@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 -- 5716

PowerShell / Windows:

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

Step 2 — Add the local NuGet source

dotnet nuget add source ~/.skiasharp/hives/pr-5716/packages --name skiasharp-pr-5716
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-5716

@mattleibow
mattleibow merged commit 76fc5ad into skia-sync/release-4.156.x Nov 12, 2026
26 checks passed
@mattleibow
mattleibow deleted the automation/update-skia-submodule-skia-sync/release-4.156.x branch November 12, 2026 22:21
mattleibow added a commit that referenced this pull request Nov 12, 2026
[Skia] Sync m156 Vulkan wait and displacement fixes (#5711)

Context: mono/skia#450
Context: #5716
Changes: mono/skia@cb6f6ce...712ea09

Advance externals/skia and its Component Governance registration to native
merge 712ea097151d4951652dee046a8944376fd8df1b, incorporating chrome/m156 at
8e7863a6ff2ee1dbc6ec0631b61f3631852c8878. Keep this a servicing sync for
release/4.156.x: package versions, C API signatures, managed APIs and
dependency pins remain unchanged.

~~ Propagate failed Vulkan synchronous waits internally ~~

A successful queue submission could be reported as successful synchronous
submission even when the subsequent fence wait failed. Make
GrVkPrimaryCommandBuffer::forceSync return whether vkWaitForFences succeeded,
and require both queue submission and synchronization to succeed in
GrVkGpu::submitCommandBuffer.

Retain the VK_TIMEOUT retry, diagnostics and existing cleanup path.
Asynchronous submission behavior is unchanged. The C API already returns a
boolean, but GRContext.Submit remains void and discards that result; this
update does not introduce a managed failure return or exception.

~~ Keep displacement offsets consistent with filter bounds ~~

Half-precision displacement arithmetic could round differently from the
float-precision bounds calculations, making sampling disagree with the
computed filter bounds.

Use float2 for the scale uniform and displacement offset arithmetic in the
runtime effect and SkSL helper. Carry the corresponding generated shader
representations together; color-channel selection remains half precision
and the existing SkV2 uniform assignment remains compatible.

~~ Record the completed native merge without changing reviewed sources ~~

Repin both the gitlink and mono/skia manifest hash to the completed native
merge rather than the temporary reviewed head. The merge has two parents,
directly includes reviewed commit
796c0cc256ba1252fd0e755f5d8ec9f2dff9b608, and has the identical tree
3b4bc4c2a8d1fb836d51e84b827f172f58498c31.

Keep upstream_merge_commit at the incorporated upstream commit rather than
the fork merge SHA. The repin changes ancestry and commit identity, not
native source contents; independently regenerated binding trees matched
the reviewed source, and the repin does not require different declarations.

Co-authored-by: Matthew Leibowitz <[email protected]>
Co-authored-by: Copilot App <[email protected]>
@github-actions

Copy link
Copy Markdown
Contributor

📊 SkiaSharp benchmarks — PR #5716

⭐ 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 — 🔴 76 slower · 🟢 4 faster

  • 🔴 ColorMathBenchmark.PreMultiply(Colors: 4096) · Linux · 7.23 µs → 15.51 µs (+114%)
  • 🔴 ColorMathBenchmark.ToColor(Colors: 4096) · Linux · 5.53 µs → 11.61 µs (+110%)
  • 🔴 MatrixMapPointsBenchmark.MapPoints(Points: 4096) · Linux · 1.45 µs → 2.74 µs (+89%)
  • 🔴 ColorMathBenchmark.UnPreMultiply(Colors: 4096) · Linux · 6.83 µs → 12.53 µs (+83%)
  • 🔴 ColorParseBenchmark.Parse(Iterations: 1000) · Linux · 42.60 µs → 77.35 µs (+82%)
  • …and 75 more (see details below)
Full per-OS benchmark deltas

Linux

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

Benchmark baseline this PR Δ
ColorMathBenchmark.PreMultiply(Colors: 4096) 7.23 µs 15.51 µs 🔴 +114%
ColorMathBenchmark.ToColor(Colors: 4096) 5.53 µs 11.61 µs 🔴 +110%
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 1.45 µs 2.74 µs 🔴 +89%
ColorMathBenchmark.UnPreMultiply(Colors: 4096) 6.83 µs 12.53 µs 🔴 +83%
ColorParseBenchmark.Parse(Iterations: 1000) 42.60 µs 77.35 µs 🔴 +82%
ColorMathBenchmark.ToColorF(Colors: 4096) 7.76 µs 14.07 µs 🔴 +81%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 2.81 µs 5.06 µs 🔴 +80%
MatrixMapPointsBenchmark.MapPoint(Points: 4096) 45.03 µs 80.76 µs 🔴 +79%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 64) 148.25 µs 262.05 µs 🔴 +77%
PathBoundsBenchmark.TightBounds(Points: 1024) 6.35 µs 11.09 µs 🔴 +75%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 256) 558.67 µs 968.60 µs 🔴 +73%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 143.66 µs 246.98 µs 🔴 +72%
MatrixOpsBenchmark.Concat(Count: 4096) 140.68 µs 241.16 µs 🔴 +71%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 64) 215.77 µs 366.97 µs 🔴 +70%
MatrixMapPointsBenchmark.MapRadius(Points: 256) 9.41 µs 15.84 µs 🔴 +68%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 2048) 4.85 ms 8.16 ms 🔴 +68%
MatrixMapPointsBenchmark.MapRadius(Points: 4096) 150.99 µs 251.64 µs 🔴 +67%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 2048) 1.72 ms 2.86 ms 🔴 +67%
PathBoundsBenchmark.TightBounds(Points: 64) 586.3 ns 975.2 ns 🔴 +66%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 60.75 µs 99.61 µs 🔴 +64%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 1024) 1.27 ms 2.07 ms 🔴 +64%
MatrixOpsBenchmark.Invert(Count: 4096) 92.13 µs 150.46 µs 🔴 +63%
MatrixMapPointsBenchmark.MapPoints(Points: 256) 135.7 ns 220.6 ns 🔴 +63%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 1024) 456.03 µs 739.17 µs 🔴 +62%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 256) 855.98 µs 1.38 ms 🔴 +62%
…and 9 more

Windows

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

Benchmark baseline this PR Δ
PathBoundsBenchmark.TightBounds(Points: 1024) 15.50 µs 20.03 µs 🔴 +29%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 98.75 µs 126.94 µs 🔴 +29%
PathBoundsBenchmark.TightBounds(Points: 64) 1.52 µs 1.94 µs 🔴 +28%
ColorMathBenchmark.ToColor(Colors: 4096) 14.31 µs 16.90 µs 🔴 +18%
MatrixMapPointsBenchmark.MapVector(Points: 256) 7.63 µs 8.81 µs 🔴 +15%
MatrixMapPointsBenchmark.MapRadius(Points: 256) 8.94 µs 10.30 µs 🔴 +15%
MatrixMapPointsBenchmark.MapVector(Points: 4096) 125.98 µs 144.65 µs 🔴 +15%
ColorParseBenchmark.Parse(Iterations: 1000) 75.71 µs 83.96 µs 🔴 +11%
CanvasDrawBenchmark.Draw(Shapes: 64) 2.66 ms 2.94 ms 🔴 +10%
MatrixOpsBenchmark.Concat(Count: 4096) 219.14 µs 240.46 µs 🔴 +10%
MatrixMapPointsBenchmark.MapRadius(Points: 4096) 150.77 µs 164.96 µs 🔴 +9%
CanvasDrawBenchmark.Draw(Shapes: 512) 21.38 ms 23.32 ms 🔴 +9%
RasterImageLifecycleBenchmark.CreateRasterImage(Count: 256) 263.44 µs 287.09 µs 🔴 +9%
ColorMathBenchmark.UnPreMultiply(Colors: 4096) 11.52 µs 12.31 µs 🔴 +7%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 1024) 2.51 ms 2.65 ms 🔴 +6%
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 2.35 µs 2.22 µs 🟢 -5%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 2.47 µs 2.60 µs 🔴 +5%

macOS

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

Benchmark baseline this PR Δ
MatrixMapPointsBenchmark.MapPoints(Points: 4096) 1.59 µs 2.39 µs 🔴 +50%
MatrixMapPointsBenchmark.MapPoints(Points: 256) 142.9 ns 194.2 ns 🔴 +36%
MatrixMapPointsBenchmark.MapRect(Points: 256) 3.10 µs 4.17 µs 🔴 +34%
MatrixMapPointsBenchmark.MapPoint(Points: 256) 1.19 µs 1.54 µs 🔴 +30%
MatrixOpsBenchmark.Concat(Count: 4096) 125.78 µs 161.74 µs 🔴 +29%
MatrixMapPointsBenchmark.MapVector(Points: 4096) 41.09 µs 52.82 µs 🔴 +29%
RuntimeEffectShaderBenchmark.DrawFrame 582.36 µs 740.30 µs 🔴 +27%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 256) 702.25 µs 880.48 µs 🔴 +25%
MatrixMapPointsBenchmark.MapPoint(Points: 4096) 18.82 µs 23.42 µs 🔴 +24%
BitmapDrawBenchmark.DrawUnscaledTiles(Tiles: 64) 215.90 µs 260.16 µs 🔴 +21%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 64) 259.72 µs 311.44 µs 🔴 +20%
MatrixMapPointsBenchmark.MapRect(Points: 4096) 49.91 µs 59.79 µs 🔴 +20%
SceneRenderBenchmark.RenderFrame(Complexity: 4) 5.87 ms 6.99 ms 🔴 +19%
MatrixMapPointsBenchmark.MapRadius(Points: 256) 6.41 µs 7.63 µs 🔴 +19%
BitmapDrawBenchmark.DrawScaledTiles(Tiles: 256) 1.07 ms 1.28 ms 🔴 +19%
ColorMathBenchmark.ToColorF(Colors: 4096) 5.69 µs 6.76 µs 🔴 +19%
SceneRenderBenchmark.RenderFrame(Complexity: 1) 1.35 ms 1.60 ms 🔴 +19%
MatrixMapPointsBenchmark.MapVector(Points: 256) 2.73 µs 3.22 µs 🔴 +18%
PathBoundsBenchmark.TightBounds(Points: 1024) 9.10 µs 10.62 µs 🔴 +17%
CanvasDrawBenchmark.Draw(Shapes: 512) 13.67 ms 15.71 ms 🔴 +15%
ColorMathBenchmark.ToColor(Colors: 4096) 23.61 µs 20.28 µs 🟢 -14%
RasterImageLifecycleBenchmark.CreateDataWithReleaseProc(Count: 256) 80.83 µs 91.29 µs 🔴 +13%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 2048) 2.95 ms 2.57 ms 🟢 -13%
LargeImageScaleBenchmark.UpscaleCrossfade(Size: 2048) 6.00 ms 6.70 ms 🔴 +12%
LargeImageScaleBenchmark.UpscaleOpaque(Size: 1024) 761.58 µs 685.29 µs 🟢 -10%
…and 4 more

📈 Full interactive perf-dashboard & run details →

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant