mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-06-11 10:23:19 +00:00
update tearing
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
### Description
|
||||
This patch adds support for tearing protocol. To get it working `export WLR_DRM_NO_ATOMIC=1` is probably required.
|
||||
Setting `ForceTearingRule` is also probably required since surfaces always receive presentation hint 0 (VSYNC) as far as i can tell.
|
||||
Some apps would send ASYNC hint and tearing will "just work", otherwise it's possible to force specified clients to tear with a rule.
|
||||
|
||||
Set rules in the config.h (exact string match):
|
||||
```
|
||||
static const ForceTearingRule force_tearing[] = {
|
||||
{.title = "", .appid = "oni.exe"},
|
||||
{.title = "", .appid = "hl_linux"},
|
||||
{.title = "", .appid = "steam_app_210970"},
|
||||
{.title = "Warcraft III", .appid = ""},
|
||||
{.title = "", .appid = "gamescope"},
|
||||
};
|
||||
```
|
||||
### Download
|
||||
- [git branch](https://codeberg.org/korei999/dwl/src/branch/tearing)
|
||||
- [2024-08-15](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/tearing/tearing.patch)
|
||||
- [2024-09-18](https://codeberg.org/dwl/dwl-patches/raw/branch/main/patches/tearing/tearing.patch)
|
||||
### Authors
|
||||
- [korei999](https://codeberg.org/korei999)
|
||||
|
||||
Reference in New Issue
Block a user