scene: Remove warning message about older presentation timestamps
Outputs present frames at different pace, some can present new content later, some sooner. If the scene gets a slightly older presentation timestamp, it's okay.
This commit is contained in:
parent
af39179446
commit
f665dda192
1 changed files with 1 additions and 6 deletions
|
@ -238,12 +238,7 @@ QRegion WorkspaceScene::prePaint(SceneDelegate *delegate)
|
|||
const std::chrono::milliseconds presentTime =
|
||||
std::chrono::duration_cast<std::chrono::milliseconds>(renderLoop->nextPresentationTimestamp());
|
||||
|
||||
if (Q_UNLIKELY(presentTime < m_expectedPresentTimestamp)) {
|
||||
qCDebug(KWIN_CORE,
|
||||
"Provided presentation timestamp is invalid: %lld (current: %lld)",
|
||||
static_cast<long long>(presentTime.count()),
|
||||
static_cast<long long>(m_expectedPresentTimestamp.count()));
|
||||
} else {
|
||||
if (presentTime > m_expectedPresentTimestamp) {
|
||||
m_expectedPresentTimestamp = presentTime;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue