graesslin created this revision. graesslin added a reviewer: Plasma. Restricted Application added a project: Plasma. Restricted Application added a subscriber: plasma-devel.
REVISION 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. REPOSITORY rKWIN KWin BRANCH opengl-safe-check-through-platform REVISION DETAIL https://phabricator.kde.org/D1582 AFFECTED FILES composite.cpp platform.cpp platform.h plugins/platforms/x11/standalone/x11_platform.cpp plugins/platforms/x11/standalone/x11_platform.h EMAIL PREFERENCES https://phabricator.kde.org/settings/panel/emailpreferences/ To: graesslin, Plasma Cc: plasma-devel, sebas
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel