Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KWin
Commits
78a15027
Commit
78a15027
authored
Sep 20, 2022
by
Vlad Zahorodnii
Browse files
Lower severity of "Got invalid timestamp" message
BUG: 459405
(cherry picked from commit
d32aebb7
)
parent
51894b31
Pipeline
#234833
passed with stage
in 17 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/core/renderloop.cpp
View file @
78a15027
...
...
@@ -128,10 +128,10 @@ void RenderLoopPrivate::notifyFrameCompleted(std::chrono::nanoseconds timestamp)
if
(
lastPresentationTimestamp
<=
timestamp
)
{
lastPresentationTimestamp
=
timestamp
;
}
else
{
qC
Warnin
g
(
KWIN_CORE
,
"Got invalid presentation timestamp: %lld (current %lld)"
,
static_cast
<
long
long
>
(
timestamp
.
count
()),
static_cast
<
long
long
>
(
lastPresentationTimestamp
.
count
()));
qC
Debu
g
(
KWIN_CORE
,
"Got invalid presentation timestamp: %lld (current %lld)"
,
static_cast
<
long
long
>
(
timestamp
.
count
()),
static_cast
<
long
long
>
(
lastPresentationTimestamp
.
count
()));
lastPresentationTimestamp
=
std
::
chrono
::
steady_clock
::
now
().
time_since_epoch
();
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment