1. 15 Mar, 2021 3 commits
  2. 11 Mar, 2021 1 commit
  3. 10 Mar, 2021 1 commit
  4. 09 Mar, 2021 1 commit
  5. 05 Mar, 2021 1 commit
  6. 01 Mar, 2021 1 commit
  7. 25 Feb, 2021 1 commit
  8. 24 Feb, 2021 1 commit
  9. 23 Feb, 2021 1 commit
  10. 20 Feb, 2021 2 commits
    • Igor Demin's avatar
      Merge pull request #67 from JetBrains/schedule-redraw-onresize · 324a21cb
      Igor Demin authored
      Schedule redraw on resize and initialization
      324a21cb
    • Igor Demin's avatar
      Schedule redraw on resize and initialization · 9b9bea5f
      Igor Demin authored
      We probably shouldn't perform frame rendering in init/setBounds.
      Because in onRender we can call window.setBounds.
      It will cause drawing onRender inside another onRender.
      
      After the fix there is no increase in artifacts on start or resize.
      
      "True" fix would be to call "repaint" instead of manual scheduling redrawing with "invokeLater", because paint events have higher priority than usual events.
      
      But "repaint" doesn't work with Canvas. It is only works with Swing components.
      We can extend JLayeredPane instead of HardwareLayer (and just add HardwareLayer to JLayeredPane).
      But there are too much changes.
      
      Anyway, system draws Window independently of AWT, so we probably can't get rid of artifacts if we use only AWT.
      9b9bea5f
  11. 19 Feb, 2021 14 commits
  12. 18 Feb, 2021 6 commits
  13. 17 Feb, 2021 7 commits