1. 14 Sep, 2019 1 commit
  2. 12 Sep, 2019 1 commit
  3. 07 Sep, 2019 1 commit
  4. 28 Aug, 2019 3 commits
    • David Edmundson's avatar
      [server] Wrap proxyRemoveSurface in smart pointer · f7763052
      David Edmundson authored
      Summary:
      proxyRemoteSurface is a fake wayland surface created for the drag and
      drop between X and wayland clients.
      
      The lifespan is not guaranteed to outlive the DataDevice.
      
      Kwin closes Xwl before the other wayland client connections so it's
      technically dangling for a bit when events could be dispatched.
      
      Probably will never happen, but better to guard and be safe.
      
      Test Plan: Compiles
      
      Reviewers: #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D22862
      f7763052
    • Roman Gilg's avatar
      [server] Use cached current mode more and assert validness · 0c0a2710
      Roman Gilg authored
      Summary:
      We can use the cached current mode in one more case. Additionally make it
      more explicit what a valid mode is and when to add them.
      
      Test Plan: Relevant autotests pass. KWin Wayland nested and DRM session work.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D23535
      0c0a2710
    • Roman Gilg's avatar
      [server] Cache current mode · ce5e25a4
      Roman Gilg authored
      Summary:
      Instead of looping over all modes for retrieving current mode data copy it
      to a separate variable.
      
      Test Plan:
      KWin auto tests pass and KScreen in Wayland nested session shows correct
      information.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: davidedmundson, kde-frameworks-devel
      
      Tags: #frameworks
      
      Maniphest Tasks: T11459
      
      Differential Revision: https://phabricator.kde.org/D23493
      ce5e25a4
  5. 11 Aug, 2019 1 commit
  6. 06 Aug, 2019 1 commit
    • Roman Gilg's avatar
      Implement zwp_linux_dmabuf_v1 · 1dd57d90
      Roman Gilg authored
      Summary: This interface provides a way for clients to create generic dmabuf-based wl_buffers.
      
      Test Plan: Works with weston-simple-dmabuf-drm and weston-simple-dmabuf-egl in KWin.
      
      Reviewers: #kwin, #plasma, graesslin, davidedmundson, mart, fredrik
      
      Subscribers: zzag, kde-frameworks-devel, romangg, plasma-devel
      
      Tags: #frameworks, #plasma_on_wayland
      
      Maniphest Tasks: T8067
      
      Differential Revision: https://phabricator.kde.org/D10747
      1dd57d90
  7. 03 Aug, 2019 1 commit
  8. 02 Aug, 2019 1 commit
  9. 13 Jul, 2019 1 commit
  10. 08 Jul, 2019 1 commit
    • Vlad Zahorodnii's avatar
      Use wayland-protocols · 40b86f77
      Vlad Zahorodnii authored
      Summary:
      So far we've been copying protocol specifications from wayland-protocols
      repo to kwayland repo. The main issue with copying is that we have to
      keep xml files in sync manually. A better approach would be to use xml
      specs straight from wayland-protocols package.
      
      Test Plan: Compiles.
      
      Reviewers: #kwin, #frameworks, romangg, davidedmundson
      
      Reviewed By: #kwin, romangg, davidedmundson
      
      Subscribers: davidedmundson, apol, romangg, asturmlechner, kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D22216
      40b86f77
  11. 06 Jul, 2019 1 commit
  12. 04 Jul, 2019 1 commit
  13. 22 Jun, 2019 3 commits
  14. 13 Jun, 2019 1 commit
  15. 08 Jun, 2019 1 commit
  16. 01 Jun, 2019 1 commit
  17. 17 May, 2019 2 commits
  18. 15 May, 2019 1 commit
  19. 14 May, 2019 1 commit
    • David Edmundson's avatar
      Implement set_window_geometry · 6da6c7c7
      David Edmundson authored
      Summary:
      Used by clients to say where their true window geometry is relative to
      the buffer size. Important if a client has client side shadows which
      shouldn't be included for positioning tasks.
      
      Technically this should be double buffered, but for consistency with all
      other XdgShell properties this will be a task left to ShellClient.
      
      Test Plan: Unit test
      
      Reviewers: #kwin, zzag
      
      Reviewed By: #kwin, zzag
      
      Subscribers: zzag, kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D20595
      6da6c7c7
  20. 08 May, 2019 1 commit
    • Roman Gilg's avatar
      Implement wl_surface::damage_buffer · b71e1035
      Roman Gilg authored
      Summary:
      Missing from our surface handling was the damage_buffer call introduced in
      version 4 of the wl_compositor interface.
      
      Its only difference to a normal damage call is that the damaged region is
      supposed to be defined by the client in buffer coordinates instead of
      surface coordinates. This damage must be tracked separately in KWayland
      and on commit with the buffer transformation united with the normal damage.
      
      Test Plan: Autotest updated.
      
      Reviewers: #kwin, davidedmundson
      
      Reviewed By: #kwin, davidedmundson
      
      Subscribers: davidedmundson, zzag, kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D15910
      b71e1035
  21. 04 May, 2019 1 commit
  22. 02 May, 2019 1 commit
  23. 15 Apr, 2019 1 commit
    • Erik Kurzinger's avatar
      Implement wl_eglstream_controller Server Interface · e208389c
      Erik Kurzinger authored
      Summary:
      This implements a wrapper class for the wl_eglstream_controller Wayland
      interface. It allows clients to inform the compositor when a new EGL Stream has
      been created with an Wayland surface attached as its producer. The compositor
      can then bind a GL texture as the stream's consumer allowing it access to the
      surface's buffer contents for presentation. The only client currently expected
      to make use of this interface is the NVIDIA EGL driver when running alongside a
      compositor supporting EGLStream-based buffer sharing.
      
      Reviewers: #kwin, romangg, davidedmundson
      
      Reviewed By: #kwin, romangg, davidedmundson
      
      Subscribers: kde-frameworks-devel
      
      Tage: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D18824
      e208389c
  24. 13 Apr, 2019 1 commit
  25. 07 Apr, 2019 1 commit
  26. 26 Mar, 2019 1 commit
  27. 09 Mar, 2019 1 commit
  28. 04 Mar, 2019 2 commits
    • David Edmundson's avatar
      Hopefully fix flaky remote access test · f0152135
      David Edmundson authored
      Summary:
      We have 4 events:
      
      buffer1 created
      buffer2 created
      buffer1 paramters sent
      buffer2 paramters sent
      
      Some are batched
      
      We should connect to buffer 1's parameters being sent after the first
      buffer is recieved, not in the potential event loop waiting for buffer
      2.
      
      Test Plan:
      Passes locally
      Haven't tested on build.k.o
      
      Reviewers: #kwin
      
      Subscribers: kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D19476
      f0152135
    • Laurent Montel's avatar
      GIT_SILENT: add gitignore · d5bea1c4
      Laurent Montel authored
      d5bea1c4
  29. 02 Mar, 2019 1 commit
  30. 25 Feb, 2019 1 commit
    • David Edmundson's avatar
      Only commit XdgOutput::done if changed · 5afbaa5e
      David Edmundson authored
      Summary:
      XdgOutput no-ops if one calls setLogicalSize(someSize)  and someSize
      matches the last sent size
      
      However, as we have an explicit done signal, we currently end up sending
      this regardless.
      
      This patches tracks if we've made any changes to commit in the done
      event.
      
      CCBUG: 400987
      
      Reviewers: #kwin, romangg
      
      Reviewed By: #kwin, romangg
      
      Subscribers: romangg, kde-frameworks-devel
      
      Tags: #frameworks
      
      Differential Revision: https://phabricator.kde.org/D19255
      5afbaa5e
  31. 14 Feb, 2019 1 commit
  32. 12 Feb, 2019 3 commits