<div>graesslin created this revision.<br />
graesslin added a reviewer: Plasma.<br />
Restricted Application added a project: Plasma.<br />
Restricted Application added a subscriber: plasma-devel.</div><br /><div><strong>REVISION SUMMARY</strong><div><p>A new virtual method createOpenGLSafePoint is added to Platform.<br />
This is invoked through the Compositor with a PreInit and a PostInit<br />
argument pre and post creating the SceneOpenGL.</p>
<p>The Platform plugin can implement this and use it for detecting whether<br />
creating the OpenGL compositor on this platform crashed in the past.<br />
Thus it's the base for the openGLIsBroken platform check.</p>
<p>The x11 standalone plugin is the first to implement this functionality<br />
using the previous code which was designed for X11.</p>
<p>This also means that a crash of the OpenGL compositor during init on<br />
Wayland won't result in OpenGL being disabled.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rKWIN KWin</div></div></div><br /><div><strong>BRANCH</strong><div><div>opengl-safe-check-through-platform</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D1582" rel="noreferrer">https://phabricator.kde.org/D1582</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>composite.cpp<br />
platform.cpp<br />
platform.h<br />
plugins/platforms/x11/standalone/x11_platform.cpp<br />
plugins/platforms/x11/standalone/x11_platform.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, Plasma<br /><strong>Cc: </strong>plasma-devel, sebas<br /></div>