mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
clutter/stage-view: Add trace span to before_swap
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:
parent
3c27b75f2f
commit
58ee1dfdc8
@ -446,6 +446,9 @@ clutter_stage_view_before_swap_buffer (ClutterStageView *view,
|
||||
ClutterStageViewPrivate *priv =
|
||||
clutter_stage_view_get_instance_private (view);
|
||||
|
||||
COGL_TRACE_BEGIN_SCOPED (BeforeSwap,
|
||||
"Clutter::StageView::before_swap_buffer()");
|
||||
|
||||
if (priv->shadow.framebuffer)
|
||||
copy_shadowfb_to_onscreen (view, swap_region);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user