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:
parent
bd841e8dc5
commit
3a6f6c264d
@ -71,6 +71,7 @@ static const GDebugKey meta_debug_keys[] = {
|
|||||||
{ "screen-cast", META_DEBUG_SCREEN_CAST },
|
{ "screen-cast", META_DEBUG_SCREEN_CAST },
|
||||||
{ "remote-desktop", META_DEBUG_REMOTE_DESKTOP },
|
{ "remote-desktop", META_DEBUG_REMOTE_DESKTOP },
|
||||||
{ "backend", META_DEBUG_BACKEND },
|
{ "backend", META_DEBUG_BACKEND },
|
||||||
|
{ "render", META_DEBUG_RENDER },
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifdef WITH_VERBOSE_MODE
|
#ifdef WITH_VERBOSE_MODE
|
||||||
@ -329,6 +330,8 @@ topic_name (MetaDebugTopic topic)
|
|||||||
return "REMOTE_DESKTOP";
|
return "REMOTE_DESKTOP";
|
||||||
case META_DEBUG_BACKEND:
|
case META_DEBUG_BACKEND:
|
||||||
return "BACKEND";
|
return "BACKEND";
|
||||||
|
case META_DEBUG_RENDER:
|
||||||
|
return "RENDER";
|
||||||
case META_DEBUG_VERBOSE:
|
case META_DEBUG_VERBOSE:
|
||||||
return "VERBOSE";
|
return "VERBOSE";
|
||||||
}
|
}
|
||||||
|
@ -80,6 +80,7 @@ void meta_fatal (const char *format,
|
|||||||
* @META_DEBUG_SCREEN_CAST: screencasting
|
* @META_DEBUG_SCREEN_CAST: screencasting
|
||||||
* @META_DEBUG_REMOTE_DESKTOP: remote desktop
|
* @META_DEBUG_REMOTE_DESKTOP: remote desktop
|
||||||
* @META_DEBUG_BACKEND: backend
|
* @META_DEBUG_BACKEND: backend
|
||||||
|
* @META_DEBUG_RENDER: native backend rendering
|
||||||
*/
|
*/
|
||||||
typedef enum
|
typedef enum
|
||||||
{
|
{
|
||||||
@ -109,6 +110,7 @@ typedef enum
|
|||||||
META_DEBUG_SCREEN_CAST = 1 << 22,
|
META_DEBUG_SCREEN_CAST = 1 << 22,
|
||||||
META_DEBUG_REMOTE_DESKTOP = 1 << 23,
|
META_DEBUG_REMOTE_DESKTOP = 1 << 23,
|
||||||
META_DEBUG_BACKEND = 1 << 24,
|
META_DEBUG_BACKEND = 1 << 24,
|
||||||
|
META_DEBUG_RENDER = 1 << 25,
|
||||||
} MetaDebugTopic;
|
} MetaDebugTopic;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user