preserve the pre-skia-update C API for some simple cases #110
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.
This doesn't cover all the API changes, just the most trivial cases for now.
the new, incompatible versions of functions were renamed to *_v2 unless otherwise noted
all-zero sk_sampling_options_t seems to work as a reasonable default, so in some places where it wasn't passed before that's what we will pass to the C++ API
sk_filter_quality_t seems to have no trivial replacement, so it will be ignored.
the canvas functions which were changed to matrix44 seemingly didn't need to be, the new ones were renamed to *_m44
enums and structs which had entries added in the middle were reordered so that the new additions are at the end, in order to not change the values assigned to the existing entries.
--
Related to mono/SkiaSharp#2585
API Changes
described in the commit message, more explicitly below:
Behavioral Changes
None.