util: Add 'color' debug topic

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2141>
This commit is contained in:
Jonas Ådahl
2021-10-25 16:41:11 +02:00
committed by Marge Bot
parent 20a91aa4e9
commit b6aea1318d
3 changed files with 8 additions and 2 deletions

View File

@ -73,6 +73,7 @@ static const GDebugKey meta_debug_keys[] = {
{ "remote-desktop", META_DEBUG_REMOTE_DESKTOP },
{ "backend", META_DEBUG_BACKEND },
{ "render", META_DEBUG_RENDER },
{ "color", META_DEBUG_COLOR },
};
static gint verbose_topics = 0;
@ -317,6 +318,8 @@ meta_topic_to_string (MetaDebugTopic topic)
return "BACKEND";
case META_DEBUG_RENDER:
return "RENDER";
case META_DEBUG_COLOR:
return "COLOR";
case META_DEBUG_VERBOSE:
return "VERBOSE";
}