[webkit-changes] [WebKit/WebKit] 4f68b4: [MSE] Remove unnecessary main runloop hop when per...
Jean-Yves Avenard
noreply at github.com
Thu Feb 29 08:56:47 PST 2024
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4f68b41033d3bdac7a1080faea0cd1af93e0fa12
https://github.com/WebKit/WebKit/commit/4f68b41033d3bdac7a1080faea0cd1af93e0fa12
Author: Jean-Yves Avenard <jya at apple.com>
Date: 2024-02-29 (Thu, 29 Feb 2024)
Changed paths:
M Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.cpp
M Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h
Log Message:
-----------
[MSE] Remove unnecessary main runloop hop when performing source buffer IPC connection
https://bugs.webkit.org/show_bug.cgi?id=270277
rdar://123805564
Reviewed by Kimmo Kinnunen.
Make use of the new sendWithPromisedReplyOnDispatcher to avoid main runloop hop.
No change in JS observable behaviour (other than it's now very fast under most circumstances)
* Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.cpp:
(WebKit::SourceBufferPrivateRemote::append):
(WebKit::SourceBufferPrivateRemote::removeCodedFrames):
(WebKit::SourceBufferPrivateRemote::computeSeekTime):
(WebKit::SourceBufferPrivateRemote::bufferedSamplesForTrackId):
(WebKit::SourceBufferPrivateRemote::enqueuedSamplesForTrackID):
* Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h:
Canonical link: https://commits.webkit.org/275498@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list