screen-cast-*-stream-src: Switch to cogl_framebuffer_flush()
PipeWire recently introduced busy buffers, which actually fixes the last remaining issue that blocked us from downgrading these cogl_framebuffer_finish() calls into cogl_framebuffer_flush() ones. Switch to cogl_framebuffer_flush() in all three stream sources. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1701>
This commit is contained in:
parent
02610a1d45
commit
aa2cb8a4f7
@ -485,7 +485,7 @@ meta_screen_cast_area_stream_src_record_to_framebuffer (MetaScreenCastStreamSrc
|
||||
area, scale,
|
||||
paint_flags);
|
||||
|
||||
cogl_framebuffer_finish (framebuffer);
|
||||
cogl_framebuffer_flush (framebuffer);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -608,7 +608,7 @@ meta_screen_cast_monitor_stream_src_record_to_framebuffer (MetaScreenCastStreamS
|
||||
}
|
||||
}
|
||||
|
||||
cogl_framebuffer_finish (framebuffer);
|
||||
cogl_framebuffer_flush (framebuffer);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -501,7 +501,7 @@ meta_screen_cast_window_stream_src_record_to_framebuffer (MetaScreenCastStreamSr
|
||||
break;
|
||||
}
|
||||
|
||||
cogl_framebuffer_finish (framebuffer);
|
||||
cogl_framebuffer_flush (framebuffer);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user