[webkit-changes] [WebKit/WebKit] d902d2: RemoteImageBufferProxy waits dispatch messages fro...
Kimmo Kinnunen
noreply at github.com
Wed Jun 14 00:55:16 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d902d2108aafad6790ae50f83ca4fa7858b44faa
https://github.com/WebKit/WebKit/commit/d902d2108aafad6790ae50f83ca4fa7858b44faa
Author: Kimmo Kinnunen <kkinnunen at apple.com>
Date: 2023-06-14 (Wed, 14 Jun 2023)
Changed paths:
M Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h
Log Message:
-----------
RemoteImageBufferProxy waits dispatch messages from other connections
https://bugs.webkit.org/show_bug.cgi?id=258012
rdar://110699411
Reviewed by Simon Fraser.
Make RemoteRenderingBackendProxy a serial function dispatcher instead
of using the real worker or main run loop as the function dispatcher.
This gives the IPC::Connection a new sync state object. This avoids
dispatching any other IPC::Connection messages during waits on
RemoteRenderingBackendProxy messages.
* Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.cpp:
(WebKit::RemoteRenderingBackendProxy::ensureGPUProcessConnection):
(WebKit::RemoteRenderingBackendProxy::streamConnection):
* Source/WebKit/WebProcess/GPU/graphics/RemoteRenderingBackendProxy.h:
Canonical link: https://commits.webkit.org/265143@main
More information about the webkit-changes
mailing list