Bug 258379 - Lazily allocate the SharedVideoFrameWriter in RemoteDisplayListRecorderProxy
Summary: Lazily allocate the SharedVideoFrameWriter in RemoteDisplayListRecorderProxy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Process Model (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-06-21 17:50 PDT by Simon Fraser (smfr)
Modified: 2023-09-29 10:22 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2023-06-21 17:50:57 PDT
Every RemoteImageBufferProxy gets a SharedVideoFrameWriter, but only very few use it, and it has creation/destruction cost because it owns an IPC::Semaphore.
Comment 1 Radar WebKit Bug Importer 2023-06-21 17:51:18 PDT
<rdar://problem/111133625>
Comment 2 Simon Fraser (smfr) 2023-06-21 17:54:05 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15170
Comment 3 EWS 2023-06-22 15:03:17 PDT
Committed 265427@main (e97b0792a67c): <https://commits.webkit.org/265427@main>

Reviewed commits have been landed. Closing PR #15170 and removing active labels.