Files
Igor Demin 440e1459a5 SkiaMultiplatformSample. Fix showing render API after fallback (#1041)
renderApi can change if there was a fallback (DIRECT3D -> OpenGL ->
Software). We need to always call it in the frame.

Noticed it during testing.
2025-03-31 14:10:52 +02:00
..
2024-05-21 10:21:45 +02:00
2024-05-21 10:21:45 +02:00
2021-10-21 10:43:25 +03:00
2024-05-21 10:21:45 +02:00
2023-12-06 16:32:23 +01:00
2023-12-06 16:32:23 +01:00

Skia multiplatform samples

run iOS with Xcode

  • Install xcodegen
  • run xcodegen
  • run open SkikoSample.xcodeproj

run iOS with debug in AppCode

  • If you need to debug skiko sources without publish to maven local, then set a gradle property skiko.composite.build=1 (see gradle.properties)
  • Install KMM plugin for AppCode
  • In AppCode open samples/SkiaMultiplatformSample (File -> Open). Choose "Open as Project". import-build-gradle-project.png
  • Set target device and Run ios-run-in-appcode.png
  • Now you may use breakpoints in common and native Kotlin code

run on browser:

  • ./gradlew jsBrowserRun

run desktop awt:

  • ./gradlew runAwt

run desktop on native MacOS

  • ./gradlew runNative