1. 13 Feb, 2023 1 commit
    • Pavel's avatar
      Fix crash on pack after dispose (#662) · aa5e5f7a
      Pavel authored
      * added performance test with clocks
      
      ignore tests with clocks
      
      * use simple logger instead of printlns
      
      * checked that we call `finishRecording` at the same picture that we called a `beginRecording`
      
      * make `Logger` internal
      
      * disable assertions in rendering performance test with content; otherwise it might be too flaky
      
      * unignore `FPS is near display refresh rate (multiple windows with clocks)`
      aa5e5f7a
  2. 10 Feb, 2023 1 commit
  3. 07 Feb, 2023 2 commits
  4. 02 Feb, 2023 1 commit
  5. 30 Jan, 2023 2 commits
  6. 23 Jan, 2023 1 commit
  7. 12 Jan, 2023 1 commit
  8. 09 Jan, 2023 1 commit
    • Igor Demin's avatar
      Linux fix deadlock when we close a window (#646) · dc985814
      Igor Demin authored
      Deadlock:
      [AWTThread] awtLock -> SkiaLayer.dispose -> LinuxOpenGLRedrawer.dispose -> we are here -> lockLinuxDrawingSurface -> awtLock
      [refreshRate updater thread] -> lockLinuxDrawingSurface -> we are here -> awtLock
      
      We moved refreshRate to another thread, and check it only once a second, because it is not fast. I mistakenly thought in the past, that it is very slow on Linux (2ms), but it appears it was because of the awtLock itself. In the AWT thread it take 0.2ms, that is also slow for just one functions, but bearable, if it called only once every second.
      
      Alternative is to subscribe to the native XRRScreenChangeNotifyEvent: https://www.x.org/releases/current/doc/man/man3/Xrandr.3.xhtml. But it seems X window system can have only one event queue associated with the window, and we already have one inside AWT, and we don't have access to it.
      dc985814
  9. 21 Dec, 2022 1 commit
  10. 20 Dec, 2022 1 commit
  11. 14 Dec, 2022 2 commits
  12. 13 Dec, 2022 1 commit
  13. 09 Dec, 2022 2 commits
  14. 08 Dec, 2022 1 commit
  15. 02 Dec, 2022 1 commit
  16. 29 Nov, 2022 1 commit
  17. 27 Nov, 2022 1 commit
  18. 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
  19. 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
  20. 15 Nov, 2022 1 commit
  21. 08 Nov, 2022 1 commit
  22. 07 Nov, 2022 2 commits
  23. 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
  24. 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
  25. 26 Oct, 2022 1 commit
  26. 14 Oct, 2022 1 commit
  27. 06 Oct, 2022 1 commit
  28. 29 Sep, 2022 1 commit
  29. 23 Sep, 2022 1 commit
  30. 21 Sep, 2022 1 commit
  31. 16 Sep, 2022 1 commit
  32. 09 Sep, 2022 1 commit
  33. 07 Sep, 2022 1 commit
  34. 06 Sep, 2022 1 commit