D26216: Flexible composite swap and timer events

Roman Gilg noreply at phabricator.kde.org
Wed Dec 25 00:18:51 GMT 2019


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20191225/75d3b26f/attachment.html>


More information about the kwin mailing list