mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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>
This commit is contained in:
parent
ffb88bffc5
commit
796eb005bc
@ -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 */
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user