forge
Explore
Log in

Don't you dare go Hollow

wiki: Mention new debug option

Browse files at this commit

185f294200b8e20d85dab828fa95265330762594Ivan MolodetskikhParent: c6d64da
wiki/Configuration:-Debug-Options.mdmodified+21 -4
@@ -137,15 +137,32 @@ debug {
137137 }
138138 ```
139139
140-### `toggle-debug-tint` Key Binding
140+### Key Bindings
141141
142-This one is not a debug option, but rather a key binding.
142+These are not debug options, but rather key bindings.
143143
144-It will tint all surfaces green, unless they are being directly scanned out.
145-It's therefore useful to check if direct scanout is working.
144+#### `toggle-debug-tint`
145+
146+Tints all surfaces green, unless they are being directly scanned out.
147+
148+Useful to check if direct scanout is working.
146149
147150 ```
148151 binds {
149152 Mod+Shift+Ctrl+T { toggle-debug-tint; }
150153 }
151154 ```
155+
156+#### `debug-toggle-opaque-regions`
157+
158+<sup>Since: 0.1.6</sup>
159+
160+Tints regions marked as opaque with blue and the rest of the render elements with red.
161+
162+Useful to check how Wayland surfaces and internal render elements mark their parts as opaque, which is a rendering performance optimization.
163+
164+```
165+binds {
166+ Mod+Shift+Ctrl+O { debug-toggle-opaque-regions; }
167+}
168+```