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
This commit is contained in:
parent
2b1537cdf5
commit
d0bfb94ff0
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue