mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 13:48:21 +02:00
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:
parent
9022976412
commit
3c53883d78
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue