mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-18 06:47:31 -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
35845a94a5
commit
3c71f61c0b
2 changed files with 5 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue