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 <derek.foreman@collabora.com>
This commit is contained in:
Derek Foreman 2026-03-16 09:56:10 -05:00
parent 9022976412
commit 3c53883d78

View file

@ -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;