Bug 194463

Summary: [WK2][macOS] Avoid creating new CVDisplayLink objects for each WebProcess
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, ggaren, pvollan, simon.fraser, thorton, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

Description Chris Dumez 2019-02-08 16:25:33 PST
Avoid creating new CVDisplayLink objects for each WebProcess. We really only need one per display, creating such object is expensive and it is even worse in a PSON world where we swap process on navigation.
Comment 1 Chris Dumez 2019-02-08 16:28:33 PST
Created attachment 361557 [details]
Patch
Comment 2 Chris Dumez 2019-02-08 16:35:43 PST
Created attachment 361559 [details]
Patch
Comment 3 Chris Dumez 2019-02-08 16:52:01 PST
Created attachment 361563 [details]
Patch
Comment 4 Chris Dumez 2019-02-08 16:56:58 PST
Created attachment 361565 [details]
Patch
Comment 5 Tim Horton 2019-02-08 17:03:59 PST
Nice!
Comment 6 WebKit Commit Bot 2019-02-08 20:37:03 PST
Comment on attachment 361565 [details]
Patch

Clearing flags on attachment: 361565

Committed r241232: <https://trac.webkit.org/changeset/241232>
Comment 7 WebKit Commit Bot 2019-02-08 20:37:04 PST
All reviewed patches have been landed.  Closing bug.
Comment 8 Radar WebKit Bug Importer 2019-02-08 20:38:28 PST
<rdar://problem/47938388>