diff options
author | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-08-14 02:17:09 -0400 |
---|---|---|
committer | Alexander Orzechowski <orzechowski.alexander@gmail.com> | 2022-08-14 02:38:50 -0400 |
commit | 0a9a941ba329d10c08a6f638a0b22b60b7c92d0f (patch) | |
tree | 62eb614f7672d3b10992451a73415a9462cdcc3b /include/wlr | |
parent | 14f4cfffbaac19595580c1a2b8a29b96c36ef4ee (diff) |
wlr_scene: Rewrite direct scan out logic to rely on visibility
Also make the regular rendering logic use the introduced
render list.
Diffstat (limited to 'include/wlr')
-rw-r--r-- | include/wlr/types/wlr_scene.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/wlr/types/wlr_scene.h b/include/wlr/types/wlr_scene.h index da0a794a..efdd6061 100644 --- a/include/wlr/types/wlr_scene.h +++ b/include/wlr/types/wlr_scene.h @@ -158,6 +158,11 @@ struct wlr_scene_buffer { enum wl_output_transform transform; }; +struct wlr_scene_output_render_list { + struct wlr_scene_node **data; + size_t capacity; +}; + /** A viewport for an output in the scene-graph */ struct wlr_scene_output { struct wlr_output *output; @@ -184,6 +189,8 @@ struct wlr_scene_output { struct wl_listener output_needs_frame; struct wl_list damage_highlight_regions; + + struct wlr_scene_output_render_list render_list; }; /** A layer shell scene helper */ |