From faf3cd8abe2b759e0f2f558279218906bc10d062 Mon Sep 17 00:00:00 2001 From: Kenny Levinsen Date: Wed, 25 Sep 2024 22:17:25 +0200 Subject: [PATCH] output/output: Remove per-frame direct-scanout logging Logging that direct scanout was not attempted on every frame is just noise and not productive. --- types/output/output.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/types/output/output.c b/types/output/output.c index 2dcd24229..e4fab9be9 100644 --- a/types/output/output.c +++ b/types/output/output.c @@ -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; } }