feat: Add basic Skottie support#1987
Conversation
f8a852a to
f419077
Compare
|
/azp run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
14593bb to
9f5a343
Compare
|
Uno 4.1.9 is binary compatible with .NET 6 Mobile RC1, so given that RC1 is used by the repository, the build should be now fine. |
9f5a343 to
0329c71
Compare
mattleibow
left a comment
There was a problem hiding this comment.
Mostly hidden interfaces and naming in a pool of bad names...
Otherwise, this is a nice addition!
| } | ||
|
|
||
| // SK_C_API skottie_animation_t* skottie_animation_make_from_string(const char* data, size_t length); | ||
| public static Animation Make (string data) |
There was a problem hiding this comment.
To .NET-ify, this should be Parse and to fully make it nice, should we add a TryParse?
There was a problem hiding this comment.
I've changed all of them to TryCreate or TryParse. The native implementation returns null when the parsing failed, so the only .NET semantic that makes sense here would be a TryParse, or Parse with a nullable return (which is not current available in this solution).
2073e9c to
038c5b6
Compare
b28d59f to
21e285d
Compare
|
I added 21e285d to validate that the build passes fully, will remove once it does. |
305d14e to
b6d7822
Compare
e084cd2 to
db53a08
Compare
7ccaa61 to
1178a72
Compare
1178a72 to
caf00c1
Compare
|
How would we specify the Assets folder for png files? |
Description of Change
Adds basic support for Skottie (dependent on mono/skia#84)
Related to issue #1580 #661
Size changes:
Bugs Fixed
Fixes #661
API Changes
Added:
SkiaSharp.Skottie.AnimationSkiaSharp.Skottie.InvlidationControllerRequired skia PR
mono/skia#84
PR Checklist