Diffusion KWin e7da4d65ecbd

[platforms/x11/standalone] Use intel swap events by default

Authored by romangg on Nov 14 2019, 8:22 AM.

Description

[platforms/x11/standalone] Use intel swap events by default

Summary:
Activate intel swap events by default if available. They were hidden behind an
environmental variable because of some critical release blocking issue years
ago.

Manual testing indicates that there are no issues anymore with this extension.
Since it allows us to use swap events with MESA drivers for optimized repaints
enable swap events by default again.

For now leave a modified environment variable to switch back to using no swap
events easily.

CCBUG: 342582

Test Plan: i915

Reviewers: KWin

Subscribers: zzag, broulik, kwin

Tags: KWin

Maniphest Tasks: T11071

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