[Differential] [Request, 2,675 lines] D1355: Introduce an x11/standalone platform plugin for use in kwin_x11

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Fri Apr 8 08:38:56 UTC 2016


graesslin created this revision.
graesslin added reviewers: Plasma, sebas.
Restricted Application added a project: Plasma.
Restricted Application added a subscriber: plasma-devel.

REVISION SUMMARY
  Move the x11 plugin sources into a x11/windowed directory
  
  Preparation step for having two x11 backends: the windowed for Wayland
  and a standalone for kwin_x11.
  
  Add a very basic x11/standalone platform plugin
  
  The plugin does not much. It's the most basic plugin we can have to
  be loaded from kwin_x11.
  
  Unlike the wayland platform plugins it gets installed to:
  org.kde.kwin.platforms
  
  Load and init the KWinX11Platform plugin in main_x11
  
  kwin_x11 now also loads a platform plugin and initializes it.
  It doesn't do much except loading it and init it. Though it's also
  set up to continue startup only when screens are queried.
  
  Move XRandrScreens to the x11/standalone plugin
  
  By moving XRandrScreens the creation of screens gets simplified a lot
  as there is no need to have windowing system specific init code. It all
  just goes through the platform.
  
  This also marks the point where the first X11 specific code is removed
  from kwin_wayland.

REPOSITORY
  rKWIN KWin

BRANCH
  x11-platform-plugin

REVISION DETAIL
  https://phabricator.kde.org/D1355

AFFECTED FILES
  CMakeLists.txt
  autotests/CMakeLists.txt
  autotests/test_xrandr_screens.cpp
  main_x11.cpp
  plugins/platforms/CMakeLists.txt
  plugins/platforms/x11/CMakeLists.txt
  plugins/platforms/x11/egl_x11_backend.cpp
  plugins/platforms/x11/egl_x11_backend.h
  plugins/platforms/x11/logging.cpp
  plugins/platforms/x11/logging.h
  plugins/platforms/x11/scene_qpainter_x11_backend.cpp
  plugins/platforms/x11/scene_qpainter_x11_backend.h
  plugins/platforms/x11/standalone/CMakeLists.txt
  plugins/platforms/x11/standalone/screens_xrandr.cpp
  plugins/platforms/x11/standalone/screens_xrandr.h
  plugins/platforms/x11/standalone/x11.json
  plugins/platforms/x11/standalone/x11_platform.cpp
  plugins/platforms/x11/standalone/x11_platform.h
  plugins/platforms/x11/windowed/CMakeLists.txt
  plugins/platforms/x11/windowed/egl_x11_backend.cpp
  plugins/platforms/x11/windowed/egl_x11_backend.h
  plugins/platforms/x11/windowed/logging.cpp
  plugins/platforms/x11/windowed/logging.h
  plugins/platforms/x11/windowed/scene_qpainter_x11_backend.cpp
  plugins/platforms/x11/windowed/scene_qpainter_x11_backend.h
  plugins/platforms/x11/windowed/x11.json
  plugins/platforms/x11/windowed/x11windowed_backend.cpp
  plugins/platforms/x11/windowed/x11windowed_backend.h
  plugins/platforms/x11/x11.json
  plugins/platforms/x11/x11windowed_backend.cpp
  plugins/platforms/x11/x11windowed_backend.h
  screens.cpp
  screens_xrandr.cpp
  screens_xrandr.h
  x11eventfilter.h

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: graesslin, Plasma, sebas
Cc: plasma-devel, sebas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160408/5daefeae/attachment.html>


More information about the Plasma-devel mailing list