[Webkit-unassigned] [Bug 261961] New: allow for configurable event emission rates for high refresh rate displays

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 22 11:22:00 PDT 2023


            Bug ID: 261961
           Summary: allow for configurable event emission rates for high
                    refresh rate displays
           Product: WebKit
           Version: Safari 17
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: UI Events
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com

Currently, event emissions such as "pointermove" are capped at firing up to 60 times per second. This results in gesture-driven animations (such as a swipe animation) being capped at 60fps even if the animation is capable of running at up to 120fps on Pro Motion iPhones.

It would be useful to have a way of opting in to higher event emission rates to enable 120fps gesture-driven animations. While the gesture-driven animations currently work, they appear sluggish on high refresh rate displays because they are capped at 60fps.


1. Open https://docs-demo.ionic.io/component/modal on an iPhone with a Pro Motion display.
2. Tap "Open Sheet Modal".
3. Drag the sheet modal up and down. Observe that, while the animation does play at 60fps, it seems sluggish since the device is capable of rendering at a much higher refresh rate.

There is ongoing discussion to control animation frame rate here: https://github.com/w3c/csswg-drafts/issues/7196 However, this does not account for gesture-driven animations.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230922/1e14a456/attachment.htm>

More information about the webkit-unassigned mailing list