kwin/plugins/platforms/x11/standalone
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
..
CMakeLists.txt Create screen edge through the Platform 2016-04-19 13:29:55 +02:00
edge.cpp Create screen edge through the Platform 2016-04-19 13:29:55 +02:00
edge.h Create screen edge through the Platform 2016-04-19 13:29:55 +02:00
glxbackend.cpp
glxbackend.h
logging.cpp
logging.h
screens_xrandr.cpp
screens_xrandr.h
x11.json SVN_SILENT made messages (.desktop file) - always resolve ours 2016-04-21 10:02:53 +00:00
x11_platform.cpp Move the OpenGL unsafe check into the Platform 2016-05-17 14:29:29 +02:00
x11_platform.h Move the OpenGL unsafe check into the Platform 2016-05-17 14:29:29 +02:00