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:
parent
c897302f87
commit
b0691d581a
1 changed files with 3 additions and 0 deletions
|
@ -2681,6 +2681,9 @@ clutter_stage_paint_to_framebuffer (ClutterStage *stage,
|
||||||
ClutterPaintContext *paint_context;
|
ClutterPaintContext *paint_context;
|
||||||
g_autoptr (MtkRegion) redraw_clip = NULL;
|
g_autoptr (MtkRegion) redraw_clip = NULL;
|
||||||
|
|
||||||
|
COGL_TRACE_BEGIN_SCOPED (PaintToFramebuffer,
|
||||||
|
"Clutter::Stage::paint_to_framebuffer()");
|
||||||
|
|
||||||
if (paint_flags & CLUTTER_PAINT_FLAG_CLEAR)
|
if (paint_flags & CLUTTER_PAINT_FLAG_CLEAR)
|
||||||
{
|
{
|
||||||
CoglColor clear_color;
|
CoglColor clear_color;
|
||||||
|
|
Loading…
Reference in a new issue