skia2/experimental/minimal_ios_mtl_skia_app
Jim Van Verth c910602376 Reland "Minimal iOS app: Perform present subsequent to flush"
This is a reland of 4e385e21a4

Original change's description:
> Minimal iOS app: Perform present subsequent to flush
> 
> Currently the backbuffer present is not on the same MTLCommandQueue
> as the flush from Skia, which probably means that it's happening
> concurrently. This can overwhelm the GPU. This CL submits the present
> to the same queue as the flush.
> 
> Change-Id: Ibaf805553931c9dc46368b362a2391425ae3e60e
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/248557
> Reviewed-by: Hal Canary <halcanary@skia.org>
> Commit-Queue: Jim Van Verth <jvanverth@google.com>

Change-Id: I118047630b8936838d5da8ef4307ad5c5e8d2ade
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/248562
Reviewed-by: Hal Canary <halcanary@skia.org>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
2019-10-14 18:32:37 +00:00
..
BUILD.gn experimental/minimal_mtl_app: more cleanup 2019-10-01 14:40:55 +00:00
main.mm Reland "Minimal iOS app: Perform present subsequent to flush" 2019-10-14 18:32:37 +00:00
README.md experimental/minimal_ios_mtl_skia_app 2019-09-17 15:18:26 +00:00

##minimal_ios_mtl_skia_app

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 minimal_ios_mtl_skia_app

Then install the out/ios_arm64_mtl/minimal_ios_mtl_skia_app.app bundle.