Title: [228996] releases/WebKitGTK/webkit-2.20/Source/WebCore
- Revision
- 228996
- Author
- [email protected]
- Date
- 2018-02-26 02:05:45 -0800 (Mon, 26 Feb 2018)
Log Message
Merge r228796 - [GTK] whatsapp web blurry in some parts, sharp on others
https://bugs.webkit.org/show_bug.cgi?id=182673
Reviewed by Carlos Garcia Campos.
CoordinatedGraphicsLayer::createBackingStore() uses the scale factor returned by effectiveContentsScale(),
which is always 1 if selfOrAncestorHaveNonAffineTransforms() returns true. But this fuction always returns
true if the layer has an AnimatedPropertyTransform animation, which means that layers with those animations
won't use the appropriate scale factor, causing blurry renderings.
This patch removes the animations check, so animated layers properly use the required scale factor.
No new tests, no behavior change.
* platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
(WebCore::CoordinatedGraphicsLayer::selfOrAncestorHaveNonAffineTransforms):
Modified Paths
Diff
Modified: releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog (228995 => 228996)
--- releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog 2018-02-26 10:05:40 UTC (rev 228995)
+++ releases/WebKitGTK/webkit-2.20/Source/WebCore/ChangeLog 2018-02-26 10:05:45 UTC (rev 228996)
@@ -1,3 +1,22 @@
+2018-02-20 Miguel Gomez <[email protected]>
+
+ [GTK] whatsapp web blurry in some parts, sharp on others
+ https://bugs.webkit.org/show_bug.cgi?id=182673
+
+ Reviewed by Carlos Garcia Campos.
+
+ CoordinatedGraphicsLayer::createBackingStore() uses the scale factor returned by effectiveContentsScale(),
+ which is always 1 if selfOrAncestorHaveNonAffineTransforms() returns true. But this fuction always returns
+ true if the layer has an AnimatedPropertyTransform animation, which means that layers with those animations
+ won't use the appropriate scale factor, causing blurry renderings.
+
+ This patch removes the animations check, so animated layers properly use the required scale factor.
+
+ No new tests, no behavior change.
+
+ * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
+ (WebCore::CoordinatedGraphicsLayer::selfOrAncestorHaveNonAffineTransforms):
+
2018-02-19 Antti Koivisto <[email protected]>
Use selector filter when invalidating descendants
Modified: releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp (228995 => 228996)
--- releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp 2018-02-26 10:05:40 UTC (rev 228995)
+++ releases/WebKitGTK/webkit-2.20/Source/WebCore/platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp 2018-02-26 10:05:45 UTC (rev 228996)
@@ -1124,9 +1124,6 @@
bool CoordinatedGraphicsLayer::selfOrAncestorHaveNonAffineTransforms()
{
- if (m_animations.hasActiveAnimationsOfType(AnimatedPropertyTransform))
- return true;
-
if (!m_layerTransform.combined().isAffine())
return true;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes