kwin/plugins
Vlad Zahorodnii cc8cb8db9d qpa: Create a pbuffer for internal windows
If the surfaceless context extension is unsupported by the underlying
platform, the QPA will use the EGLSurface of the first output to make
OpenGL contexts current.

If an internal window attempts to make an OpenGL context current while
compositing is being restarted, for example it's typically the case with
the composited outline visual, QPA will either try to make the context
current with a no longer valid EGLSurface for the first output or will
crash during the call to Platform::supportsSurfacelessContext(). The
latter needs more explanation. After the compositingToggled() signal has
been emitted, there is no scene and supportsSurfacelessContext() doesn't
handle this case.

In either case, we could return EGL_NO_SURFACE if compositing is being
restarted, but if the underlying platform doesn't support the surfaceless
context extension, then the composited outline will not be able to
delete used textures, framebuffer objects, etc.

This change addresses that problem by making sure that every platform
window has a pbuffer allocated in case the surfaceless context extension
is unsupported.
2020-10-19 06:12:13 +00:00
..
idletime Prettify license headers 2020-08-07 19:57:56 +00:00
kdecorations SVN_SILENT made messages (.desktop file) - always resolve ours 2020-09-30 06:16:48 +02:00
kglobalaccel Prettify license headers 2020-08-07 19:57:56 +00:00
kpackage SVN_SILENT made messages (.desktop file) - always resolve ours 2020-09-30 06:16:48 +02:00
platforms wayland: Introduce logicalToNativeMatrix() helper 2020-10-16 17:03:39 +00:00
qpa qpa: Create a pbuffer for internal windows 2020-10-19 06:12:13 +00:00
scenes scene: Reduce the call cost of Platform::supportsQpaContext() 2020-10-13 05:32:48 +00:00
windowsystem plugins/windowsystem: Adjust installation path 2020-09-01 22:44:11 +03:00
CMakeLists.txt Cleanup style in CMakeLists.txt files 2019-09-17 16:03:05 +03:00