[Webkit-unassigned] [Bug 257295] New: Add API to EventDispatcher to observing displayDidRefresh on a background thread
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed May 24 17:34:03 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=257295
Bug ID: 257295
Summary: Add API to EventDispatcher to observing
displayDidRefresh on a background thread
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mattwoodrow at apple.com
CC: bfulgham at webkit.org, simon.fraser at apple.com,
zalan at apple.com
Blocks: 232918
In order to deliver displayDidRefresh for WorkerThread requestAnimationFrame, we want a version of displayDidRefresh/DisplayRefreshMonitor that allows notifications without blocking on the main thread. We also likely want to match whatever framerate/throttling the underlying WebCore::Page is using, so that we slow down when hidden etc.
DisplayRefreshMonitor is heavily hardcoded towards using the main thread, so I think the easiest thing to do is add an API to EventDispatcher which handles this.
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=232918
[Bug 232918] requestAnimationFrame callbacks in workers should be driven off display updates
--
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/20230525/7a8bea1e/attachment.htm>
More information about the webkit-unassigned
mailing list