diff options
author | Ivan Molodetskikh <yalterz@gmail.com> | 2020-11-27 21:49:19 +0300 |
---|---|---|
committer | Marge Bot <marge-bot@gnome.org> | 2021-07-13 08:09:43 +0000 |
commit | a5d1d48bf115b0f250a34ad799bf8ec7226886f9 (patch) | |
tree | 0508336a8e78133548d0d41f6be324ed720939d9 /clutter/clutter/clutter-main.c | |
parent | f55c9af61856dcf6989064113e61e15fbedf9618 (diff) | |
download | mutter-a5d1d48bf115b0f250a34ad799bf8ec7226886f9.tar.gz |
clutter: Add a max render time debug HUD
Not sure how to update the damage or redraw clip or something; at least
this works properly when under a constantly-redrawing window, which is
ok for debugging purposes.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1762>
Diffstat (limited to 'clutter/clutter/clutter-main.c')
-rw-r--r-- | clutter/clutter/clutter-main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clutter/clutter/clutter-main.c b/clutter/clutter/clutter-main.c index fa206b307..a800138ea 100644 --- a/clutter/clutter/clutter-main.c +++ b/clutter/clutter/clutter-main.c @@ -136,6 +136,7 @@ static const GDebugKey clutter_paint_debug_keys[] = { { "paint-deform-tiles", CLUTTER_DEBUG_PAINT_DEFORM_TILES }, { "damage-region", CLUTTER_DEBUG_PAINT_DAMAGE_REGION }, { "disable-dynamic-max-render-time", CLUTTER_DEBUG_DISABLE_DYNAMIC_MAX_RENDER_TIME }, + { "max-render-time", CLUTTER_DEBUG_PAINT_MAX_RENDER_TIME }, }; gboolean |