[mutter/gbsneto/window-screencast-fixes: 1/4] window-actor: Finish framebuffer after blitting
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/window-screencast-fixes: 1/4] window-actor: Finish framebuffer after blitting
- Date: Tue, 17 Mar 2020 00:05:29 +0000 (UTC)
commit 8ab1a9eb6d0c224a0a205ef3fab84bda54c2bf26
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Mar 16 19:31:25 2020 -0300
window-actor: 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/compositor/meta-window-actor.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/compositor/meta-window-actor.c b/src/compositor/meta-window-actor.c
index 32b85ed1f..d86e38fee 100644
--- a/src/compositor/meta-window-actor.c
+++ b/src/compositor/meta-window-actor.c
@@ -1322,6 +1322,8 @@ meta_window_actor_blit_to_framebuffer (MetaScreenCastWindow *screen_cast_window,
cogl_framebuffer_pop_clip (framebuffer);
cogl_framebuffer_pop_matrix (framebuffer);
+ cogl_framebuffer_finish (framebuffer);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]