skia2/experimental/skottie_ios
Hal Canary 14629417cb experimental/skottie_ios: fix some objc errors
* 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>
2019-12-04 20:35:19 +00:00
..
BUILD.gn experimental/skottie_ios: Skottie iOS/Metal App 2019-09-16 19:10:24 +00:00
main.mm experimental/skottie_ios: fix some objc errors 2019-12-04 20:35:19 +00:00
README.md experimental/minimal_ios_mtl_skia_app 2019-09-17 15:18:26 +00:00
SkMetalViewBridge.h Reland "Minimal iOS app: Perform present subsequent to flush" 2019-10-14 18:32:37 +00:00
SkMetalViewBridge.mm experimental/skottie_ios: fix some objc errors 2019-12-04 20:35:19 +00:00
SkottieMtkView.h Reland "Minimal iOS app: Perform present subsequent to flush" 2019-10-14 18:32:37 +00:00
SkottieMtkView.mm experimental/skottie_ios: fix some objc errors 2019-12-04 20:35:19 +00:00

##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.