1. 26 Jan, 2021 3 commits
  2. 25 Jan, 2021 1 commit
  3. 22 Jan, 2021 3 commits
  4. 21 Jan, 2021 7 commits
  5. 20 Jan, 2021 14 commits
  6. 19 Jan, 2021 2 commits
  7. 18 Jan, 2021 4 commits
  8. 16 Jan, 2021 1 commit
  9. 15 Jan, 2021 5 commits
    • Igor Demin's avatar
      SkiaWindow tests · ef910e66
      Igor Demin authored
      ef910e66
    • Igor Demin's avatar
      Screenshot based testing · 093421cf
      Igor Demin authored
      093421cf
    • Igor Demin's avatar
      Support vsync · 620547af
      Igor Demin authored
      620547af
    • 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