mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
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.
This commit is contained in:
parent
5f181f7265
commit
a53b9febcd
@ -876,7 +876,10 @@ clutter_stage_real_queue_redraw (ClutterActor *actor,
|
||||
return;
|
||||
|
||||
if (_clutter_stage_window_ignoring_redraw_clips (stage_window))
|
||||
{
|
||||
_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
|
||||
|
Loading…
Reference in New Issue
Block a user