[webkit-changes] [WebKit/WebKit] 596b3b: 120Hz requestAnimationFrame is not supported on iP...
Antoine Quint
noreply at github.com
Sat May 18 01:08:00 PDT 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 596b3b01497f3bd3b3ea653ec79ffc69d6f68b30
https://github.com/WebKit/WebKit/commit/596b3b01497f3bd3b3ea653ec79ffc69d6f68b30
Author: Antoine Quint <graouts at webkit.org>
Date: 2024-05-18 (Sat, 18 May 2024)
Changed paths:
M Source/WebKit/Platform/cocoa/CAFrameRateRangeUtilities.h
M Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeDrawingAreaProxyIOS.mm
Log Message:
-----------
120Hz requestAnimationFrame is not supported on iPhone Pros, it is supported on iPad Pros
https://bugs.webkit.org/show_bug.cgi?id=272165
rdar://126067757
Reviewed by Simon Fraser.
In 273122 at main we opted into higher frame rate animations when performed by Core Animation on
qualifying hardware. In 274234 at main we did the same for scrolling animations resulting from
interacting with the keyboard (such as pressing the space bar).
We must do the same thing with the `CADisplayLink` created in `RemoteLayerTreeDrawingAreaProxyIOS`
which drives page rendering updates.
* Source/WebKit/Platform/cocoa/CAFrameRateRangeUtilities.h:
* Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeDrawingAreaProxyIOS.mm:
(-[WKDisplayLinkHandler initWithDrawingAreaProxy:]):
Canonical link: https://commits.webkit.org/278949@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list