Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8aeb753000fcb36dd07c9735aff7a7fc5a24f9d3
https://github.com/WebKit/WebKit/commit/8aeb753000fcb36dd07c9735aff7a7fc5a24f9d3
Author: Zak Ridouh <[email protected]>
Date: 2025-05-01 (Thu, 01 May 2025)
Changed paths:
M Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm
Log Message:
-----------
Limit number of changed layers committed in transactions to CoreAnimation
https://bugs.webkit.org/show_bug.cgi?id=292352
rdar://142785652
Reviewed by Simon Fraser.
In some scenarios, we can end up committing an unreasonable number of
changedLayers
in `RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction` to
CoreAnimation,
which can cause some downstream pathologies with CoreAnimation and mach message
size
limits. Limit it to a reasonable amount (`maxChangedLayers`) currently set to
`1024 * 5 = 5120`.
This value can be tuned in the future.
* Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm:
(WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction):
Canonical link: https://commits.webkit.org/294412@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