compositor: Remove obsolete clip region calculation

This was missed in e169b77430
when leaving planes in the scene graph meant we no longer needed
to calculate this clip.

It's just a few wasted cycles, so no backport required.

Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2025-10-18 11:55:01 -05:00 committed by Daniel Stone
parent 58298e2346
commit 3ec1e38a62

View file

@ -3240,21 +3240,15 @@ output_update_visibility(struct weston_output *output)
{
WESTON_TRACE_FUNC();
struct weston_paint_node *pnode;
pixman_region32_t opaque, clip;
pixman_region32_init(&clip);
pixman_region32_t opaque;
pixman_region32_init(&opaque);
wl_list_for_each(pnode, &output->paint_node_z_order_list,
z_order_link) {
z_order_link)
paint_node_update_visible(pnode, &opaque);
pixman_region32_union(&clip, &clip, &opaque);
}
pixman_region32_fini(&opaque);
pixman_region32_fini(&clip);
}
static void