[mutter] screen-cast-*-stream-src: Switch to cogl_framebuffer_flush()
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] screen-cast-*-stream-src: Switch to cogl_framebuffer_flush()
- Date: Mon, 8 Feb 2021 09:05:03 +0000 (UTC)
commit aa2cb8a4f7645d96813d7963190c16c6059b3a68
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jan 27 08:50:46 2021 -0300
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>
src/backends/meta-screen-cast-area-stream-src.c | 2 +-
src/backends/meta-screen-cast-monitor-stream-src.c | 2 +-
src/backends/meta-screen-cast-window-stream-src.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/backends/meta-screen-cast-area-stream-src.c b/src/backends/meta-screen-cast-area-stream-src.c
index 281f6f2e90..b7de04d7b6 100644
--- a/src/backends/meta-screen-cast-area-stream-src.c
+++ b/src/backends/meta-screen-cast-area-stream-src.c
@@ -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;
}
diff --git a/src/backends/meta-screen-cast-monitor-stream-src.c
b/src/backends/meta-screen-cast-monitor-stream-src.c
index 3011d0d193..6753f176a7 100644
--- a/src/backends/meta-screen-cast-monitor-stream-src.c
+++ b/src/backends/meta-screen-cast-monitor-stream-src.c
@@ -608,7 +608,7 @@ meta_screen_cast_monitor_stream_src_record_to_framebuffer (MetaScreenCastStreamS
}
}
- cogl_framebuffer_finish (framebuffer);
+ cogl_framebuffer_flush (framebuffer);
return TRUE;
}
diff --git a/src/backends/meta-screen-cast-window-stream-src.c
b/src/backends/meta-screen-cast-window-stream-src.c
index 3fe8120f2f..014a97c324 100644
--- a/src/backends/meta-screen-cast-window-stream-src.c
+++ b/src/backends/meta-screen-cast-window-stream-src.c
@@ -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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]