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

Chris Dumez
Reported 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.
Attachments
Patch (14.97 KB, patch)
2019-02-08 16:28 PST, Chris Dumez
no flags
Patch (15.00 KB, patch)
2019-02-08 16:35 PST, Chris Dumez
no flags
Patch (14.79 KB, patch)
2019-02-08 16:52 PST, Chris Dumez
no flags
Patch (14.93 KB, patch)
2019-02-08 16:56 PST, Chris Dumez
no flags
Chris Dumez
Comment 1 2019-02-08 16:28:33 PST
Chris Dumez
Comment 2 2019-02-08 16:35:43 PST
Chris Dumez
Comment 3 2019-02-08 16:52:01 PST
Chris Dumez
Comment 4 2019-02-08 16:56:58 PST
Tim Horton
Comment 5 2019-02-08 17:03:59 PST
Nice!
WebKit Commit Bot
Comment 6 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>
WebKit Commit Bot
Comment 7 2019-02-08 20:37:04 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8 2019-02-08 20:38:28 PST
Note You need to log in before you can comment on or make changes to this bug.