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 committed by Leo Li
parent 35845a94a5
commit 3c71f61c0b
2 changed files with 5 additions and 4 deletions

View file

@ -110,6 +110,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. */
@ -214,8 +216,6 @@ struct wlr_scene_output {
struct wl_listener output_needs_frame;
struct wl_list damage_highlight_regions;
struct wl_array render_list;
};
struct wlr_scene_timer {