988b1e4653
- (void)seek:(float)seconds; - (float)animationDurationSeconds; - (float)currentTime; Also: fix issue with finding json resources. CQ_INCLUDE_TRYBOTS=skia.primary:Build-Mac-Clang-arm64-Debug-iOS_Metal,Build-Mac-Clang-arm64-Release-iOS_Metal Change-Id: I19b45dd902b6119216f8c58ad8e13b9036a6b9c3 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/244513 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Hal Canary <halcanary@google.com> |
||
---|---|---|
.. | ||
BUILD.gn | ||
main.mm | ||
README.md | ||
SkMetalViewBridge.h | ||
SkMetalViewBridge.mm | ||
SkottieMtkView.h | ||
SkottieMtkView.mm |
##skottie_ios
How to compile:
cd $SKIA_ROOT_DIRECTORY
mkdir -p out/ios_arm64_mtl
cat > out/ios_arm64_mtl/args.gn <<EOM
target_os="ios"
target_cpu="arm64"
skia_use_metal=true
skia_use_expat=false
skia_enable_pdf=false
EOM
tools/git-sync-deps
bin/gn gen out/ios_arm64_mtl
ninja -C out/ios_arm64_mtl skottie_ios
Then install the out/ios_arm64_mtl/skottie_ios.app
bundle.