Commit Graph

5 Commits

Author SHA1 Message Date
Violet Purcell
066baa5753
tearing-control-v1: implement
Implement the wp-tearing-control-v1 protocol allowing window to hint
the compositor that they prefer async "tearing" page flips.

Add tearing/no-tearing rules to allow the user to manually
enabled/disable tearing for a window.

Use async "tearing" page flips when a window that should be allowed to
tear is fullscreen.

This still requires several kernel patches to work with the wlroots
atomic DRM backend. For now, either set WLR_DRM_NO_ATOMIC=1 or use a
custom kernel that includes the unmerged patches (such as CachyOS).

Closes: https://codeberg.org/river/river/issues/1094
2024-08-15 11:45:53 +02:00
Isaac Freund
99ef96a389
build: update to wlroots 0.18.0 2024-07-16 14:34:40 +02:00
Isaac Freund
a80e0f7322
Output: fix Wayland backend support
The wlroots Wayland backend does not support gamma LUT application and
will currently fail to render anything if river commits a gamma LUT.

To fix this, test the state when applying a gamma LUT and fall back to a
state with no gamma LUT set if that fails.

This problem was revealed by 2e09b66 which flags gamma as dirty on all
outputs when they are enabled.
2024-07-01 12:27:16 +02:00
Isaac Freund
8da69699e9
build: update to Zig 0.13.0 2024-06-07 14:01:30 +02:00
Isaac Freund
958f8798b6
build: switch to the Zig package manager
No more git submodules!
2024-05-20 11:44:08 +02:00