From: Kristian Høgsberg Date: Wed, 20 Jun 2012 04:54:52 +0000 (-0400) Subject: compositor: Don't schedule repaint from weston_surface_update_transform() X-Git-Tag: 0.94.90~59 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=83c4c40135b0522b9ea4a9af1cfc6aec5e39afe5;p=platform%2Fupstream%2Fweston.git compositor: Don't schedule repaint from weston_surface_update_transform() weston_surface_update_transform() is typically called as part of the repaint cycle so don't schedule a repaint here. There are still a couple of places where we call weston_surface_update_transform() manually, but they don't rely on the repaint being scheduled. --- diff --git a/src/compositor.c b/src/compositor.c index 8aefca1..a8ace9c 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -445,8 +445,6 @@ weston_surface_update_transform(struct weston_surface *surface) if (weston_surface_is_mapped(surface)) weston_surface_assign_output(surface); - - weston_compositor_schedule_repaint(surface->compositor); } WL_EXPORT void