From a53b9febcdd60c322933e41e4ded6247da1f8bef Mon Sep 17 00:00:00 2001 From: Robert Bragg Date: Tue, 23 Nov 2010 16:48:59 +0000 Subject: [PATCH] stage: if backend _ignoring_redraw_clips queue full redraw In clutter_stage_real_queue_redraw we were checking to see if the backend will ignore any subsequent redraw_clip so we can avoid the cost of projecting the paint-volume of an actor into stage coordinates, but we weren't ensuring that a full redraw would be queued instead we just bailed out immediately. This makes sure to call _clutter_stage_window_add_redraw_clip (stage_window, NULL) in this case to make sure the backend will do an un-clipped redraw. --- clutter/clutter-stage.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/clutter/clutter-stage.c b/clutter/clutter-stage.c index 909d21537..9a7dbd65d 100644 --- a/clutter/clutter-stage.c +++ b/clutter/clutter-stage.c @@ -876,7 +876,10 @@ clutter_stage_real_queue_redraw (ClutterActor *actor, return; if (_clutter_stage_window_ignoring_redraw_clips (stage_window)) - return; + { + _clutter_stage_window_add_redraw_clip (stage_window, NULL); + return; + } /* Convert the clip volume (which is in leaf actor coordinates) into stage * coordinates and then into an axis aligned stage coordinates bounding