mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-12-22 18:09:49 +01:00
017555651b
Right now callers of drm_crtc_commit need to check whether the interface is legacy or atomic before passing the TEST_ONLY flag. Additionally, the fallbacks for legacy are in-place in the common code. Add a test_only arg to the crtc_commit hook. This way, there's no risk to pass atomic-only flags to the legacy function (add an assert to ensure this) and all of the legacy-specific logic can be put back into legacy.c (done in next commit). |
||
---|---|---|
.. | ||
drm | ||
session | ||
backend.h | ||
headless.h | ||
libinput.h | ||
multi.h | ||
noop.h | ||
wayland.h | ||
x11.h |