D7734: Add virtual method to Scene to get the EGL/GLX extensions
Martin Flöser
noreply at phabricator.kde.org
Fri Sep 8 13:53:35 UTC 2017
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20170908/60972b0b/attachment.html>
More information about the Plasma-devel
mailing list