1. 02 Dec, 2022 1 commit
  2. 29 Nov, 2022 1 commit
  3. 27 Nov, 2022 1 commit
  4. 24 Nov, 2022 1 commit
    • Alexey Tsvetkov's avatar
      Gradle fixes (#621) · 7430638e
      Alexey Tsvetkov authored
      * Set up max heap size and max metadata size for root project
      
      We use the root project with Github Actions workflows.
      However, the max metadata and the max heap size
      are only set up in ./skiko subproject,
      so they are not picked up in Github workflows,
      which may lead to tests crashing on Linux
      
      * Update Gradle for root and ./skiko
      7430638e
  5. 21 Nov, 2022 1 commit
    • Pavel's avatar
      Adapter exclusion (#617) · 0048f343
      Pavel authored
      * allow to specify platform for adapter exclusion
      
      * allow patterns in `not-supported-adapters.list`
      
      * FL-16182 disable opengl on virgl
      
      * encode list of excluded videocards in kotlin instead of resource file
      
      by some reason loading resource file took about ~30-40ms
      0048f343
  6. 15 Nov, 2022 1 commit
  7. 08 Nov, 2022 1 commit
  8. 07 Nov, 2022 2 commits
  9. 04 Nov, 2022 1 commit
    • Igor Demin's avatar
      Windows ARM support (#610) · 87d5fb99
      Igor Demin authored
      * Windows ARM support
      
      Add skia.arch Gradle property.
      
      We set it to `arm64` on CI to build a version for Windows ARM
      
      * Fix build
      87d5fb99
  10. 31 Oct, 2022 2 commits
    • Alexey Tsvetkov's avatar
      Exclude bytecode from skiko-awt-runtime-*.jar files (#608) · f2266923
      Alexey Tsvetkov authored
      * Exclude bytecode from skiko-awt-runtime-*.jar files
      
      Previously, `skiko-awt.jar` and all of `skiko-awt-runtime-*.jar` files
      contained the same bytecode. However, this led to duplication
      of bytecode in Compose projects:
      * `skiko-awt.jar` is a necessary API dependency of Compose/Desktop, which means
      it is a runtime dependency as well;
      * `skiko-awt-runtime-*.jar` is a necessary RUNTIME dependency of any Compose/Desktop project.
      
      Thus, both `skiko-awt.jar` and `skiko-awt-runtime-*.jar` ended up in a runtime classpath of
      any Compose/Desktop project, so the same classes were present in the runtime classpath twice.
      This increased a final application image by approximately 1.1 Mb. Also, it led to
      excessive ProGuard warnings, e.g. https://github.com/JetBrains/compose-jb/issues/2393
      
      This change excludes bytecode from `skiko-awt-runtime-*.jar` artifacts, and adds
      Maven dependency `skiko-awt-runtime-*.jar` -> `skiko-awt.jar`, so
      many existing Maven/Gradle usages of `skiko-awt-runtime-*.jar` will continue to work.
      f2266923
    • dima.avdeev's avatar
      iOS copy/paste text menu (#609) · 673c85d1
      dima.avdeev authored
      673c85d1
  11. 26 Oct, 2022 1 commit
  12. 14 Oct, 2022 1 commit
  13. 06 Oct, 2022 1 commit
  14. 29 Sep, 2022 1 commit
  15. 23 Sep, 2022 1 commit
  16. 21 Sep, 2022 1 commit
  17. 16 Sep, 2022 1 commit
  18. 09 Sep, 2022 1 commit
  19. 07 Sep, 2022 1 commit
  20. 06 Sep, 2022 1 commit
  21. 05 Sep, 2022 1 commit
  22. 02 Sep, 2022 2 commits
  23. 01 Sep, 2022 1 commit
    • Pavel's avatar
      Fix hang in text shaping (#585) · 5a24df69
      Pavel authored
      * check preconditions of `FontRunIterator::consume` as it's in SkShaper.cpp; remove code duplication
      
      * check `ubrk_following` return value, otherwise it may lead to hanging in `FontRunIterator::consume`
      5a24df69
  24. 25 Aug, 2022 1 commit
    • Igor Demin's avatar
      Fix getting text from clipboard (#579) · 78c2b52e
      Igor Demin authored
      * Fix getting text from clipboard
      
      Sometimes, internal AWT implementation can't properly parse the clipboard data.
      
      getData's docs say that it can throw IOException
      
      * Return UnsupportedFlavorException
      78c2b52e
  25. 22 Aug, 2022 3 commits
  26. 19 Aug, 2022 2 commits
  27. 18 Aug, 2022 1 commit
    • Pavel's avatar
      migrate to m105 (#562) · 4312d53f
      Pavel authored
      * fix RunRecordClone data layout in debug mode
      
      * migrate to skia chrome/m105
      
      * fix tests
      
      * allow to retrieve text from Paragraph
      
      * add missing includes; use c++17 on windows; bump skia version
      4312d53f
  28. 17 Aug, 2022 4 commits
  29. 16 Aug, 2022 1 commit
    • Igor Demin's avatar
      Remove Angle support (it is not fully implemented) (#567) · 257b0404
      Igor Demin authored
      Angle is a stable Skia renderer, which is used by Chromium instead of direct DirectX, OpenGl, Metal renderers. It is considered more stable, but needs the ~30mb binary library. Angle mimics OpengGL ES and calls corresponding DirectX/Metal API's.
      
      Angle support wasn't fully implemented, there just a bunch of class prototypes in the source code, that gets in the way during refactorings.
      
      Deleting it for now, until we decide to fully support it. When we decide it, we can look at git history.
      257b0404
  30. 09 Aug, 2022 1 commit
    • Igor Demin's avatar
      Refactor Skiko properties (#563) · 4561adb5
      Igor Demin authored
      - Make SkikoProperties public, and don't cache the values, so users can change properties in runtime
      
      - Deprecate skiko.directx.gpu.priority and skiko.directx.gpu.priority, introduce skiko.gpu.priority. There is no need in separate priority for macOs/DirectX
      
      - Fix skiko.fps.enabled property
      4561adb5
  31. 29 Jul, 2022 1 commit
    • Pavel's avatar
      Fix segfaults (#561) · edb89083
      Pavel authored
      * skString c_str contains string encoded in UTF8, but it was treated as UTF16
      
      * ensure that managedString doesn't collect til the end of JNI call, also close manually at the end
      edb89083