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:
10
src/render.c
10
src/render.c
@ -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
|
||||
|
Reference in New Issue
Block a user