mirror of
https://github.com/brl/mutter.git
synced 2024-12-26 21:02:14 +00:00
wayland/buffer: Avoid spamming the log when a buffer is not scanoutable
It's not really an error and we recover seamlessly. If someone really wants to check if/why direct scanout is failing then they can still use `env MUTTER_DEBUG=render,kms`. Fixes: https://gitlab.gnome.org/GNOME/mutter/-/issues/2702 Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2918>
This commit is contained in:
parent
176418d0e7
commit
46e1ede687
@ -877,10 +877,9 @@ meta_wayland_buffer_try_acquire_scanout (MetaWaylandBuffer *buffer,
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_return_val_if_fail (scanout, NULL);
|
if (scanout)
|
||||||
|
g_signal_connect (scanout, "scanout-failed",
|
||||||
g_signal_connect (scanout, "scanout-failed",
|
G_CALLBACK (on_scanout_failed), buffer);
|
||||||
G_CALLBACK (on_scanout_failed), buffer);
|
|
||||||
|
|
||||||
return scanout;
|
return scanout;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user