wlroots/types/scene
Simon Ser ec3780e6ea scene: try to import buffers as textures before rendering
The wlroots APIs currently don't allow importing/uploading a buffer
during rendering operations. Scene-graph buffer nodes need to turn
their wlr_buffer into a wlr_texture at some point. It's not always
possible to do so at wlr_scene_buffer creation time because the
scene-graph may have zero outputs at this point, thus no way to
grab a wlr_renderer.

Instead, add scene-graph buffers to a pending list and try to import
them in wlr_scene_output_commit.

References: https://gitlab.freedesktop.org/wlroots/wlroots/-/issues/3354
(cherry picked from commit 3db1bcbe641b407b9f5c9e5d0a012b45aa2c6cb7)
2022-02-02 20:28:27 +01:00
..
output_layout.c scene: add wlr_scene_attach_output_layout 2021-09-09 12:04:35 +02:00
subsurface_tree.c scene/subsurface_tree: fix handling subsurface destruction 2022-02-02 20:08:20 +01:00
wlr_scene.c scene: try to import buffers as textures before rendering 2022-02-02 20:28:27 +01:00
xdg_shell.c scene: add wlr_scene_xdg_surface_create 2021-11-25 18:53:12 +01:00