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
1 changed files with 3 additions and 0 deletions
|
@ -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 a new issue