From 3c27b75f2f732d4eee22135b37b7a7d33219a8f7 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 12 Oct 2023 10:02:47 +0400 Subject: [PATCH] meta/stage-impl: Add trace span to paint_damage_region Part-of: --- src/backends/meta-stage-impl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/backends/meta-stage-impl.c b/src/backends/meta-stage-impl.c index 8ab2ebc33..a2d46ca6d 100644 --- a/src/backends/meta-stage-impl.c +++ b/src/backends/meta-stage-impl.c @@ -145,6 +145,9 @@ paint_damage_region (ClutterStageWindow *stage_window, graphene_matrix_t transform; int n_rects, i; + COGL_TRACE_BEGIN_SCOPED (PaintDamageRegion, + "Meta::StageImpl::paint_damage_region()"); + cogl_framebuffer_push_matrix (framebuffer); clutter_actor_get_transform (actor, &transform); cogl_framebuffer_transform (framebuffer, &transform);