Bug 212168

Summary: [macOS] Scrolling synchronization part 1: Have the scrolling thread wait half a frame for the main thread to complete the rendering update
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: ScrollingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cdumez, cmarcelo, ews-watchlist, fred.wang, jamesr, luiz, simon.fraser, thorton, tonikitoo, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 213135    
Bug Blocks: 210884    
Attachments:
Description Flags
Patch
thorton: review+
Patch
none
Patch none

Description Simon Fraser (smfr) 2020-05-20 14:34:53 PDT
[macOS] Scrolling synchronization part 1: Have the scrolling thread wait half a frame for the main thread to complete the rendering update
Comment 1 Simon Fraser (smfr) 2020-05-20 14:47:40 PDT
Created attachment 399894 [details]
Patch
Comment 2 Tim Horton 2020-05-20 14:59:51 PDT
Comment on attachment 399894 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=399894&action=review

> Source/WebCore/page/scrolling/ThreadedScrollingTree.cpp:227
> +    auto displayFPS = nominalFramesPerSecond();

valueOr?
Comment 3 Simon Fraser (smfr) 2020-05-20 21:43:50 PDT
Created attachment 399930 [details]
Patch
Comment 4 Simon Fraser (smfr) 2020-05-20 21:47:06 PDT
Created attachment 399931 [details]
Patch
Comment 5 EWS 2020-05-20 23:47:29 PDT
Committed r261985: <https://trac.webkit.org/changeset/261985>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 399931 [details].
Comment 6 Radar WebKit Bug Importer 2020-05-20 23:48:16 PDT
<rdar://problem/63481163>