From: Rob Clark <r...@ti.com> They can't be imported by gbm, so no point in trying, and segfaulting in gbm when we try to import (because it tries to deref the buffer as a wl_drm_buffer).
Signed-off-by: Rob Clark <r...@ti.com> --- src/compositor-drm.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/compositor-drm.c b/src/compositor-drm.c index ad2c385..d6e6c98 100644 --- a/src/compositor-drm.c +++ b/src/compositor-drm.c @@ -566,6 +566,9 @@ drm_output_prepare_overlay_surface(struct weston_output *output_base, if (es->buffer == NULL) return -1; + if (wl_buffer_is_shm(es->buffer)) + return -1; + if (!drm_surface_transform_supported(es)) return -1; -- 1.7.9.5 _______________________________________________ wayland-devel mailing list wayland-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/wayland-devel