Commit d0bfb94f authored by Carlos Garnacho's avatar Carlos Garnacho

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
parent 2b1537cd
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment