Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 275bfeb9ea5d7687865ca99bf107372d475ab6b8
https://github.com/WebKit/WebKit/commit/275bfeb9ea5d7687865ca99bf107372d475ab6b8
Author: Fujii Hironori <[email protected]>
Date: 2026-06-03 (Wed, 03 Jun 2026)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
A LayoutTests/platform/glib/damage/content/simple_image.png
A LayoutTests/platform/glib/damage/image-layer-expected.txt
A LayoutTests/platform/glib/damage/image-layer.html
M Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp
Log Message:
-----------
SkiaCompositingLayer: Content layers are always damaged
https://bugs.webkit.org/show_bug.cgi?id=315838
Reviewed by Carlos Garcia Campos.
In SkiaCompositingLayer::collectFrameDamage, layers with a content layer always
damaged the layer area. Thus, these layers were always repainted. It should be
repainted only if the content was modified.
In CoordinatedPlatformLayer::flushCompositingStateOnSkiaTarget, Change::Damage
should be flushed when Change::ContentsBuffer is flushed in order to sync them.
* LayoutTests/platform/glib/TestExpectations:
* LayoutTests/platform/glib/damage/content/simple_image.png: Added.
* LayoutTests/platform/glib/damage/image-layer-expected.txt: Added.
* LayoutTests/platform/glib/damage/image-layer.html: Added.
* Source/WebCore/platform/graphics/skia/SkiaCompositingLayer.cpp:
(WebCore::SkiaCompositingLayer::collectFrameDamage):
*
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedPlatformLayer.cpp:
(WebCore::CoordinatedPlatformLayer::setContentsBuffer):
(WebCore::CoordinatedPlatformLayer::flushCompositingStateOnSkiaTarget):
Canonical link: https://commits.webkit.org/314450@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications