[PATCH v2 weston 12/16] compositor-drm: Don't flip planes from other outputs
Daniel Stone
daniels at collabora.com
Mon Jun 22 09:25:17 PDT 2015
If a plane is currently active on another output, don't steal it away.
Signed-off-by: Daniel Stone <daniels at collabora.com>
---
src/compositor-drm.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/compositor-drm.c b/src/compositor-drm.c
index c9071d2..fa520bc 100644
--- a/src/compositor-drm.c
+++ b/src/compositor-drm.c
@@ -1054,6 +1054,9 @@ drm_output_repaint(struct weston_output *output_base,
if (s->type != WDRM_PLANE_TYPE_OVERLAY)
continue;
+ if (s->output != output)
+ continue;
+
if ((!s->current && !s->next) ||
!drm_plane_crtc_supported(output, s->possible_crtcs))
continue;
--
2.4.3
More information about the wayland-devel
mailing list