mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
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;
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user