Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 209615afb42df06f67b0c639100daca689b996e7
https://github.com/WebKit/WebKit/commit/209615afb42df06f67b0c639100daca689b996e7
Author: Matt Woodrow <[email protected]>
Date: 2025-10-06 (Mon, 06 Oct 2025)
Changed paths:
M Source/WebKit/UIProcess/DrawingAreaProxy.h
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm
M Source/WebKit/UIProcess/WebPageProxy.cpp
Log Message:
-----------
Hide layers until activity state change is processed.
https://bugs.webkit.org/show_bug.cgi?id=300065
<rdar://problem/161860753>
Reviewed by Tim Horton.
We currently hide layers when we make a tab visible, until the next layer tree
transaction is processed. This probably should specifically wait for the
transaction that was generated after the activity state change was handled in
the web process.
Adds a new DrawingAreaProxy option to wait on the transaction containing the
activity state change, not just the next transaction. Also adds some new logging
for layer hiding.
* Source/WebKit/UIProcess/DrawingAreaProxy.h:
(WebKit::DrawingAreaProxy::hideContentUntilDidUpdateActivityState):
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h:
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction):
(WebKit::RemoteLayerTreeDrawingAreaProxy::hideContentUntilPendingUpdate):
(WebKit::RemoteLayerTreeDrawingAreaProxy::hideContentUntilDidUpdateActivityState):
(WebKit::RemoteLayerTreeDrawingAreaProxy::hideContentUntilAnyUpdate):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::dispatchActivityStateChange):
Canonical link: https://commits.webkit.org/301093@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