Diffusion KWin f5b66a583de4

[plugins/qpa] Implement native offscreen surface

Authored by zzag on Jul 1 2019, 6:34 PM.

Description

[plugins/qpa] Implement native offscreen surface

Summary:
Depending on whether the underlying platform supports offscreen surfaces,
QOffscreenSurface may create an invisible QWindow. In our case that's the
case, for each offscreen surface a native window is created. This may
lead to some funky results related to window decorations, see bug 407612.

There are several ways to implement offscreen surfaces - either use pbuffers
or utilize a surfaceless context extension. For the sake of simplicity
this change sticks with pbuffers, but it's a good idea to support both
methods.

CCBUG: 407612

Reviewers: KWin, romangg

Reviewed By: KWin, romangg

Subscribers: romangg, alexeymin, kwin

Tags: KWin

Differential Revision: https://phabricator.kde.org/D22150

Details

Committed
zzagJul 1 2019, 7:04 PM
Reviewer
KWin
Differential Revision
D22150: [plugins/qpa] Implement native offscreen surface
Parents
R108:22d70d0c563c: [plugins/qpa] Split out EGL helpers
Branches
Unknown
Tags
Unknown