[PATCH v20 06/10] compositor-drm: Never lift solid surfaces to planes

Daniel Stone daniels at collabora.com
Wed Jul 11 10:41:30 UTC 2018


This will never work, so don't even try to do it.

Signed-off-by: Daniel Stone <daniels at collabora.com>
---
 libweston/compositor-drm.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c
index 65079eac0..c7ca6ef79 100644
--- a/libweston/compositor-drm.c
+++ b/libweston/compositor-drm.c
@@ -3348,6 +3348,9 @@ drm_output_propose_state(struct weston_output *output_base,
 		if (ev->output_mask != (1u << output->base.id))
 			force_renderer = true;
 
+		if (!ev->surface->buffer_ref.buffer)
+			force_renderer = true;
+
 		/* Ignore views we know to be totally occluded. */
 		pixman_region32_init(&clipped_view);
 		pixman_region32_intersect(&clipped_view,
-- 
2.17.1



More information about the wayland-devel mailing list