[webkit-changes] [WebKit/WebKit] 1512e4: [WPE] Web Platform: implement WebPageProxy::callAf...
Carlos Garcia Campos
noreply at github.com
Thu Feb 15 03:53:12 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1512e48affb3304f86b9b4cbbcb2b934e594faf5
https://github.com/WebKit/WebKit/commit/1512e48affb3304f86b9b4cbbcb2b934e594faf5
Author: Carlos Garcia Campos <cgarcia at igalia.com>
Date: 2024-02-15 (Thu, 15 Feb 2024)
Changed paths:
M Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp
M Source/WebKit/UIProcess/API/wpe/PageClientImpl.h
M Source/WebKit/UIProcess/API/wpe/WPEWebView.cpp
M Source/WebKit/UIProcess/API/wpe/WPEWebView.h
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp
Log Message:
-----------
[WPE] Web Platform: implement WebPageProxy::callAfterNextPresentationUpdate
https://bugs.webkit.org/show_bug.cgi?id=269353
Reviewed by Adrian Perez de Castro.
With the old API we just use a 0 seconds timer, but with the new API we
can use the buffer-renderer signal of WPEView to actually call the
callback after the next buffer is rendered. This will hopefully reduce
the flakiness of ref tests.
* Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp:
(WebKit::PageClientImpl::callAfterNextPresentationUpdate):
* Source/WebKit/UIProcess/API/wpe/PageClientImpl.h:
* Source/WebKit/UIProcess/API/wpe/WPEWebView.cpp:
(WKWPE::View::callAfterNextPresentationUpdate):
* Source/WebKit/UIProcess/API/wpe/WPEWebView.h:
* Source/WebKit/UIProcess/WebPageProxy.cpp:
* Source/WebKit/UIProcess/wpe/WebPageProxyWPE.cpp:
(WebKit::WebPageProxy::callAfterNextPresentationUpdate):
Canonical link: https://commits.webkit.org/274710@main
More information about the webkit-changes
mailing list