D25904: [libkwineffects] Allow changing of KWin's framebuffer

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

REVISION SUMMARY
  KWin only renders into the default framebuffer, which is for example an EGL
  surface.
  
  To prepare a post-processing step with a different framebuffer allow the
  framebuffer to be changable. For that KWin's current framebuffer must be
  communicated to the GLRenderTarget class, which otherwise does not set it back
  to KWin's current one when a render target is disabled again.

TEST PLAN
  Compiles, with other patches for Gl based screen rotation

REPOSITORY
  R108 KWin

BRANCH
  framebuffer-dynamic

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

AFFECTED FILES
  libkwineffects/kwinglutils.cpp
  libkwineffects/kwinglutils.h

To: romangg, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, 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.