mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
Tweak repaint timeout to 5ms after vblank
Reduces risk of flicker, but we need something better here.
This commit is contained in:
parent
4adaf5c6bc
commit
5d312db56e
1 changed files with 1 additions and 1 deletions
|
|
@ -597,7 +597,7 @@ page_flip_handler(int fd, unsigned int frame,
|
|||
&compositor->base,
|
||||
compositor->current_frame, msecs);
|
||||
|
||||
wl_event_source_timer_update(compositor->timer_source, 10);
|
||||
wl_event_source_timer_update(compositor->timer_source, 5);
|
||||
compositor->repaint_on_timeout = 1;
|
||||
|
||||
animate = container_of(compositor->animate_list.next, struct wlsc_animate, link);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue