-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RemoteDisplayListRecorder should lazily allocate a SharedVideoFrameRe…
…ader https://bugs.webkit.org/show_bug.cgi?id=262380 rdar://116586176 Reviewed by Youenn Fablet and Eric Carlson. Only a small subset of RemoteDisplayListRecorder instances need a SharedVideoFrameReader, and making one has some overhead because of the semaphore, so allocate lazily. * Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.cpp: (WebKit::RemoteDisplayListRecorder::RemoteDisplayListRecorder): (WebKit::RemoteDisplayListRecorder::sharedVideoFrameReader): (WebKit::RemoteDisplayListRecorder::paintVideoFrame): (WebKit::RemoteDisplayListRecorder::setSharedVideoFrameSemaphore): (WebKit::RemoteDisplayListRecorder::setSharedVideoFrameMemory): (): Deleted. * Source/WebKit/GPUProcess/graphics/RemoteDisplayListRecorder.h: Canonical link: https://commits.webkit.org/270404@main
- Loading branch information
Showing
2 changed files
with
17 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters