Skip to content

Bump skia to milestone 133 (G) - #3660

Merged
mattleibow merged 13 commits into
mainfrom
mattleibow/update-skia-m133
Apr 14, 2026
Merged

Bump skia to milestone 133 (G)#3660
mattleibow merged 13 commits into
mainfrom
mattleibow/update-skia-m133

Conversation

@mattleibow

Copy link
Copy Markdown
Collaborator

Summary

  • update the Skia submodule and version metadata to Chrome milestone m133
  • link Skia's new jsonreader module for native Apple/Tizen builds and regenerate the bindings
  • expose SKColorSpace.CreateCicp(...) and keep the stream ownership tests green after the update

Related

- update the bundled Skia revision and version metadata to m133\n- link jsonreader for native Apple/Tizen builds and regenerate bindings\n- expose CreateCicp on SKColorSpace and keep stream ownership tests green\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Apr 10, 2026

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 -- 3660

PowerShell / Windows:

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

Step 2 — Add the local NuGet source

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

github-actions Bot pushed a commit that referenced this pull request Apr 10, 2026
@github-actions

github-actions Bot commented Apr 10, 2026

Copy link
Copy Markdown
Contributor

📖 Documentation Preview

The documentation for this PR has been deployed and is available at:

🔗 View Staging Site
🔗 View Staging Docs
🔗 View Staging Gallery

This preview will be updated automatically when you push new commits to this PR.


This comment is automatically updated by the documentation staging workflow.

The m133 update does not require the HandleDictionary type-mismatch adjustment, so drop it from this PR to keep the scope limited.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mattleibow mattleibow changed the title Bump skia to milestone 133 Bump skia to milestone 133 (G) Apr 10, 2026
github-actions Bot pushed a commit that referenced this pull request Apr 10, 2026
github-actions Bot pushed a commit that referenced this pull request Apr 11, 2026
mattleibow and others added 2 commits April 11, 2026 13:48
Pick up the Skia submodule fix for the strict_aliasing merge regression, keep the unused delaunator-cpp DEPS entry disabled, and align cgmanifest's mono/skia commitHash with the vendored submodule commit.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Keep the narrower HandleDictionary behavior for plain GetInstance lookups so handle-type mismatches and unknown wrapper types return false instead of throwing during ownership/GC scenarios, while GetOrAddObject remains strict for construction paths.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Apr 11, 2026
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
mattleibow added a commit to mono/skia that referenced this pull request Apr 14, 2026
Changes: google/skia@9ab7c20...f7d1434

Merge upstream chrome/m133 into the SkiaSharp fork and update the C API
shim layer to match.

~~ Upstream merge ~~

806 files changed across the m132→m133 milestone. The fork carries
forward all 49 existing patches with adjustments to 6 of them:

  * DEPS: bump skia-infra to 783200f; disable new delaunator-cpp
    dependency (unused by SkiaSharp)
  * gn/skia/BUILD.gn: adopt the upstream strict_aliasing /
    no_strict_aliasing config split, replacing the hard-coded
    -fstrict-aliasing flag so PartitionAlloc and similar consumers
    can opt out
  * Go module files (.disabled.go.mod/sum/bzl): version bumps for
    infra, crypto, net, sys, term (disabled, not used by SkiaSharp)
  * src/gpu/ganesh/gl/iOS/GrGLMakeNativeInterface_iOS.cpp: include
    reorder and SkTemplates.h re-added to match upstream

~~ C API shim changes ~~

  * Add sk_colorspace_new_cicp() with two new CICP enums
    (sk_colorspace_primaries_cicp_t, sk_colorspace_transfer_fn_cicp_t)
    for ITU-T H.273 color space creation
  * Add fGainmap/fGainmapInfo fields to sk_pngencoder_options_t
  * Update sk_linker.cpp include from src/utils/SkJSON.h to
    modules/jsonreader/SkJSONReader.h following the upstream JSON
    reader module split

Companion SkiaSharp PR: mono/SkiaSharp#3660
mattleibow and others added 2 commits April 14, 2026 04:28
Point externals/skia at the merge commit on skiasharp (0c28aa73be)
and update cgmanifest.json commitHash to match.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
Add tests covering the new CreateCicp API beyond the existing sRGB case:
- PQ + Rec2020 (HDR10)
- HLG + Display P3 (broadcast HDR)
- Rec2020 + Linear (wide gamut)
- Unknown primaries/transfer returns null
- PNG with CICP chunk decodes with correct color space

Include cicp_pq.png test image from upstream Skia resources.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mattleibow
mattleibow force-pushed the mattleibow/update-skia-m133 branch from 46f7240 to 737a991 Compare April 14, 2026 05:33
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
Add the CICP PQ PNG test image to the gallery Image Decoder sample so the m133 color-space work is visible interactively. Surface useful decode metadata such as origin, frame count, and whether the image decodes as sRGB or HDR/custom.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
Keep PR #3660 focused on the Skia m133 update by dropping the experimental gallery Image Decoder changes. The UI polish can land separately without the CICP-specific sample additions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
@mattleibow
mattleibow merged commit aa8f36f into main Apr 14, 2026
5 of 6 checks passed
@mattleibow
mattleibow deleted the mattleibow/update-skia-m133 branch April 14, 2026 22:28
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
mattleibow added a commit that referenced this pull request Apr 28, 2026
The Skia m133 bump (PR #3660) was already merged — it's the defining
feature of this version. The workflow now always mentions the Skia
engine version (derived from the version number) and searches for the
corresponding merged bump PR to link to.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
mattleibow added a commit that referenced this pull request Apr 28, 2026
The date-based approach (merged:>release_date) missed PRs that were
merged before the release date but after the release commit. This
happened because the release tag can be cut from an earlier commit
on main, leaving newer-merged PRs unreleased.

Now uses git log {tag}..origin/main to find commits not in the tag,
extracts PR numbers from merge commit messages, and fetches their
details. This correctly found 57 PRs (vs 20 with the date approach),
including the Skia m133 bump (PR #3660).

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@mattleibow mattleibow added this to the 4.x Preview 1 milestone May 19, 2026
@mattleibow mattleibow added the type/milestone-bump Bumps the bundled Skia to a new Chrome/Skia milestone (upstream version sync). label Jul 2, 2026
@mattleibow mattleibow added the type/milestone-sync Any Skia upstream sync PR (milestone bump, same-milestone bug-fix re-sync, or tip sync). label Jul 3, 2026
@mattleibow mattleibow added the partner/agentic-workflows Issues and PRs created by SkiaSharp agentic workflows. label Jul 11, 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-bump Bumps the bundled Skia to a new Chrome/Skia milestone (upstream version sync). 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