util: Add 'backend' debug topic

Meant for backend things that are not large enough to warrant their own
topic.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1931>
This commit is contained in:
Jonas Ådahl
2021-07-15 08:59:33 +02:00
parent e4375046e0
commit 4b6631338e
2 changed files with 5 additions and 0 deletions

View File

@ -70,6 +70,7 @@ static const GDebugKey meta_debug_keys[] = {
{ "kms", META_DEBUG_KMS },
{ "screen-cast", META_DEBUG_SCREEN_CAST },
{ "remote-desktop", META_DEBUG_REMOTE_DESKTOP },
{ "backend", META_DEBUG_BACKEND },
};
#ifdef WITH_VERBOSE_MODE
@ -324,6 +325,8 @@ topic_name (MetaDebugTopic topic)
return "SCREEN_CAST";
case META_DEBUG_REMOTE_DESKTOP:
return "REMOTE_DESKTOP";
case META_DEBUG_BACKEND:
return "BACKEND";
case META_DEBUG_VERBOSE:
return "VERBOSE";
case META_DEBUG_WAYLAND: