D22150: [plugins/qpa] Implement native offscreen surface

Vlad Zagorodniy <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
zzag created this revision.
zzag added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
zzag requested review of this revision.

REVISION 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

REPOSITORY
  R108 KWin

BRANCH
  qpa-offscreen-surface

REVISION DETAIL
  https://phabricator.kde.org/D22150

AFFECTED FILES
  plugins/qpa/CMakeLists.txt
  plugins/qpa/abstractplatformcontext.cpp
  plugins/qpa/egl_helpers.cpp
  plugins/qpa/egl_helpers.h
  plugins/qpa/integration.cpp
  plugins/qpa/integration.h
  plugins/qpa/offscreen_surface.cpp
  plugins/qpa/offscreen_surface.h
  plugins/qpa/sharingplatformcontext.cpp

To: zzag, #kwin
Cc: kwin, LeGast00n, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.