Skip to content

compositor: Add support for adaptive vsync with GLX

Olivier Fourdan requested to merge olivier/xfwm4:adaptive-vsync into master

Adaptive vsync, or its proprietary equivalent g-sync, works by using -1 as the swap interval.

Add support for GLX_EXT_swap_control_tear to check whether this is safe to use, so that we can support adaptive vsync where available.

Signed-off-by: Olivier Fourdan Closes: #515

Merge request reports