backend/x11: Give X11 a real rendering loop

Makes use of the present extension to get notified of vsync, and not
require any stupid timer hacks. Also make use of the present version of
ConfigureNotify, because why not?
This commit is contained in:
Scott Anderson 2019-11-02 23:25:45 +13:00 committed by Simon Ser
parent b81bb2ef30
commit a3c3b928a3
4 changed files with 95 additions and 67 deletions

View file

@ -2,8 +2,9 @@ x11_libs = []
x11_required = [
'x11-xcb',
'xcb',
'xcb-xinput',
'xcb-present',
'xcb-xfixes',
'xcb-xinput',
]
foreach lib : x11_required