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
@ -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…
x
Reference in New Issue
Block a user