From 796eb005bccb51e481b67cf8c3ec6ee55b6d2c38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20=C3=85dahl?= Date: Wed, 3 Feb 2021 00:04:02 +0100 Subject: [PATCH] clutter/main: Add 'detailed-trace' debug flag Will be used to trace a lot more, and with more details, and thus may have a larger impact on what is actually measured. This potential impact is the reason for enabling only when needed. Part-of: --- clutter/clutter/clutter-main.c | 1 + clutter/clutter/clutter-main.h | 1 + 2 files changed, 2 insertions(+) diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index b862f82a3..195c2e5cf 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -117,6 +117,7 @@ static const GDebugKey clutter_debug_keys[] = { { "clipping", CLUTTER_DEBUG_CLIPPING }, { "oob-transforms", CLUTTER_DEBUG_OOB_TRANSFORMS }, { "frame-timings", CLUTTER_DEBUG_FRAME_TIMINGS }, + { "detailed-trace", CLUTTER_DEBUG_DETAILED_TRACE }, }; #endif /* CLUTTER_ENABLE_DEBUG */ diff --git a/clutter/clutter/clutter-main.h b/clutter/clutter/clutter-main.h index e59361eb7..26651efc6 100644 --- a/clutter/clutter/clutter-main.h +++ b/clutter/clutter/clutter-main.h @@ -54,6 +54,7 @@ typedef enum CLUTTER_DEBUG_CLIPPING = 1 << 15, CLUTTER_DEBUG_OOB_TRANSFORMS = 1 << 16, CLUTTER_DEBUG_FRAME_TIMINGS = 1 << 17, + CLUTTER_DEBUG_DETAILED_TRACE = 1 << 18, } ClutterDebugFlag; typedef enum