mirror of
https://codeberg.org/dwl/dwl-patches.git
synced 2026-06-11 10:23:19 +00:00
add tearing patch
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
### 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.
|
||||
|
||||
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"},
|
||||
};
|
||||
|
||||
```
|
||||
|
||||
### Download
|
||||
- [git branch](https://codeberg.org/korei999/dwl/src/branch/globalkey)
|
||||
- [2024-06-08](https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/globalkey/globalkey.patch)
|
||||
|
||||
### Download
|
||||
- [git branch](https://codeberg.org/korei999/dwl/src/branch/tearing)
|
||||
- [2024-06-08](https://codeberg.org/dwl/dwl-patches/src/branch/main/patches/tearing/tearing.patch)
|
||||
### Authors
|
||||
- [korei999](https://codeberg.org/korei999)
|
||||
Reference in New Issue
Block a user