In ThreadedDisplayRefreshMonitor there's a FIXME to use the correct frame-rate for the DisplayUpdate object used for DisplayRefreshMonitor::displayDidRefresh - https://github.com/WebPlatformForEmbedded/libwpe/pull/104 adds API in libwpe to query/track the current display refresh that we can use for this.
Created attachment 459424 [details] Patch
In bug #240470 there is a patch to add a newer version of libwpe to the Flatpak SDK which includes the needed API. Once that lands and an update to the SDK is pushed, the EWS builds will notice and build the code guarded with WPE_CHECK_VERSION()
Comment on attachment 459424 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=459424&action=review > Source/WebKit/UIProcess/API/wpe/WPEView.cpp:124 > +#if WPE_CHECK_VERSION(1, 13, 0) You'll want to change this to check for 1.13.2 before landing, which is the version adding the new API: https://wpewebkit.org/release/libwpe-1.13.2.html :)
Created attachment 459489 [details] Patch
Created attachment 459492 [details] Patch
Committed r294322 (250642@main): <https://commits.webkit.org/250642@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 459492 [details].