Tweak repaint timeout to 5ms after vblank

Reduces risk of flicker, but we need something better here.
This commit is contained in:
Kristian Høgsberg 2009-09-12 16:57:02 -04:00
parent 4adaf5c6bc
commit 5d312db56e

View file

@ -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);