mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-19 06:47:02 -04:00
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:
parent
83804b8871
commit
e052f12630
2 changed files with 5 additions and 4 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue