kwin/plugins/platforms
Martin Gräßlin 7c822fadee Move the OpenGL unsafe check into the Platform
Summary:
A new virtual method createOpenGLSafePoint is added to Platform.
This is invoked through the Compositor with a PreInit and a PostInit
argument pre and post creating the SceneOpenGL.

The Platform plugin can implement this and use it for detecting whether
creating the OpenGL compositor on this platform crashed in the past.
Thus it's the base for the openGLIsBroken platform check.

The x11 standalone plugin is the first to implement this functionality
using the previous code which was designed for X11.

This also means that a crash of the OpenGL compositor during init on
Wayland won't result in OpenGL being disabled.

Reviewers: #plasma

Subscribers: plasma-devel

Projects: #plasma

Differential Revision: https://phabricator.kde.org/D1582
2016-05-17 14:29:29 +02:00
..
drm add override to bufferForScreen 2016-05-02 14:50:23 +02:00
fbdev
hwcomposer [platforms/hwcomposer] Remove integration with VirtualTerminal 2016-04-22 14:18:56 +02:00
virtual
wayland
x11 Move the OpenGL unsafe check into the Platform 2016-05-17 14:29:29 +02:00
CMakeLists.txt