[skia-sync] Merge upstream chrome/m151 bug fixes - #4538
Conversation
Merges upstream chrome/m151 which brings one Ganesh readback bug-fix: [M151] [ganesh] prevent stale readbacks (b4204f7ff9) No C API, no bindings, no version changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
📦 Try the packages from this PRWarning 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 -- 4538PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 4538"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-4538/packages --name skiasharp-pr-4538More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-4538 |
|
📖 Documentation Preview The documentation for this PR has been deployed and is available at: 🔗 View Staging Site This preview will be updated automatically when you push new commits to this PR. This comment is automatically updated by the documentation staging workflow. |
Latest: Merge upstream chrome/m151 bug fixes (#294) Commit: 1af4051dbaaa38b6016d4fc34a52acf9c639063d Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
📊 SkiaSharp benchmarks — PR #4538⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 34 slower · 🟢 17 faster
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
📦 Artifact size reportPackages from this PR (build Total Packages
+38 package(s) unchanged (< 50.0 KB). Per-file changes
|
| File | Size |
|---|---|
runtimes/win-x86/native/libHarfBuzzSharp.pdb |
22.2 MB → 21.9 MB (🟢 −272.0 KB) |
runtimes/win-x64/native/libHarfBuzzSharp.pdb |
22.0 MB → 21.8 MB (🟢 −240.0 KB) |
runtimes/win-arm64/native/libHarfBuzzSharp.pdb |
22.3 MB → 22.3 MB (🟢 −8.0 KB) |
SkiaSharp.NativeAssets.WinUI
| File | Size |
|---|---|
runtimes/win-x86/native/libGLESv2.pdb |
67.3 MB → 67.0 MB (🟢 −256.0 KB) |
runtimes/win-arm64/native/libGLESv2.pdb |
64.5 MB → 64.3 MB (🟢 −224.0 KB) |
runtimes/win-x64/native/libGLESv2.pdb |
66.6 MB → 66.4 MB (🟢 −224.0 KB) |
runtimes/win-x64/native/libEGL.pdb |
6.4 MB → 6.3 MB (🟢 −32.0 KB) |
runtimes/win-x86/native/libEGL.pdb |
6.5 MB → 6.5 MB (🟢 −16.0 KB) |
runtimes/win-arm64/native/SkiaSharp.Views.WinUI.Native.pdb |
67.7 MB → 67.7 MB (🟢 −8.0 KB) |
runtimes/win-x64/native/SkiaSharp.Views.WinUI.Native.pdb |
68.0 MB → 68.0 MB (🟢 −8.0 KB) |
🧬 win-x64 (runtimes/win-x64/native/libGLESv2.dll) |
4.9 MB → 4.9 MB (🔴 +2.0 KB) |
🧬 win-arm64 (runtimes/win-arm64/native/libGLESv2.dll) |
4.4 MB → 4.4 MB (🔴 +1.0 KB) |
Informational only — this never blocks the PR. Native binaries are labelled by os/arch.
Automated upstream bug-fix sync for m151.
Companion skia PR: mono/skia#294
Skia sync: m151 bug-fix (same-milestone)
Same-milestone sync (
m151 → m151): picks up one upstream Ganesh bug-fix fromchrome/m151. Not a version bump.Parent-repo changes
externals/skia: submodule pointer advanced to the mono/skiaskia-sync/m151mergecommit (which brings in upstream
b4204f7ff9).cgmanifest.json:commitHashandupstream_merge_commitupdated to the new SHAs;chrome_milestoneunchanged (still151).Version / binding updates
scripts/VERSIONS.txt,scripts/azure-templates-variables.yml, andinclude/c/sk_types.h(SK_C_INCREMENT) are unchanged — this is a bug-fix-only syncon the same milestone.
C# changes
GrDrawingManager/SurfaceContext); no C API headers or implementations changed(
git diff skiasharp..HEAD -- externals/skia/include/c externals/skia/src/cis empty),so bindings and wrappers are unaffected.
Build / test
reachable from the managed surface changed. CI on the resulting PRs will exercise the
native build + tests across the platform matrix.
Breaking-change analysis
Items needing human attention
merging — this is the substantive validation for this sync.
Created by skia-upstream-sync.