D19012: [qpa] Drop PlatformContextWayland which uses wayland egl for OpenGL
Martin Flöser <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
graesslin created this revision. graesslin added a reviewer: KWin. Herald added a project: KWin. Herald added a subscriber: kwin. graesslin requested review of this revision. REVISION SUMMARY Using the Wayland protocol for OpenGL is no longer used or useful. KWin internal windows only use OpenGL through QtQuick. We either have the sharing context (KWin uses OpenGL for compositing) or we have the QPainter compositor which also turns QtQuick to use software renderer. Thus a situation where the Wayland platform context is useful doesn't exist any more. Removing it helps getting the QPA plugin Wayland free. TEST PLAN Run nested KWin triggering Outline once with OpenGL and once with QPainter compositor. REPOSITORY R108 KWin BRANCH drop-platform-context REVISION DETAIL https://phabricator.kde.org/D19012 AFFECTED FILES plugins/qpa/CMakeLists.txt plugins/qpa/integration.cpp plugins/qpa/integration.h plugins/qpa/platformcontextwayland.cpp plugins/qpa/platformcontextwayland.h plugins/qpa/window.cpp plugins/qpa/window.h To: graesslin, #kwin Cc: kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart