1. 03 Feb, 2020 2 commits
    • Vlad Zahorodnii's avatar
      [x11] Fix visual artifacts during interactive resize · 56d5f3a4
      Vlad Zahorodnii authored
      When a window is being interactively resized, its contents may jump. The
      reason why that happens is because KWin renders partially resized client
      window. Composite extension spec says that a window will get a new pixmap
      each time it is resized or mapped. This applies to the frame window, but
      not to the client window itself. If the client window is resized,
      off-screen storage for the frame window won't be reallocated. Therefore,
      KWin may render partially resized client window if the client doesn't
      attempt to be in sync with our rendering loop. Currently, the only way
      to do that is to use extended frame counters, which are not supported by
      So, in order to fix visual artifacts during interactive resize, we need
      somehow forcefully re-allocate off-screen storage for the frame window.
      Unfortunately, Composite extension doesn't provide any request to do
      that, so the only option we have is to resize the frame window.
      BUG: 415839
      FIXED-IN: 5.18.0
      Reviewers: #kwin
      Subscribers: davidedmundson, ngraham, alexde, fredrik, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D26914
    • Arjen Hiemstra's avatar
      ScreenEdge: Do not use localtime for measuring duration · 9b3d9e58
      Arjen Hiemstra authored
      QDateTime::fromMSecSinceEpoch uses Qt::LocalTime by default. This involves an
      expensive localtime conversion. So instead force things to use UTC, as there
      is no need for timezone information when tracking durations.
      This is especially noticeable on Bedrock Linux, which uses a Fuse mounted
      /etc, which is slower than a plain /etc and causes quite some slowdown there.
      See https://github.com/bedrocklinux/bedrocklinux-userland/issues/140 for
      Test Plan: The screenedge unit test still passes.
      Reviewers: #kwin, davidedmundson
      Reviewed By: #kwin, davidedmundson
      Subscribers: zzag, anthonyfieroni, davidedmundson, kwin
      Tags: #kwin
      Differential Revision: https://phabricator.kde.org/D27114
  2. 31 Jan, 2020 1 commit
  3. 29 Jan, 2020 6 commits
  4. 28 Jan, 2020 6 commits
  5. 27 Jan, 2020 1 commit
  6. 25 Jan, 2020 2 commits
  7. 23 Jan, 2020 3 commits
  8. 21 Jan, 2020 1 commit
  9. 19 Jan, 2020 3 commits
  10. 18 Jan, 2020 1 commit
  11. 17 Jan, 2020 1 commit
  12. 16 Jan, 2020 13 commits