wlroots-hyprland/types/output
Simon Ser 0556aa0c59 output: rejigger attach/clear for back buffer
In wlr_output_attach_render(), stop setting
wlr_output.pending.buffer. This removes one footgun: using the
wlr_buffer at that stage is invalid, because rendering operations
haven't been flushed to the GPU yet. We need to wait until
output_clear_back_buffer() for the wlr_buffer to be used safely.

Instead, set wlr_output.pending.buffer in wlr_output_test() and
wlr_output_commit().

Additionally, move the output_clear_back_buffer() from
wlr_output_commit_state() to wlr_output_commit(). This reduces the
number of calls in the failure path.
2022-09-19 10:46:26 +00:00
..
cursor.c output/cursor: downgrade error messages 2022-09-15 09:33:30 +02:00
output.c output: rejigger attach/clear for back buffer 2022-09-19 10:46:26 +00:00
render.c output: rejigger attach/clear for back buffer 2022-09-19 10:46:26 +00:00
state.c output: add output state setters 2022-06-08 18:22:32 +02:00
transform.c output: split into multiple files 2021-10-23 00:49:24 +02:00