mirror of
https://github.com/brl/mutter.git
synced 2024-12-27 05:12:15 +00:00
wayland/buffer: Add 'render' debug prints
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2680>
This commit is contained in:
parent
4a2a467b68
commit
28a3da8d28
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user