kwin/plugins/platforms
Martin Flöser 09489a4c2b Add a pure virtual method to Platform to describe the supported compositors
Summary:
So far KWin does not know which Compositors the platform actually
supports. This results in KWin happily trying to use the OpenGL
compositor on fbdev or the QPainter compositor on hwcomposer although
that is obviously going to fail as the platform doesn't support this.

By adding a pure virtual method all Platforms can define what they
support. In a later step the Compositor can use this to create an
appropriate scene and also perform proper fallback handling in case the
scene creation fails.

Test Plan: Compiles

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D8316
2017-10-18 21:19:43 +02:00
..
drm Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
fbdev Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
hwcomposer Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
virtual Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
wayland Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
x11 Add a pure virtual method to Platform to describe the supported compositors 2017-10-18 21:19:43 +02:00
CMakeLists.txt Hide the Linux specific parts behind check for headers 2017-07-24 16:19:27 +02:00