[PATCH 3/5] rdp: fix presentation for the RDP compositor

David Fort rdp.effort at gmail.com
Fri Apr 22 13:19:04 UTC 2016


Set an update delay that is a multiple of the output frequency, or we may do
incorrect weston_output_finish_frame calls.
---
 src/compositor-rdp.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compositor-rdp.c b/src/compositor-rdp.c
index 9274674..4cbc1c3 100644
--- a/src/compositor-rdp.c
+++ b/src/compositor-rdp.c
@@ -378,7 +378,7 @@ rdp_output_repaint(struct weston_output *output_base, pixman_region32_t *damage)
 	pixman_region32_subtract(&ec->primary_plane.damage,
 				 &ec->primary_plane.damage, damage);
 
-	wl_event_source_timer_update(output->finish_frame_timer, 16);
+	wl_event_source_timer_update(output->finish_frame_timer, 10);
 	return 0;
 }
 
-- 
1.9.1



More information about the wayland-devel mailing list