wlr_scene: Maintain one render_list per scene

Since we're now adding every node into the tree into the render_list,
the length won't change depending on the output.
This commit is contained in:
Alexander Orzechowski 2023-03-10 13:14:51 +01:00
parent 83804b8871
commit e052f12630
2 changed files with 5 additions and 4 deletions

View file

@ -106,6 +106,8 @@ struct wlr_scene {
enum wlr_scene_debug_damage_option debug_damage_option;
bool direct_scanout;
bool calculate_visibility;
struct wl_array render_list;
};
/** A scene-graph node displaying a single surface. */
@ -200,8 +202,6 @@ struct wlr_scene_output {
struct wl_listener output_needs_frame;
struct wl_list damage_highlight_regions;
struct wl_array render_list;
};
/** A layer shell scene helper */