[mutter] renderer/native: Fix 'notify-frame-complete' function name
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] renderer/native: Fix 'notify-frame-complete' function name
- Date: Fri, 22 Jan 2021 17:08:27 +0000 (UTC)
commit a7a1391de7a07c4f876ddc517e382276d8cbb3ef
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Wed Oct 21 11:36:40 2020 +0200
renderer/native: Fix 'notify-frame-complete' function name
It had the word "queue" in it, which was incorrect, as it invoked the
listeners directly without queueing anything.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1488>
src/backends/native/meta-renderer-native.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c
index 2de461bc59..06e698fb08 100644
--- a/src/backends/native/meta-renderer-native.c
+++ b/src/backends/native/meta-renderer-native.c
@@ -764,7 +764,7 @@ free_current_bo (CoglOnscreen *onscreen)
}
static void
-meta_onscreen_native_queue_swap_notify (CoglOnscreen *onscreen)
+meta_onscreen_native_notify_frame_complete (CoglOnscreen *onscreen)
{
CoglFrameInfo *info;
@@ -1095,7 +1095,7 @@ notify_view_crtc_presented (MetaRendererView *view,
crtc = META_CRTC (meta_crtc_kms_from_kms_crtc (kms_crtc));
maybe_update_frame_info (crtc, frame_info, time_ns);
- meta_onscreen_native_queue_swap_notify (onscreen);
+ meta_onscreen_native_notify_frame_complete (onscreen);
renderer_gpu_data =
meta_renderer_native_get_gpu_data (renderer_native,
@@ -1242,7 +1242,7 @@ static void
dummy_power_save_page_flip (CoglOnscreen *onscreen)
{
meta_onscreen_native_swap_drm_fb (onscreen);
- meta_onscreen_native_queue_swap_notify (onscreen);
+ meta_onscreen_native_notify_frame_complete (onscreen);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]