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 {
137 }137 }
138 ```138 ```
139 139
140-### `toggle-debug-tint` Key Binding140+### Key Bindings
141 141
142-This one is not a debug option, but rather a key binding.142+These are not debug options, but rather key bindings.
143 143
144-It will tint all surfaces green, unless they are being directly scanned out.144+#### `toggle-debug-tint`
145-It's therefore useful to check if direct scanout is working.145+
146+Tints all surfaces green, unless they are being directly scanned out.
147+
148+Useful to check if direct scanout is working.
146 149
147 ```150 ```
148 binds {151 binds {
149 Mod+Shift+Ctrl+T { toggle-debug-tint; }152 Mod+Shift+Ctrl+T { toggle-debug-tint; }
150 }153 }
151 ```154 ```
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+```