14629417cb
* Turns out that dealloc is unnecessary. Some compilers give an error when it is there. * Use __bridge cast, since some compilers require it. Cq-Include-Trybots: luci.skia.skia.primary:Build-Mac-Clang-arm64-Debug-iOS_Metal Cq-Include-Trybots: luci.skia.skia.primary:Build-Mac-Clang-arm64-Release-iOS_Metal Change-Id: I42d9ef16a5d6425c98a8a2b564bf4a06f26886f5 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/257677 Commit-Queue: Jim Van Verth <jvanverth@google.com> Auto-Submit: Hal Canary <halcanary@google.com> Reviewed-by: Jim Van Verth <jvanverth@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.