[mutter] util: Add 'render' debug topic
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] util: Add 'render' debug topic
- Date: Mon, 18 Oct 2021 16:45:45 +0000 (UTC)
commit 3a6f6c264d7c721da4894409c21babbd91e3370a
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Fri Apr 30 14:34:31 2021 +0200
util: Add 'render' debug topic
Meant for MetaRenderer and everything related that deals with turning
composited frames, or client buffers, into mode set updates. This is
slightly related to the debug topic 'kms' is meant for the KMS details.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1854>
src/core/util.c | 3 +++
src/meta/util.h | 2 ++
2 files changed, 5 insertions(+)
---
diff --git a/src/core/util.c b/src/core/util.c
index 2ee91025a6..5e32db5492 100644
--- a/src/core/util.c
+++ b/src/core/util.c
@@ -71,6 +71,7 @@ static const GDebugKey meta_debug_keys[] = {
{ "screen-cast", META_DEBUG_SCREEN_CAST },
{ "remote-desktop", META_DEBUG_REMOTE_DESKTOP },
{ "backend", META_DEBUG_BACKEND },
+ { "render", META_DEBUG_RENDER },
};
#ifdef WITH_VERBOSE_MODE
@@ -329,6 +330,8 @@ topic_name (MetaDebugTopic topic)
return "REMOTE_DESKTOP";
case META_DEBUG_BACKEND:
return "BACKEND";
+ case META_DEBUG_RENDER:
+ return "RENDER";
case META_DEBUG_VERBOSE:
return "VERBOSE";
}
diff --git a/src/meta/util.h b/src/meta/util.h
index 834e61d492..9e67ed19df 100644
--- a/src/meta/util.h
+++ b/src/meta/util.h
@@ -80,6 +80,7 @@ void meta_fatal (const char *format,
* @META_DEBUG_SCREEN_CAST: screencasting
* @META_DEBUG_REMOTE_DESKTOP: remote desktop
* @META_DEBUG_BACKEND: backend
+ * @META_DEBUG_RENDER: native backend rendering
*/
typedef enum
{
@@ -109,6 +110,7 @@ typedef enum
META_DEBUG_SCREEN_CAST = 1 << 22,
META_DEBUG_REMOTE_DESKTOP = 1 << 23,
META_DEBUG_BACKEND = 1 << 24,
+ META_DEBUG_RENDER = 1 << 25,
} MetaDebugTopic;
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]