From 967511be6166fa424461a7460804f54677375453 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Dre=C3=9Fler?= Date: Fri, 6 Mar 2020 12:42:16 +0100 Subject: [PATCH] clutter/stage-cogl: Don't intersect the damage region with the view Since the damage history region is tracked per-view, all the regions it includes should be inside the current view anyway, so don't unnecessarily intersect that region with the view. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1113 --- clutter/clutter/cogl/clutter-stage-cogl.c | 1 - 1 file changed, 1 deletion(-) diff --git a/clutter/clutter/cogl/clutter-stage-cogl.c b/clutter/clutter/cogl/clutter-stage-cogl.c index f3745303c..fbd1bdf3f 100644 --- a/clutter/clutter/cogl/clutter-stage-cogl.c +++ b/clutter/clutter/cogl/clutter-stage-cogl.c @@ -672,7 +672,6 @@ clutter_stage_cogl_redraw_view (ClutterStageWindow *stage_window, 0, 0, 1.0f / fb_scale); cairo_region_translate (view_damage, view_rect.x, view_rect.y); - cairo_region_intersect_rectangle (view_damage, &view_rect); /* Update the redraw clip region with the extra damage. */ cairo_region_union (redraw_clip, view_damage);