projects
/
platform
/
upstream
/
wayland.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4adaf5c
)
Tweak repaint timeout to 5ms after vblank
author
Kristian Høgsberg
<krh@redhat.com>
Sat, 12 Sep 2009 20:57:02 +0000
(16:57 -0400)
committer
Kristian Høgsberg
<krh@redhat.com>
Sat, 12 Sep 2009 20:57:02 +0000
(16:57 -0400)
Reduces risk of flicker, but we need something better here.
wayland-system-compositor.c
patch
|
blob
|
history
diff --git
a/wayland-system-compositor.c
b/wayland-system-compositor.c
index 4ea7bbdc4741065c79611b72df156fda73ec6f24..1d6d0afdf6f09a1fadc8ec5a21a4473bbefe96b5 100644
(file)
--- a/
wayland-system-compositor.c
+++ b/
wayland-system-compositor.c
@@
-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);