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>
This commit is contained in:
Jonas Ådahl
2021-04-30 14:34:31 +02:00
parent bd841e8dc5
commit 3a6f6c264d
2 changed files with 5 additions and 0 deletions

View File

@ -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";
}