Update google/skia to milestone 115 #2547
Merged
+5,808
−5,011
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 of Change
This PR is the main set of changes to update to the latest "stable" chrome milestone:
115
There are going to be several major breaking changes in this PR, but we will re-evaluate them all again once we are fully operational. The #2544 issue will track that part. Any APIs that are still needed and are within reason will be added in that work. This PR is going to aim for the most up-to-date and the as-clean-as-possible change.
Bugs Fixed
API Changes
This was a large set of changes, both to the code as well as to new requirements. The changes included:
Minimum Versions Changes:
Tooling Changes:
Code Changes:
SKColorType
SKJpegEncoderOptions
,SKPngEncoderOptions
,SKWebpEncoderOptions
)SKSamplingOptions
instead ofSKFilterQuality
)SKMatrix44
is totally newSKRuntimeEffect
is redesignedSKFont
is now a preferred APISKPaint
are all deprecated and will be removedSKDrawable
now hasGetApproximateBytesUsed()
which can be overriddenSK3dView
(this is now all available in the 4x4 matrixSKMatrix44
)SKMask
SKXamlWriter
&SKXmlStreamWriter
(this was only used by SVG-related things and really just wrapped a stream)Behavioral Changes
Several changes TBD.
Required skia PR
None.
PR Checklist
Updated documentation(this will be in a separate PR after another API review)