From: Marius Vlad Date: Thu, 16 Dec 2021 12:41:08 +0000 (+0200) Subject: layout: Remove explicit damage call X-Git-Tag: 12.1.1^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=1941103136069caf55bf38eeac7795f69ec64cef;p=src%2Fagl-compositor.git layout: Remove explicit damage call As we will be marking all the views dirty, weston_output_repaint() should pick-up correctly any inflicted damage, and perform an implicit redraw without the need for an explict to call to weston_view_below_damage(). Note that we still need to schedule a repaint for that particular view. While at it, also remove an explicit call to weston_view_update_transform() which is going to be handled internally as well, when rebuilding the view list by libweston. Signed-off-by: Marius Vlad Change-Id: Ic701daebe69613b3dcc8eef96cac05c1b803327a --- diff --git a/src/layout.c b/src/layout.c index bcc8581..322fa80 100644 --- a/src/layout.c +++ b/src/layout.c @@ -215,10 +215,9 @@ ivi_layout_activate_complete(struct ivi_output *output, output->active = surf; weston_layer_entry_insert(&ivi->normal.view_list, &view->layer_link); - weston_view_update_transform(view); - weston_view_geometry_dirty(view); - weston_view_damage_below(view); + weston_view_geometry_dirty(view); + weston_view_schedule_repaint(view); /* * the 'remote' role now makes use of this part so make sure we don't