[webkit-changes] [WebKit/WebKit] 4a6e44: Cherry-pick 261183 at main (bbd423cf2e6f). https://bu...
Žan Doberšek
noreply at github.com
Mon Mar 6 01:54:15 PST 2023
Branch: refs/heads/webkitglib/2.40
Home: https://github.com/WebKit/WebKit
Commit: 4a6e448b91575d9ce321b0c752e8065c7e2f6eeb
https://github.com/WebKit/WebKit/commit/4a6e448b91575d9ce321b0c752e8065c7e2f6eeb
Author: Don Olmstead <don.olmstead at sony.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.cpp
Log Message:
-----------
Cherry-pick 261183 at main (bbd423cf2e6f). https://bugs.webkit.org/show_bug.cgi?id=253339
Fix warning introduced in 261124 at main
https://bugs.webkit.org/show_bug.cgi?id=253339
Unreviewed build fix.
The change removed references to `defaultRefreshRate` causing a warning
which breaks developer builds on PlayStation.
The file is unified on GTK and WPE so my suspicion is that these
warnings only appear on non-unified files.
* Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.cpp:
Canonical link: https://commits.webkit.org/261183@main
Commit: 82301581f8c9a314f3a4f9d706d555aae7ea7c47
https://github.com/WebKit/WebKit/commit/82301581f8c9a314f3a4f9d706d555aae7ea7c47
Author: Žan Doberšek <zdobersek at igalia.com>
Date: 2023-03-06 (Mon, 06 Mar 2023)
Changed paths:
M Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp
M Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.cpp
M Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.h
Log Message:
-----------
Cherry-pick 261228 at main (563893ba6179). https://bugs.webkit.org/show_bug.cgi?id=253393
[CoordinatedGraphics] Initialize WebCore::DisplayUpdate in ThreadedDisplayRefreshMonitor
https://bugs.webkit.org/show_bug.cgi?id=253393
Unreviewed follow-up to 261124 at main.
Construct the DisplayUpdate object in ThreadedCompositor based off of the
default refresh rate, and pass it on to the ThreadedDisplayRefreshMonitor
constructor where it's used to initialize the member variable, avoiding
division issues in certain cases where the object is left uninitialized but then
gets used during invalidation.
* Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedCompositor.cpp:
(WebKit::m_displayRefreshMonitor):
* Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.cpp:
(WebKit::ThreadedDisplayRefreshMonitor::ThreadedDisplayRefreshMonitor):
* Source/WebKit/Shared/CoordinatedGraphics/threadedcompositor/ThreadedDisplayRefreshMonitor.h:
(WebKit::ThreadedDisplayRefreshMonitor::create):
Canonical link: https://commits.webkit.org/261228@main
Compare: https://github.com/WebKit/WebKit/compare/49971be69094...82301581f8c9
More information about the webkit-changes
mailing list