mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
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:
parent
e4375046e0
commit
4b6631338e
@ -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:
|
||||
|
@ -79,6 +79,7 @@ void meta_fatal (const char *format,
|
||||
* @META_DEBUG_KMS: kernel mode setting
|
||||
* @META_DEBUG_SCREEN_CAST: screencasting
|
||||
* @META_DEBUG_REMOTE_DESKTOP: remote desktop
|
||||
* @META_DEBUG_BACKEND: backend
|
||||
*/
|
||||
typedef enum
|
||||
{
|
||||
@ -107,6 +108,7 @@ typedef enum
|
||||
META_DEBUG_KMS = 1 << 21,
|
||||
META_DEBUG_SCREEN_CAST = 1 << 22,
|
||||
META_DEBUG_REMOTE_DESKTOP = 1 << 23,
|
||||
META_DEBUG_BACKEND = 1 << 24,
|
||||
} MetaDebugTopic;
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user