compositor: Move visibility update to before assign_planes

Assign planes in the future could benefit from visibility information on
pnodes being up to date.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2025-10-17 10:43:46 -05:00 committed by Daniel Stone
parent 3bd055145b
commit 48aaf6434d

View file

@ -3635,10 +3635,10 @@ weston_output_repaint(struct weston_output *output)
z_order_link)
paint_node_update_early(pnode);
output_assign_planes(output);
output_update_visibility(output);
output_assign_planes(output);
wl_list_for_each(pnode, &output->paint_node_z_order_list,
z_order_link) {