From 185f294200b8e20d85dab828fa95265330762594 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 2 May 2024 18:58:35 +0400 Subject: wiki: Mention new debug option --- wiki/Configuration:-Debug-Options.md | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'wiki/Configuration:-Debug-Options.md') diff --git a/wiki/Configuration:-Debug-Options.md b/wiki/Configuration:-Debug-Options.md index 5da6084f..278f4048 100644 --- a/wiki/Configuration:-Debug-Options.md +++ b/wiki/Configuration:-Debug-Options.md @@ -137,15 +137,32 @@ debug { } ``` -### `toggle-debug-tint` Key Binding +### Key Bindings -This one is not a debug option, but rather a key binding. +These are not debug options, but rather key bindings. -It will tint all surfaces green, unless they are being directly scanned out. -It's therefore useful to check if direct scanout is working. +#### `toggle-debug-tint` + +Tints all surfaces green, unless they are being directly scanned out. + +Useful to check if direct scanout is working. ``` binds { Mod+Shift+Ctrl+T { toggle-debug-tint; } } ``` + +#### `debug-toggle-opaque-regions` + +Since: 0.1.6 + +Tints regions marked as opaque with blue and the rest of the render elements with red. + +Useful to check how Wayland surfaces and internal render elements mark their parts as opaque, which is a rendering performance optimization. + +``` +binds { + Mod+Shift+Ctrl+O { debug-toggle-opaque-regions; } +} +``` -- cgit