wlroots-hyprland/types/scene
Simon Ser 3db1bcbe64 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
2022-02-01 10:01:09 +00:00
..
output_layout.c scene: add wlr_scene_attach_output_layout 2021-09-09 12:04:35 +02:00
subsurface_tree.c surface: deprecate wlr_surface.h 2022-01-13 10:06:41 +00:00
wlr_scene.c scene: try to import buffers as textures before rendering 2022-02-01 10:01:09 +00:00
xdg_shell.c scene: add wlr_scene_xdg_surface_create 2021-11-25 18:53:12 +01:00