Repository navigation
Repin m156 sync to merged native commit - #5716
mattleibow merged 1 commit into
Conversation
Latest: [M156] Fix Vulkan wait reporting and displacement precision (#450) Commit: 712ea097151d4951652dee046a8944376fd8df1b
📦 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 -- 5716PowerShell / 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-5716More options
Or download manually from Azure Pipelines — look for the Remove the source when you're done: dotnet nuget remove source skiasharp-pr-5716 |
[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]>
📊 SkiaSharp benchmarks — PR #5716⭐ this PR (full source build) vs 🌙 nightly · Linux · Windows · macOS
Highlights⏱️ Time — 🔴 76 slower · 🟢 4 faster
Full per-OS benchmark deltasLinux⏱️ Time (vs 🌙 nightly
Windows⏱️ Time (vs 🌙 nightly
macOS⏱️ Time (vs 🌙 nightly
|
Description
Repin #5711 to the actual merge of mono/skia#450:
712ea097151d4951652dee046a8944376fd8df1b. This dependent PR targetsskia-sync/release-4.156.x. The merge has two parents, directly includes reviewed head796c0cc256ba1252fd0e755f5d8ec9f2dff9b608, and shares its exact tree3b4bc4c2a8d1fb836d51e84b827f172f58498c31. 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
binding/)externals/skia/src/c,include/c)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 tree3b4bc4c2a8d1fb836d51e84b827f172f58498c31.gh api 'repos/mono/SkiaSharp/compare/skia-sync%2Frelease-4.156.x...automation%2Fupdate-skia-submodule-skia-sync%2Frelease-4.156.x': passed; exactlyexternals/skiaandcgmanifest.jsonchange 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.Checklist
Changesabove lists all public API and behavioral changes (or "None.")///documentation and regenerated bindings when applicablemono/skiaPR linked above and bindings regenerated