wlroots-hyprland/types/output
Simon Ser fef8ab22e3 output: introduce wlr_output_configure_primary_swapchain()
The goal is to simplify wlr_output by moving all of its rendering
API into separate helpers. Here is a first step to sunset
wlr_output_attach_render(). Instead, compositors call
wlr_output_configure_primary_swapchain(), wlr_swapchain_acquire(),
wlr_renderer_begin_with_buffer() and wlr_output_attach_buffer().

Note that compositors can supply a base struct wlr_output_state.
This is useful to allocate a buffer suitable for submission with
a modeset, for instance.

Closes: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3079
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3197
References: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/3984
2023-02-24 18:22:20 +00:00
..
cursor.c render/swapchain: make public 2023-02-21 17:14:31 +01:00
output.c render/swapchain: make public 2023-02-21 17:14:31 +01:00
render.c render/swapchain: make public 2023-02-21 17:14:31 +01:00
state.c output: expose wlr_output_state_set_buffer() 2023-02-21 09:43:43 +00:00
swapchain.c output: introduce wlr_output_configure_primary_swapchain() 2023-02-24 18:22:20 +00:00
transform.c output: split into multiple files 2021-10-23 00:49:24 +02:00