[mutter] backends/native: Avoid generic closure marshaler for page flip handling
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] backends/native: Avoid generic closure marshaler for page flip handling
- Date: Tue, 9 May 2017 09:59:58 +0000 (UTC)
commit d0bfb94ff05e6b1615429bf8eae4b74ab10fe027
Author: Carlos Garnacho <carlosg gnome org>
Date: Sun Apr 30 18:26:36 2017 +0200
backends/native: Avoid generic closure marshaler for page flip handling
This turns out more expensive than necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=782344
src/backends/native/meta-renderer-native.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c
index 6a58ae8..9aad373 100644
--- a/src/backends/native/meta-renderer-native.c
+++ b/src/backends/native/meta-renderer-native.c
@@ -703,7 +703,7 @@ meta_onscreen_native_flip_crtcs (CoglOnscreen *onscreen)
flip_closure = g_cclosure_new (G_CALLBACK (on_crtc_flipped),
g_object_ref (view),
(GClosureNotify) flip_closure_destroyed);
- g_closure_set_marshal (flip_closure, g_cclosure_marshal_generic);
+ g_closure_set_marshal (flip_closure, g_cclosure_marshal_VOID__VOID);
/* Either flip the CRTC's of the monitor info, if we are drawing just part
* of the stage, or all of the CRTC's if we are drawing the whole stage.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]