summaryrefslogtreecommitdiff
path: root/subsurface_tree.c
diff options
context:
space:
mode:
authorSimon Ser <[email protected]>2022-01-18 14:27:37 +0100
committerKenny Levinsen <[email protected]>2022-02-01 10:01:09 +0000
commitba83a3197660df5340c303c02d55e3cd31a3f501 (patch)
treeb280238a2425063b54e567af0544ff0079e3fe10 /subsurface_tree.c
parente2045a155dc54c93fcdc38104b1ff1f84eac2788 (diff)
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
Diffstat (limited to 'subsurface_tree.c')
0 files changed, 0 insertions, 0 deletions