[mutter] clutter/main: Add 'detailed-trace' debug flag
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] clutter/main: Add 'detailed-trace' debug flag
- Date: Thu, 29 Jul 2021 14:22:05 +0000 (UTC)
commit 796eb005bccb51e481b67cf8c3ec6ee55b6d2c38
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Wed Feb 3 00:04:02 2021 +0100
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: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1700>
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 b862f82a3b..195c2e5cfc 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 e59361eb79..26651efc6f 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]