Repository navigation
[skia-sync] Merge upstream chrome/m150 bug fixes - #5543
Merged
Merged
Conversation
Advance the release-line Skia pointer to the latest chrome/m150 backports and update Component Governance metadata. Backport the proven Linux GL test harness fixes needed to execute Ganesh GL under the validation host instead of silently skipping it. Co-authored-by: Copilot <[email protected]>
4 of 9 tasks
Contributor
📦 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 -- 5543PowerShell / Windows: iex "& { $(irm https://raw.githubusercontent.com/mono/SkiaSharp/main/scripts/get-skiasharp-pr.ps1) } 5543"Step 2 — Add the local NuGet source dotnet nuget add source ~/.skiasharp/hives/pr-5543/packages --name skiasharp-pr-5543More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-5543 |
mattleibow
added a commit
to mono/skia
that referenced
this pull request
Oct 31, 2026
[Skia] Merge chrome/m150 region and texture fixes (#417) Context: mono/SkiaSharp#5543 Merge chrome/m150 through f05f0f5 into release/4.150.x, preserving upstream merge ancestry and the fork's dependency configuration. ~~ Prevent conic-region buffer underallocation ~~ SkRgnBuilder budgeted two scanline edges per conic, but conic subdivision and floating-point rounding can produce more crossings. Budget up to 64 edges using the shared subdivision limit, and use checked accumulation to reject overflow before allocating the region run buffer. Include Region_ConicMaxEdges to exercise the subdivision case behind the heap out-of-bounds write. Its specific constants require SK_SUPPORT_LEGACY_CONIC_CHOP to trigger the maximum subdivision. ~~ Reject unsupported BGRA-as-RGBx uploads ~~ The GL capability table allowed RGBA uploads to BGRA textures interpreted as RGBx. That combination is permitted by desktop GL but not GLES. Disable its upload format, matching the existing BGRA-as-RGBA policy rather than introducing different behavior for the two GL standards. ~~ Retain nearest-filter subset clamps when sampling can overshoot ~~ Nearest filtering does not guarantee that touching subset edges are safe: limited hardware sub-texel precision can round magnified coordinates into an adjacent texel. Restrict the touching-edge clamp bypass to one-to-one integer-relative mappings, including rotations and flips. Check fractional domains against the actual inset shader clamp, and retain a filtering margin when deciding whether approximate-fit proxies require strict source bounds. Resolve the subset optimization before choosing the texture operation so eligible non-SrcOver draws receive the same treatment. Include texture regressions for magnification, fractional mappings, rotations, flips and approximate-fit proxies. The companion validation reports a passing Linux x64 native source build, binding regeneration without declaration changes, managed build and unfiltered console-host run. That execution does not establish hardware coverage for every backend addressed by these upstream fixes. Co-authored-by: Thomas Smith <[email protected]> Co-authored-by: Michael Ludwig <[email protected]> Co-authored-by: Greg Daniel <[email protected]> Co-authored-by: Copilot App <[email protected]>
Latest: [Skia] Merge chrome/m150 region and texture fixes (#417) Commit: 95bed8d58d692e6268f05682f0a4926f41aaf5fb
…kia-sync/release-4.150.x Sync Skia submodule and cgmanifest into skia-sync/release-4.150.x
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Automated upstream bug-fix sync for m150. Targeting release branch
release/4.150.x(mono/skiarelease/4.150.x).This pull request was produced by skia-upstream-sync.
Related issues
N/A — automated upstream synchronization.
Required skia PR
Requires mono/skia#417
Areas affected
binding/)externals/skia/src/c,include/c)Changes
externals/skiato tested mono/skia merge49a7ef98174b2aa4d98de24e17d04d6b3018e9a9and updated the Skia Component Governance hashes.dependency semantic version changed.
so no native function, managed wrapper, or public API decision was required.
05dfca572c6dace01b6e81074df7b83d3ff2df07so Ganesh GL executes on the validation host: versioned X11/GL SONAMEs, Xlib thread
initialization, shared GLX display lifetime, honest GLVND symbol lookup, and serialized GPU
context classes.
matching supported Linux test environments.
Testing
tests/SkiaSharp.Tests.Console.slnrun:creation only on Windows.
Human review
unchanged.
Generateddirectory and.slnxlayouts. Thisrelease branch used its repository-owned
utils/generate.ps1and canonical.slnentry point.Tizen, Linux arm64, Direct3D execution, Metal execution, and Windows Vulkan execution remain for
CI/human cross-platform review.
Checklist
Changesabove lists all public API and behavioral changes or states that none changedmono/skiaPR linked above and bindings regeneratedLast rendered by the sync workflow: 2026-10-31T02:40:25Z