mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
Revert "clutter/cogl: Store empty clip regions for buffer age"
This reverts commit 4918893326
.
This commit prevented cogl_stage_cogl_redraw_view() from skipping
swap buffers entirely if the invalidation region ended up empty.
This meant we were actually swapping buffers when we didn't need to.
The source of the glitches was fixed more properly, so this just adds
extra work.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/898
This commit is contained in:
parent
cf89e4d2cd
commit
6bfa61a3a7
@ -800,7 +800,7 @@ clutter_stage_cogl_redraw_view (ClutterStageWindow *stage_window,
|
|||||||
swap_with_damage = FALSE;
|
swap_with_damage = FALSE;
|
||||||
if (has_buffer_age)
|
if (has_buffer_age)
|
||||||
{
|
{
|
||||||
if (use_clipped_redraw)
|
if (use_clipped_redraw && !clip_region_empty)
|
||||||
{
|
{
|
||||||
int age;
|
int age;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user