From 28a3da8d28d8066649ad7fc4c13a172c23598392 Mon Sep 17 00:00:00 2001 From: Robert Mader Date: Sun, 30 Oct 2022 23:04:57 +0100 Subject: [PATCH] wayland/buffer: Add 'render' debug prints Part-of: --- src/wayland/meta-wayland-buffer.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wayland/meta-wayland-buffer.c b/src/wayland/meta-wayland-buffer.c index 0aa032614..055746e08 100644 --- a/src/wayland/meta-wayland-buffer.c +++ b/src/wayland/meta-wayland-buffer.c @@ -792,11 +792,15 @@ meta_wayland_buffer_try_acquire_scanout (MetaWaylandBuffer *buffer, { case META_WAYLAND_BUFFER_TYPE_SHM: case META_WAYLAND_BUFFER_TYPE_SINGLE_PIXEL: + meta_topic (META_DEBUG_RENDER, + "Buffer type not scanout compatible"); return NULL; case META_WAYLAND_BUFFER_TYPE_EGL_IMAGE: return try_acquire_egl_image_scanout (buffer, onscreen); #ifdef HAVE_WAYLAND_EGLSTREAM case META_WAYLAND_BUFFER_TYPE_EGL_STREAM: + meta_topic (META_DEBUG_RENDER, + "Buffer type not scanout compatible"); return NULL; #endif case META_WAYLAND_BUFFER_TYPE_DMA_BUF: