graesslin created this revision. Restricted Application added a project: KWin. Restricted Application added subscribers: kwin, plasma-devel.
REVISION SUMMARY We had a few places (e.g. DebugConsole, Platform) where the Scene was cased into a SceneOpenGL to access the backend and get the extensions. This change simplifies that by adding a virtual method to Scene directly which is implemented in SceneOpenGL and returns the backend's extensions. Thus the casts to SceneOpenGL are no longer required. TEST PLAN Opened debug console to verify extensions are listed, triggered Outline to verify the sharing QPA context gets created. REPOSITORY R108 KWin BRANCH scene-opengl-platform-interface-extensions REVISION DETAIL https://phabricator.kde.org/D7734 AFFECTED FILES debug_console.cpp platform.cpp scene.cpp scene.h scene_opengl.cpp scene_opengl.h To: graesslin, #kwin, #plasma Cc: plasma-devel, kwin, bwowk, ZrenBot, progwolff, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
