summaryrefslogtreecommitdiff
path: root/src/meta
diff options
context:
space:
mode:
authorJonas Dreßler <verdre@v0yd.nl>2021-02-05 09:51:08 +0100
committerMarge Bot <marge-bot@gnome.org>2021-02-05 09:27:38 +0000
commita869df1dd7163b0d937f92230958c8a7e817e128 (patch)
tree5ccb5dace175e0b415e70767ce70c3892b3e334c /src/meta
parentee3d26f228e08fa50acd48e9f1b9227dd1a82a11 (diff)
downloadmutter-a869df1dd7163b0d937f92230958c8a7e817e128.tar.gz
util: Add a SCREEN_CAST debug topic
This is going to be useful to log dropped frames and other more common errors about screencasting. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1709>
Diffstat (limited to 'src/meta')
-rw-r--r--src/meta/util.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/meta/util.h b/src/meta/util.h
index 814d14479..a0c3edd6d 100644
--- a/src/meta/util.h
+++ b/src/meta/util.h
@@ -77,6 +77,7 @@ void meta_fatal (const char *format,
* @META_DEBUG_EDGE_RESISTANCE: edge resistance
* @META_DEBUG_WAYLAND: Wayland
* @META_DEBUG_KMS: kernel mode setting
+ * @META_DEBUG_SCREEN_CAST: screencasting
*/
typedef enum
{
@@ -103,6 +104,7 @@ typedef enum
META_DEBUG_INPUT = 1 << 19,
META_DEBUG_WAYLAND = 1 << 20,
META_DEBUG_KMS = 1 << 21,
+ META_DEBUG_SCREEN_CAST = 1 << 22,
} MetaDebugTopic;
/**