Deprecate --vsync-aggressive

Original developer's word in man page: "Reported to work pretty terribly".

Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
Yuxuan Shui
2019-03-10 13:58:38 +00:00
parent 22da17630f
commit e7de44260b
5 changed files with 5 additions and 22 deletions

View File

@ -950,13 +950,6 @@ void paint_all(session_t *ps, win *const t, bool ignore_damage) {
#endif
}
// Wait for VBlank. We could do it aggressively (send the painting
// request and XFlush() on VBlank) or conservatively (send the request
// only on VBlank).
// TODO Investigate and potentially remove this option
if (!ps->o.vsync_aggressive)
vsync_wait(ps);
switch (ps->o.backend) {
case BKEND_XRENDER:
if (ps->o.monitor_repaint) {
@ -1016,9 +1009,6 @@ void paint_all(session_t *ps, win *const t, bool ignore_damage) {
default: assert(0);
}
if (ps->o.vsync_aggressive)
vsync_wait(ps);
x_sync(ps->c);
#ifdef CONFIG_OPENGL