Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 596b3b01497f3bd3b3ea653ec79ffc69d6f68b30
      
https://github.com/WebKit/WebKit/commit/596b3b01497f3bd3b3ea653ec79ffc69d6f68b30
  Author: Antoine Quint <grao...@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@main we opted into higher frame rate animations when performed by 
Core Animation on
qualifying hardware. In 274234@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
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to