compositor: Move paint node censor into early update

Previously I didn't think we needed this set up before assign_planes, but
certainly in the near future we'll want access to these bits for plane
assignment. It should be harmless to move them all now.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2025-10-10 09:15:07 -05:00
parent e5cbd8536a
commit 1465362e9f

View file

@ -284,6 +284,7 @@ paint_node_update_early(struct weston_paint_node *pnode)
pnode->is_fully_blended = weston_view_is_fully_blended(pnode->view,
&pnode->view->transform.boundingbox);
}
maybe_replace_paint_node(pnode);
pnode->status &= ~(PAINT_NODE_VIEW_DIRTY | PAINT_NODE_OUTPUT_DIRTY);
}
@ -335,7 +336,6 @@ paint_node_update_late(struct weston_paint_node *pnode)
pnode->plane_next = NULL;
}
maybe_replace_paint_node(pnode);
if (buffer_dirty)
surf->compositor->renderer->attach(pnode);