[webkit-changes] [WebKit/WebKit] 5d4f84: [TexMap] Wrong damage on layer resize
Pawel Lampe
noreply at github.com
Thu Feb 27 02:22:24 PST 2025
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5d4f841d57c14aec0921ad1046ced8fde097d49a
https://github.com/WebKit/WebKit/commit/5d4f841d57c14aec0921ad1046ced8fde097d49a
Author: Pawel Lampe <plampe at igalia.com>
Date: 2025-02-27 (Thu, 27 Feb 2025)
Changed paths:
M LayoutTests/platform/glib/TestExpectations
M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp
M Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h
Log Message:
-----------
[TexMap] Wrong damage on layer resize
https://bugs.webkit.org/show_bug.cgi?id=288462
Reviewed by Carlos Garcia Campos.
This change fixes the damage produced by layer resizes. From
now on, the damage includes the area damaged before resize.
Moreover, the layer offset is now correctly taken into account.
* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp:
(WebCore::TextureMapperLayer::setDamage):
(WebCore::transformRectFromLayerToGlobalCoordinateSpace):
(WebCore::TextureMapperLayer::collectDamageSelf):
(WebCore::TextureMapperLayer::collectDamageSelfChildrenFilterAndMask):
(WebCore::TextureMapperLayer::damageWholeLayerDueToTransformChange):
(WebCore::TextureMapperLayer::setSize):
(WebCore::TextureMapperLayer::transformRectForDamage): Deleted.
* Source/WebCore/platform/graphics/texmap/TextureMapperLayer.h:
(WebCore::TextureMapperLayer::canInferDamage const):
Canonical link: https://commits.webkit.org/291215@main
To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications
More information about the webkit-changes
mailing list