wiki: Mention new debug option

This commit is contained in:
Ivan Molodetskikh
2024-05-02 18:58:35 +04:00
parent c6d64dae7a
commit 185f294200
+21 -4
View File
@@ -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`
<sup>Since: 0.1.6</sup>
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; }
}
```