output/output: Remove per-frame direct-scanout logging

Logging that direct scanout was not attempted on every frame is just
noise and not productive.
This commit is contained in:
Kenny Levinsen 2024-09-25 22:17:25 +02:00
parent 8acff50508
commit faf3cd8abe

View file

@ -896,7 +896,6 @@ const struct wlr_drm_format_set *wlr_output_get_primary_formats(
bool wlr_output_is_direct_scanout_allowed(struct wlr_output *output) {
if (output->attach_render_locks > 0) {
wlr_log(WLR_DEBUG, "Direct scan-out disabled by lock");
return false;
}
@ -905,8 +904,6 @@ bool wlr_output_is_direct_scanout_allowed(struct wlr_output *output) {
wl_list_for_each(cursor, &output->cursors, link) {
if (cursor->enabled && cursor->visible &&
cursor != output->hardware_cursor) {
wlr_log(WLR_DEBUG,
"Direct scan-out disabled by software cursor");
return false;
}
}