1. 29 Mar, 2023 2 commits
    • Igor Demin's avatar
      Implement multitouch (#681) · e825dd01
      Igor Demin authored
      1. Remove SkikoTouchEvent, we send all pointer events as SkikoPointerEvent now.
      
      2. Add SkikoPointerEvent.Pointer that represents a separate touch/mouse
      
      3. Implement multitouch for iOS/Android
      e825dd01
    • Pavel's avatar
      Add configurable logger, solidify workaround for JBR-5274 (#683) · ea760f80
      Pavel authored
      * sometimes when we change scale via `EasyRes` or when we close/open lid and window is migrated to other screen `paint` is not called
      
      see FL-18544
      
      * customizable logger behaviour
      
      * add debug logs in AWT layer
      ea760f80
  2. 27 Mar, 2023 1 commit
  3. 22 Mar, 2023 1 commit
  4. 18 Mar, 2023 1 commit
  5. 06 Mar, 2023 1 commit
  6. 01 Mar, 2023 1 commit
  7. 23 Feb, 2023 2 commits
  8. 22 Feb, 2023 1 commit
    • Igor Demin's avatar
      Update docs about development on Windows (#664) · 3192de0d
      Igor Demin authored
      * Update docs about development on Windows
      
      Specified a more detailed manual how to install Visual Studio. I checked it on a clean PC.
      
      * Update DEVELOPMENT.md
      
      * Update DEVELOPMENT.md
      3192de0d
  9. 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
  10. 10 Feb, 2023 1 commit
  11. 07 Feb, 2023 2 commits
  12. 02 Feb, 2023 1 commit
  13. 30 Jan, 2023 2 commits
  14. 23 Jan, 2023 1 commit
  15. 12 Jan, 2023 1 commit
  16. 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
  17. 21 Dec, 2022 1 commit
  18. 20 Dec, 2022 1 commit
  19. 14 Dec, 2022 2 commits
  20. 13 Dec, 2022 1 commit
  21. 09 Dec, 2022 2 commits
  22. 08 Dec, 2022 1 commit
  23. 02 Dec, 2022 1 commit
  24. 29 Nov, 2022 1 commit
  25. 27 Nov, 2022 1 commit
  26. 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
  27. 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
  28. 15 Nov, 2022 1 commit
  29. 08 Nov, 2022 1 commit
  30. 07 Nov, 2022 2 commits
  31. 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
  32. 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