Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9c49484130231194fe829f08a2b625151927e804
https://github.com/WebKit/WebKit/commit/9c49484130231194fe829f08a2b625151927e804
Author: Jani Hautakangas <[email protected]>
Date: 2026-04-26 (Sun, 26 Apr 2026)
Changed paths:
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h
Log Message:
-----------
[GTK][WPE] Skia Compositor: Make *ForChildren transforms transient
https://bugs.webkit.org/show_bug.cgi?id=313307
Reviewed by Carlos Garcia Campos.
The combinedForChildren and futureCombinedForChildren matrices on
SkiaCompositingLayer::m_transforms are only consumed by the parent's
recursive call into each child within computeTransformsAndAnimations.
no paint-time site reads them. Storing them in m_transforms causes
confusion because both are actually transient.
Drop both fields from m_transforms and pass them as parameters to the
recursive call instead. Also drop the parent parameter and hoist
parent == m_parent decision into each caller.
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::computeTransformsAndAnimations):
(WebCore::SkiaCompositingLayer::paint):
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h:
Canonical link: https://commits.webkit.org/312066@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications