Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: efac8b411f621e93dcabf8dbadabc3c1d32f705a
https://github.com/WebKit/WebKit/commit/efac8b411f621e93dcabf8dbadabc3c1d32f705a
Author: Fujii Hironori <[email protected]>
Date: 2026-05-18 (Mon, 18 May 2026)
Changed paths:
A LayoutTests/platform/glib/damage/layer-overlaps-expected.txt
A LayoutTests/platform/glib/damage/layer-overlaps.html
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h
Log Message:
-----------
SkiaCompositingLayer: Wrongly culculated damage rect if paintSelf() is called
multiple times
https://bugs.webkit.org/show_bug.cgi?id=314882
Reviewed by Carlos Garcia Campos.
In <https://webkit.org/blog-files/3d-transforms/transform-style.html>, the
animating semi-transparent layer left rendering artifacts if
PropagateDamagingInformation is enabled.
paintUsingOverlapRegions() splits layers into some overlap regions and some
non-overlap regions. paintSelf() can be called multiple times for a single
SkiaCompositingLayer. However, paintSelf() calculated the damage rect by
assuming it was called only once.
* LayoutTests/platform/glib/damage/layer-overlaps-expected.txt: Added.
* LayoutTests/platform/glib/damage/layer-overlaps.html: Added.
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::addPreviousRectToSharedFrameDamage):
(WebCore::SkiaCompositingLayer::paintSelf):
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.h:
Canonical link: https://commits.webkit.org/313412@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications