Skip to content

Commit

Permalink
gbm: log scanout flag state in trace
Browse files Browse the repository at this point in the history
  • Loading branch information
vaxerski committed Jul 24, 2024
1 parent e569340 commit 744a383
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/allocator/GBM.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() :
Expand Down

0 comments on commit 744a383

Please sign in to comment.