[mutter/gbsneto/window-screencast-fixes: 42/44] window-stream-src: Finish framebuffer after blitting
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/window-screencast-fixes: 42/44] window-stream-src: Finish framebuffer after blitting
- Date: Thu, 26 Mar 2020 18:23:33 +0000 (UTC)
commit be1901bfb49ca626cc49e875a959ad75983fcee1
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Mar 16 19:31:25 2020 -0300
window-stream-src: Finish framebuffer after blitting
Just like what's done for monitor screencasting. Unfortunately, there's
no mechanism to share fences with PipeWire clients yet, which forces
us to guarantee that a frame is completed after blitting.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/1129
src/backends/meta-screen-cast-window-stream-src.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/backends/meta-screen-cast-window-stream-src.c
b/src/backends/meta-screen-cast-window-stream-src.c
index 401f6e283..b1221ad6b 100644
--- a/src/backends/meta-screen-cast-window-stream-src.c
+++ b/src/backends/meta-screen-cast-window-stream-src.c
@@ -492,6 +492,8 @@ meta_screen_cast_window_stream_src_blit_to_framebuffer (MetaScreenCastStreamSrc
break;
}
+ cogl_framebuffer_finish (framebuffer);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]