New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Skia] Import the Skia source code tree #24059
Conversation
EWS run on previous version of this PR (hash 24f50ff) |
24f50ff
to
37a6e2b
Compare
EWS run on previous version of this PR (hash 37a6e2b) |
The GitHub PR UI is unable to handle any comments I have on this particular patch because of the size of the Skia sources. Could we maybe just land the Skia sources and then add in the build parts in a subsequent patch? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am strongly in favor of this!
Let's do it that way. I am repurposing this issue to land the Skia sources, and created a new Bugzilla issue for the build system integration. |
37a6e2b
to
3086037
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sony supports the integration of Skia into WebKit as a replacement for Cairo
Done, this now includes only the Skia source and the edit to the linter rules, to avoid false style checker positives for code under |
Should we use |
Sure thing, there is no particular reason why we picked the |
3086037
to
dc1441b
Compare
Done, now with 25% more lowercase letters in the directory name π |
EWS run on current version of this PR (hash dc1441b)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On behalf of the capital letters reduction committee, I (reluctantly) approve this change. (It's too bad this needs to be imported into WebKit's source tree. Would be much nicer as an external dep. Oh well.)
I support adopting Skia as a replacement for Cairo in Windows. This poses no issue to Apple's builds, aside from the performance hit of adding a large number of new files. Could someone explain why this must be a full import into the tree, rather than an external dependency? |
I spoke with Don separately -- it seems like this is similar to ANGLE or BoringSSL where we don't have a stable external versioning system we can trust to have reliable cross-project versioning. |
ππΌ
The aim is to provide as less disruption as possible. During a discussion last week with some of the Skia maintainers they have made it clear to us that it is not in their radar to make guarantees about API/ABI stability, nor making releases of any kind. Therefore, it does not fulfill the packaging requirements for most GNU/Linux distributions, or BSD ports, and will not be available as a system dependency. Importing the source in the WebKit tree is what makes development most convenient for WebKit developers and does not require any changes in the existing infrastructure (build bots, tooling, scripts, etc.). If we were to use a different distribution mechanism for the Skia sources, we may need changes in a number of places. Moreover, the practice of shipping such dependencies under |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
https://bugs.webkit.org/show_bug.cgi?id=268974 Reviewed by Michael Catanzaro, Brent Fulgham and Don Olmstead. Import the Skia sources at commit 55e8dd4151ce562ce2e61162bf835bef16dd5162. Follow-up changes will wire building the library and initial support in the WPE port. * Source/ThirdParty/skia: Added. * Tools/Scripts/webkitpy/style/checker.py: Ignore most of the rules for ThirdParty/skia. Canonical link: https://commits.webkit.org/274314@main
dc1441b
to
a69ccc8
Compare
Committed 274314@main (a69ccc8): https://commits.webkit.org/274314@main Reviewed commits have been landed. Closing PR #24059 and removing active labels. |
a69ccc8
dc1441b
π§ͺ styleπ iosπ macπ wpeπ wincairoπ§ͺ bindingsπ ios-simπ mac-AS-debugπ§ͺ wpe-wk2π§ͺ webkitperlπ§ͺ ios-wk2π§ͺ api-macπ§ͺ api-wpeπ§ͺ ios-wk2-wptπ§ͺ mac-wk1π gtkπ π§ͺ jscπ§ͺ api-iosπ§ͺ mac-wk2π§ͺ gtk-wk2π π§ͺ jsc-arm64π tvπ§ͺ mac-AS-debug-wk2π§ͺ api-gtkπ tv-simπ§ͺ mac-wk2-stressπ jsc-armv7π watchπ§ͺ jsc-armv7-testsπ watch-sim