D26216: Flexible composite swap and timer events

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
  The GLX backend might need a combination of swap and composite timer events for
  continous painting.
  
  The reason for that is that if the buffer age extension is not available we
  fall back to copies in case not the whole screen is repainted.
  
  The timer logic is adapted to make this possible in a lean way what cleans up
  the Compositor class in several ways.

TEST PLAN
  Tested on X11 (with/without swap events, buffer age enabled)  and Wayland.

REPOSITORY
  R108 KWin

BRANCH
  composite-optimize

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

AFFECTED FILES
  composite.cpp
  composite.h
  plugins/platforms/x11/standalone/glxbackend.cpp
  plugins/platforms/x11/standalone/glxbackend.h

To: romangg, #kwin
Cc: kwin, LeGast00n, The-Feren-OS-Dev, sbergeron, jraleigh, zachus, 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.