wlroots-hyprland/include
Simon Ser a0345f2854 output: add wlr_output_state.allow_artifacts
When starting up, the compositor might call wlr_output_set_mode()
with a mode which is already the current one. wlroots will detect
this and make the wlr_output_set_mode() call a no-op. During the
next wlr_output_commit() call, wlroots will perform an atomic
commit without the ALLOW_MODESET flag.

This is an issue, because some drivers need ALLOW_MODESET even if
the mode is the same. For instance, if the FB stride or modifier
changed, some drivers require a modeset.

Add a new flag "allow_artifacts" which is set when the compositor
calls mode-setting functions. Use this flag to figure out whether
we want to perform atomic commits with ALLOW_MODESET.

(The name "allow_artifacts" is picked because ALLOW_MODESET is a
misnomer, see [1].)

[1]: https://patchwork.freedesktop.org/patch/505107/

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3499
2022-09-30 10:58:17 +00:00
..
backend backend/drm: pass through mode picture aspect ratio 2022-09-22 09:38:27 +02:00
interfaces types/wlr_input_device: move init and finish function to private API 2022-03-07 16:37:41 +00:00
render render/egl: add support for EGL_KHR_display_reference 2022-09-19 10:04:47 +00:00
types output: fix back buffer checks 2022-09-21 16:18:16 +02:00
util util/set: overhaul 2022-08-29 13:48:42 +00:00
wlr output: add wlr_output_state.allow_artifacts 2022-09-30 10:58:17 +00:00
xcursor xcursor: garbage collect XcursorLibraryLoadImages 2022-01-31 14:10:08 +00:00
xwayland xwayland: use dict to collect supported features 2022-05-23 09:49:58 +02:00
meson.build render/vulkan: add Vulkan renderer 2021-10-18 11:51:13 +02:00