summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Vlad <marius.vlad@collabora.com>2021-12-16 14:41:08 +0200
committerMarius Vlad <marius.vlad@collabora.com>2021-12-17 13:58:39 +0000
commit1941103136069caf55bf38eeac7795f69ec64cef (patch)
tree8442f1a59494c3969169b9976857c2d485c0cd80
parentcaee6f9e8e73d015ed90e9f696c1d511ed23301e (diff)
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 <marius.vlad@collabora.com> Change-Id: Ic701daebe69613b3dcc8eef96cac05c1b803327a
-rw-r--r--src/layout.c5
1 files changed, 2 insertions, 3 deletions
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