[mutter] clutter/stage: Always check stage views when checking for full redraw
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/stage: Always check stage views when checking for full redraw
- Date: Thu, 2 Jul 2020 20:51:18 +0000 (UTC)
commit 62f251574f06c414abdd1dc9d53ae4492a66aeb9
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Tue Mar 31 11:21:27 2020 +0200
clutter/stage: Always check stage views when checking for full redraw
It's an optimization to check whether there are any redraws on the stage
by checking the 'redraw-pending' field. That field is going away, so
remove that optimization.
https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285
clutter/clutter/clutter-stage.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/clutter/clutter/clutter-stage.c b/clutter/clutter/clutter-stage.c
index df3a4c3c33..3225a7cb7d 100644
--- a/clutter/clutter/clutter-stage.c
+++ b/clutter/clutter/clutter-stage.c
@@ -1564,9 +1564,6 @@ _clutter_stage_has_full_redraw_queued (ClutterStage *stage)
if (CLUTTER_ACTOR_IN_DESTRUCTION (stage))
return FALSE;
- if (!stage->priv->redraw_pending)
- return FALSE;
-
return is_full_stage_redraw_queued (stage);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]