1
0
Fork 0

clutter/stage: Add trace span to paint_to_framebuffer

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3417>
This commit is contained in:
Ivan Molodetskikh 2023-11-09 10:06:40 +04:00 committed by Marge Bot
parent c897302f87
commit b0691d581a

View file

@ -2681,6 +2681,9 @@ clutter_stage_paint_to_framebuffer (ClutterStage *stage,
ClutterPaintContext *paint_context;
g_autoptr (MtkRegion) redraw_clip = NULL;
COGL_TRACE_BEGIN_SCOPED (PaintToFramebuffer,
"Clutter::Stage::paint_to_framebuffer()");
if (paint_flags & CLUTTER_PAINT_FLAG_CLEAR)
{
CoglColor clear_color;