Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: dd03e50fba5fcbb7190a0bc4287a0a8e25a00c61
https://github.com/WebKit/WebKit/commit/dd03e50fba5fcbb7190a0bc4287a0a8e25a00c61
Author: Matt Woodrow <[email protected]>
Date: 2025-10-02 (Thu, 02 Oct 2025)
Changed paths:
M Source/WebKit/GPUProcess/graphics/RemoteImageBuffer.cpp
M Source/WebKit/GPUProcess/graphics/RemoteImageBuffer.h
M Source/WebKit/GPUProcess/graphics/RemoteImageBuffer.messages.in
M Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.cpp
M Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h
M Source/WebKit/WebProcess/WebPage/RemoteLayerTree/GraphicsLayerCARemote.mm
Log Message:
-----------
Elements with slow-painting content flicker during view-transition
https://bugs.webkit.org/show_bug.cgi?id=299091
<rdar://problem/160886647>
Reviewed by Kimmo Kinnunen.
setLayerContentsToImageBuffer async flushes the ImageBuffer, but doesn't wait
for completion.
Reverts the removal of the IPC::Event based implementation of createFlusher for
RemoteImageBufferProxy (removed in 271747@main).
Adds an implemention of PlatformCALayerDelegatedContentsFence that wraps the
ThreadSafeImageBufferFlusher and passes that through to
setRemoteDelegatedContents, so that the remote layer transaction waits on its
completion.
* Source/WebKit/GPUProcess/graphics/RemoteImageBuffer.cpp:
(WebKit::RemoteImageBuffer::setFlushSignal):
(WebKit::RemoteImageBuffer::flushContext):
* Source/WebKit/GPUProcess/graphics/RemoteImageBuffer.h:
* Source/WebKit/GPUProcess/graphics/RemoteImageBuffer.messages.in:
* Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.cpp:
(WebKit::RemoteImageBufferProxyFlushFence::create):
(WebKit::RemoteImageBufferProxyFlushFence::waitFor):
(WebKit::RemoteImageBufferProxyFlushFence::tryTakeEvent):
(WebKit::RemoteImageBufferProxyFlushFence::RemoteImageBufferProxyFlushFence):
(WebKit::RemoteImageBufferProxy::backingStoreWillChange):
(WebKit::RemoteImageBufferProxy::disconnect):
(WebKit::RemoteImageBufferProxy::flushDrawingContext):
(WebKit::RemoteImageBufferProxy::flushDrawingContextAsync):
(WebKit::RemoteImageBufferProxy::createFlusher):
(WebKit::RemoteImageBufferProxy::prepareForBackingStoreChange):
* Source/WebKit/WebProcess/GPU/graphics/RemoteImageBufferProxy.h:
* Source/WebKit/WebProcess/WebPage/RemoteLayerTree/GraphicsLayerCARemote.mm:
(WebKit::GraphicsLayerCARemote::setLayerContentsToImageBuffer):
Canonical link: https://commits.webkit.org/300902@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes