Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bc616c7ed15a7fb8c1fcac2e781f5c4b1e9918c3
https://github.com/WebKit/WebKit/commit/bc616c7ed15a7fb8c1fcac2e781f5c4b1e9918c3
Author: Pawel Lampe <[email protected]>
Date: 2025-09-30 (Tue, 30 Sep 2025)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-transforms/perspective-transforms-equivalence.html
M LayoutTests/platform/glib/TestExpectations
A LayoutTests/platform/glib/fast/layers/fractional-transforms-expected.html
A LayoutTests/platform/glib/fast/layers/fractional-transforms.html
M LayoutTests/platform/gtk/TestExpectations
M LayoutTests/platform/wpe/TestExpectations
M Source/WebCore/platform/graphics/texmap/BitmapTexture.cpp
M Source/WebCore/platform/graphics/texmap/BitmapTexture.h
M Source/WebCore/platform/graphics/texmap/BitmapTexturePool.cpp
M
Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedBackingStoreTile.cpp
Log Message:
-----------
[GTK][WPE] Incorrect rendering of layers with fractional transforms
https://bugs.webkit.org/show_bug.cgi?id=299602
Reviewed by Nikolas Zimmermann.
When composited layers have 2D/3D transforms set, it's possible
that on GL level, the textures representing those layers will be
drawn off the integer boundaries hence leading to each texel covering
more than one target pixel. In such case, the GL will use magnification
filter to ensure the results are as expected. To ensure layers are
visually where they should be, the only possible filter to use is
GL_LINEAR as GL_NEAREST may effectively offset the layer.
This change effectively reverts a part of 49ef300 that introduced
GL_NEAREST. Additionally, this change adds a test case that reproduces
the problem and aligns test expectations to account for a few layout
test failures. Those failures are irrelevant, as the test cases are
invalid themselves as they effectively test the interpolation method
which is not specified and may vary between browser engines.
Canonical link: https://commits.webkit.org/300746@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