preserve the pre-skia-update C API for some simple cases#110
preserve the pre-skia-update C API for some simple cases#110Mis012 wants to merge 1 commit intomono:skiasharpfrom
Conversation
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.
|
I don't see any CLA and I don't think any Microsoft CLA would necessarily apply to a fork of a google project, so I'm not sure what the "CLA check" is about |
|
https://github.com/microsoft/contributorlicenseagreement
|
|
I see... now, where do I read the CLA oh, found it... https://github.com/mono/.github/blob/main/policies/cla.yml hm, it seems that it provided proper context on another pull request, not sure if that's a recent fix or it was just bugged and it's supposed to do that always? |
|
@microsoft-github-policy-service agree |
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.