mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-11-28 01:52:27 +00:00
9e71c88467
Passing the wlr_client_buffer directly has a downsides because a fresh wlr_buffer pointer is passed each output commit instead of cycling through existing wlr_buffer objects: - The FDs are re-imported each time in the backend. - Any import failure is logged every output commit [1]. - The Wayland backend cannot handle import failures without roundtripping each output commit [2]. Instead, extract the source buffer from the wlr_client_buffer and pass that to the backend. [1]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4836 [2]: https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/4841 |
||
---|---|---|
.. | ||
drag_icon.c | ||
layer_shell_v1.c | ||
output_layout.c | ||
subsurface_tree.c | ||
surface.c | ||
wlr_scene.c | ||
xdg_shell.c |