From 744a383a52048485445d8b34570dd9b5d3fb28bb Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 24 Jul 2024 21:59:35 +0200 Subject: [PATCH] gbm: log scanout flag state in trace --- src/allocator/GBM.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/allocator/GBM.cpp b/src/allocator/GBM.cpp index cd2d280..c5056c5 100644 --- a/src/allocator/GBM.cpp +++ b/src/allocator/GBM.cpp @@ -65,7 +65,8 @@ Aquamarine::CGBMBuffer::CGBMBuffer(const SAllocatorBufferParams& params, Hypruti const bool MULTIGPU = params.multigpu && params.scanout; TRACE(allocator->backend->log(AQ_LOG_TRACE, - std::format("GBM: Allocating a buffer: size {}, format {}, cursor: {}, multigpu: {}", attrs.size, fourccToName(attrs.format), CURSOR, MULTIGPU))); + std::format("GBM: Allocating a buffer: size {}, format {}, cursor: {}, multigpu: {}, scanout: {}", attrs.size, fourccToName(attrs.format), CURSOR, + MULTIGPU, params.scanout))); const auto FORMATS = CURSOR ? swapchain->backendImpl->getCursorFormats() :