mirror of
https://github.com/niri-wm/niri.git
synced 2026-06-22 02:01:55 +07:00
wiki: Mention new debug option
This commit is contained in:
@@ -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.
|
#### `toggle-debug-tint`
|
||||||
It's therefore useful to check if direct scanout is working.
|
|
||||||
|
Tints all surfaces green, unless they are being directly scanned out.
|
||||||
|
|
||||||
|
Useful to check if direct scanout is working.
|
||||||
|
|
||||||
```
|
```
|
||||||
binds {
|
binds {
|
||||||
Mod+Shift+Ctrl+T { toggle-debug-tint; }
|
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; }
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user