Flexible composite swap and timer events
ClosedPublic

Authored by romangg on Dec 25 2019, 12:18 AM.

Details

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.

Diff Detail

Repository
R108 KWin
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
romangg created this revision.Dec 25 2019, 12:18 AM
Restricted Application added a project: KWin. · View Herald TranscriptDec 25 2019, 12:18 AM
Restricted Application added a subscriber: kwin. · View Herald Transcript
romangg requested review of this revision.Dec 25 2019, 12:18 AM
This revision was not accepted when it landed; it landed in state Needs Review.Dec 30 2019, 1:28 PM
This revision was automatically updated to reflect the committed changes.