From 3c53883d78d0fc8c67fcf26c42eb0e74c1572a19 Mon Sep 17 00:00:00 2001 From: Derek Foreman Date: Mon, 16 Mar 2026 09:56:10 -0500 Subject: [PATCH] drm: Use is_fully_opaque from paint node in drm_fb_get_from_paint_node The paint node early update has already checked this value for us, we should use that instead of interacting with the view. Signed-off-by: Derek Foreman --- libweston/backend-drm/fb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libweston/backend-drm/fb.c b/libweston/backend-drm/fb.c index 86bd80828..cd401e68a 100644 --- a/libweston/backend-drm/fb.c +++ b/libweston/backend-drm/fb.c @@ -750,7 +750,7 @@ drm_fb_get_from_paint_node(struct drm_output_state *state, struct weston_buffer *buffer = ev->surface->buffer_ref.buffer; struct drm_fb_private *private; struct drm_buffer_fb *buf_fb; - bool is_opaque = weston_view_is_opaque(ev, &ev->transform.boundingbox); + bool is_opaque = pnode->is_fully_opaque; struct drm_fb *fb; struct drm_plane *plane;