[Differential] [Request, 46 lines] D1582: Move the OpenGL unsafe check into the Platform

graesslin (Martin Gräßlin) noreply at phabricator.kde.org
Tue May 10 08:39:21 UTC 2016


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20160510/42a33843/attachment.html>


More information about the Plasma-devel mailing list