Diffusion KWin b3a19f9e5b77

Remove vsync detection and configurability

Authored by romangg on Aug 27 2019, 8:23 PM.

Description

Remove vsync detection and configurability

Summary:
Selecting not to vsync does not make sense for an X11 compositor. In the end
we want clients to be able to present async if they want to but the compositor
is supposed to send swaps with vsync to the XServer in order to not generate
tearing artifacts.

There was also a detection logic which did some questionable things in case
vsync was not available. I don't think this is necessary at all since we can
just always run a timer to present with or without vsync.

Test Plan: kwin_x11 tested on i915.

Reviewers: KWin, zzag

Subscribers: zzag, kwin

Tags: KWin

Maniphest Tasks: T11071

Differential Revision: https://phabricator.kde.org/D23511