[webkit-changes] [WebKit/WebKit] 69f1d4: [iOS] run animations performed by Core Animation a...

Antoine Quint noreply at github.com
Wed Jan 17 03:57:35 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 69f1d447193caa27a7ce017a41f19d724520282e
      https://github.com/WebKit/WebKit/commit/69f1d447193caa27a7ce017a41f19d724520282e
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2024-01-17 (Wed, 17 Jan 2024)

  Changed paths:
    M Source/WTF/wtf/PlatformHave.h
    M Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h
    M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm

  Log Message:
  -----------
  [iOS] run animations performed by Core Animation at a higher frame rate when possible
https://bugs.webkit.org/show_bug.cgi?id=267541
rdar://116942005

Reviewed by Simon Fraser.

Some displays on iOS devices, for instance those marketed under the name Pro Motion,
support higher refresh rates than the historic 60Hz. We now indicate the desire to
use a higher frame rate for animations performed by Core Animation which will result
to take advantage of such displays.

* Source/WTF/wtf/PlatformHave.h:
* Source/WebCore/PAL/pal/spi/cocoa/QuartzCoreSPI.h:
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm:
(highFrameRateRange):
(WebKit::createAnimation):

Canonical link: https://commits.webkit.org/273122@main




More information about the webkit-changes mailing list