Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a714f0a394d852a64eb8f873b6dc77b619e528c8
https://github.com/WebKit/WebKit/commit/a714f0a394d852a64eb8f873b6dc77b619e528c8
Author: Jean-Yves Avenard <[email protected]>
Date: 2025-10-31 (Fri, 31 Oct 2025)
Changed paths:
M Source/WebCore/platform/graphics/MediaSourcePrivate.cpp
M Source/WebCore/platform/graphics/MediaSourcePrivate.h
M Source/WebCore/platform/graphics/SourceBufferPrivate.cpp
M Source/WebCore/platform/graphics/SourceBufferPrivate.h
M Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.cpp
M Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.h
M Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.cpp
M Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h
Log Message:
-----------
MediaSourcePrivate and SourceBufferPrivate should take a WorkQueue rather
than a GuaranteedSerialFunctionDispatcher
https://bugs.webkit.org/show_bug.cgi?id=301613
rdar://163620875
Reviewed by Jer Noble.
The SourceBufferPrivate and MediaSourcePrivate either runs on the
MediaSourcePrivateRemote's WorkQueue or the main thread.
Some methods in the SourceBufferPrivate are synchronous (per-spec) so
we need a way to dispatch on their respective dispatchers synchronously.
Using a WorkQueue simplify this task.
No change in observable behaviours.
* Source/WebCore/platform/graphics/MediaSourcePrivate.cpp:
(WebCore::MediaSourcePrivate::MediaSourcePrivate):
(WebCore::MediaSourcePrivate::ensureOnDispatcherSync const):
* Source/WebCore/platform/graphics/MediaSourcePrivate.h:
* Source/WebCore/platform/graphics/SourceBufferPrivate.cpp:
(WebCore::SourceBufferPrivate::SourceBufferPrivate):
(WebCore::SourceBufferPrivate::ensureOnDispatcherSync):
* Source/WebCore/platform/graphics/SourceBufferPrivate.h:
* Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.cpp:
(WebKit::MediaSourcePrivateRemote::ensureOnDispatcherSync const): Deleted.
* Source/WebKit/WebProcess/GPU/media/MediaSourcePrivateRemote.h:
* Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.cpp:
(WebKit::SourceBufferPrivateRemote::ensureOnDispatcherSync): Deleted.
* Source/WebKit/WebProcess/GPU/media/SourceBufferPrivateRemote.h:
Canonical link: https://commits.webkit.org/302379@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications