1. 15 Jan, 2021 5 commits
    • Igor Demin's avatar
      Draw into picture, refactor SkiaLayer · f970ae3d
      Igor Demin authored
      1. Split onRender into performUpdate and performDraw.
      performUpdate will be called from the Swing thread in upcoming commits (to avoid race conditions)
      
      2. Remove canvas.scale by default
      
      Motivation: automatic scaling is harmful.
      Example:
      - skiko returns us 100x100 canvas size.
      - We load image from disk and reduce its size to 100x100.
      - We draw this image onto canvas, and it is scaled 2x with artifacts.
      If skiko returns us 200x200 then we reduce image to 200x200 and draw it onto canvas without scaling.
      
      3. Cache contentScale
      It is expensive operation on Linux to do it in every frame (we read database)
      
      4. Remove onInit, onReshape, onDispose removed from SkiaRenderer.
      It is hard to implement it in the right thread (on macOs we have AppKit and AWT thread). Besides we don't use them in Compose.
      If they will be needed then we can implement them later.
      f970ae3d
    • Igor Demin's avatar
      FPSCounter · b6624360
      Igor Demin authored
      b6624360
    • Igor Demin's avatar
    • Igor Demin's avatar
      Support coroutines, migrate to Kotlin 1.21 · 8866df96
      Igor Demin authored
      8866df96
    • Nikolay Igotti's avatar
      91e9bd02
  2. 14 Jan, 2021 1 commit
  3. 13 Jan, 2021 1 commit
  4. 12 Jan, 2021 2 commits
  5. 11 Jan, 2021 2 commits
  6. 25 Dec, 2020 1 commit
  7. 24 Dec, 2020 1 commit
  8. 21 Dec, 2020 2 commits
  9. 17 Dec, 2020 2 commits
  10. 15 Dec, 2020 4 commits
  11. 14 Dec, 2020 2 commits
  12. 11 Dec, 2020 1 commit
  13. 10 Dec, 2020 2 commits
  14. 09 Dec, 2020 3 commits
  15. 07 Dec, 2020 1 commit
  16. 01 Dec, 2020 1 commit
  17. 24 Nov, 2020 1 commit
  18. 23 Nov, 2020 2 commits
  19. 20 Nov, 2020 1 commit
  20. 19 Nov, 2020 4 commits
  21. 18 Nov, 2020 1 commit