wayland/buffer: Add 'render' debug prints

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2680>
This commit is contained in:
Robert Mader 2022-10-30 23:04:57 +01:00 committed by Marge Bot
parent 4a2a467b68
commit 28a3da8d28

View File

@ -792,11 +792,15 @@ meta_wayland_buffer_try_acquire_scanout (MetaWaylandBuffer *buffer,
{ {
case META_WAYLAND_BUFFER_TYPE_SHM: case META_WAYLAND_BUFFER_TYPE_SHM:
case META_WAYLAND_BUFFER_TYPE_SINGLE_PIXEL: case META_WAYLAND_BUFFER_TYPE_SINGLE_PIXEL:
meta_topic (META_DEBUG_RENDER,
"Buffer type not scanout compatible");
return NULL; return NULL;
case META_WAYLAND_BUFFER_TYPE_EGL_IMAGE: case META_WAYLAND_BUFFER_TYPE_EGL_IMAGE:
return try_acquire_egl_image_scanout (buffer, onscreen); return try_acquire_egl_image_scanout (buffer, onscreen);
#ifdef HAVE_WAYLAND_EGLSTREAM #ifdef HAVE_WAYLAND_EGLSTREAM
case META_WAYLAND_BUFFER_TYPE_EGL_STREAM: case META_WAYLAND_BUFFER_TYPE_EGL_STREAM:
meta_topic (META_DEBUG_RENDER,
"Buffer type not scanout compatible");
return NULL; return NULL;
#endif #endif
case META_WAYLAND_BUFFER_TYPE_DMA_BUF: case META_WAYLAND_BUFFER_TYPE_DMA_BUF: