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>
This commit is contained in:
Jonas Dreßler
2021-02-05 09:51:08 +01:00
committed by Marge Bot
parent ee3d26f228
commit a869df1dd7
3 changed files with 5 additions and 0 deletions

View File

@ -121,6 +121,7 @@ static const GDebugKey meta_debug_keys[] = {
{ "input", META_DEBUG_INPUT },
{ "wayland", META_DEBUG_WAYLAND },
{ "kms", META_DEBUG_KMS },
{ "screen-cast", META_DEBUG_SCREEN_CAST },
};
/*

View File

@ -278,6 +278,8 @@ topic_name (MetaDebugTopic topic)
return "INPUT";
case META_DEBUG_KMS:
return "KMS";
case META_DEBUG_SCREEN_CAST:
return "SCREEN_CAST";
case META_DEBUG_VERBOSE:
return "VERBOSE";
case META_DEBUG_WAYLAND: