From: Daniel Stone Date: Tue, 10 Jul 2018 17:08:12 +0000 (+0100) Subject: compositor-drm: Never lift solid surfaces to planes X-Git-Tag: upstream/5.0.0~28 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ca6fbe3c93ff05bf006e19ac8e60f896a169b5a1;p=platform%2Fupstream%2Fweston.git compositor-drm: Never lift solid surfaces to planes This will never work, so don't even try to do it. Signed-off-by: Daniel Stone Reviewed-by: Pekka Paalanen --- diff --git a/libweston/compositor-drm.c b/libweston/compositor-drm.c index d865848..e629779 100644 --- a/libweston/compositor-drm.c +++ b/libweston/compositor-drm.c @@ -3357,6 +3357,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,