Title: [103117] trunk/Source/WebCore
Revision
103117
Author
ander...@apple.com
Date
2011-12-16 15:26:31 -0800 (Fri, 16 Dec 2011)

Log Message

Subpixel antialiasing not working in tiled mode
https://bugs.webkit.org/show_bug.cgi?id=74759

Reviewed by Simon Fraser.

Call setContentsOpaque(true) on the main frame render view layer so subpixel aa will be used
when drawing text into that layer.

* rendering/RenderLayerBacking.cpp:
(WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (103116 => 103117)


--- trunk/Source/WebCore/ChangeLog	2011-12-16 23:15:10 UTC (rev 103116)
+++ trunk/Source/WebCore/ChangeLog	2011-12-16 23:26:31 UTC (rev 103117)
@@ -1,3 +1,16 @@
+2011-12-16  Anders Carlsson  <ander...@apple.com>
+
+        Subpixel antialiasing not working in tiled mode
+        https://bugs.webkit.org/show_bug.cgi?id=74759
+
+        Reviewed by Simon Fraser.
+
+        Call setContentsOpaque(true) on the main frame render view layer so subpixel aa will be used
+        when drawing text into that layer.
+
+        * rendering/RenderLayerBacking.cpp:
+        (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer):
+
 2011-12-16  Ryosuke Niwa  <rn...@webkit.org>
 
         invalidateNodeListsCacheAfterAttributeChanged has too many callers

Modified: trunk/Source/WebCore/rendering/RenderLayerBacking.cpp (103116 => 103117)


--- trunk/Source/WebCore/rendering/RenderLayerBacking.cpp	2011-12-16 23:15:10 UTC (rev 103116)
+++ trunk/Source/WebCore/rendering/RenderLayerBacking.cpp	2011-12-16 23:26:31 UTC (rev 103117)
@@ -139,8 +139,10 @@
 #endif
     m_graphicsLayer = createGraphicsLayer(layerName);
 
-    if (m_isMainFrameRenderViewLayer)
+    if (m_isMainFrameRenderViewLayer) {
+        m_graphicsLayer->setContentsOpaque(true);
         m_graphicsLayer->setAppliesPageScale();
+    }
     
     updateLayerOpacity(renderer()->style());
     updateLayerTransform(renderer()->style());
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to