mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2025-12-26 13:30:11 +01:00
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:
parent
e5cbd8536a
commit
1465362e9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue