Title: [101498] trunk/Source/WebCore
Revision
101498
Author
[email protected]
Date
2011-11-30 05:46:21 -0800 (Wed, 30 Nov 2011)

Log Message

[Chromium] Re-enable layer anti-aliasing on ChromeOS.
https://bugs.webkit.org/show_bug.cgi?id=73361

Patch by David Reveman <[email protected]> on 2011-11-30
Reviewed by James Robinson.

Anti-aliasing should be enabled by default on ChromeOS.

No new tests.

* platform/graphics/chromium/cc/CCRenderSurface.cpp:
(WebCore::CCRenderSurface::drawLayer):
* platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
(WebCore::CCTiledLayerImpl::draw):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (101497 => 101498)


--- trunk/Source/WebCore/ChangeLog	2011-11-30 13:45:40 UTC (rev 101497)
+++ trunk/Source/WebCore/ChangeLog	2011-11-30 13:46:21 UTC (rev 101498)
@@ -1,3 +1,19 @@
+2011-11-30  David Reveman  <[email protected]>
+
+        [Chromium] Re-enable layer anti-aliasing on ChromeOS.
+        https://bugs.webkit.org/show_bug.cgi?id=73361
+
+        Reviewed by James Robinson.
+
+        Anti-aliasing should be enabled by default on ChromeOS.
+
+        No new tests.
+
+        * platform/graphics/chromium/cc/CCRenderSurface.cpp:
+        (WebCore::CCRenderSurface::drawLayer):
+        * platform/graphics/chromium/cc/CCTiledLayerImpl.cpp:
+        (WebCore::CCTiledLayerImpl::draw):
+
 2011-11-30  Michael Nordman  <[email protected]>
 
         [chromium] WebSQLDatabase could use some better error reporting.

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurface.cpp (101497 => 101498)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurface.cpp	2011-11-30 13:45:40 UTC (rev 101497)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCRenderSurface.cpp	2011-11-30 13:46:21 UTC (rev 101498)
@@ -143,13 +143,8 @@
     CCLayerQuad deviceRect = CCLayerQuad(FloatQuad(quad.boundingBox()));
     CCLayerQuad layerQuad = CCLayerQuad(quad);
 
-#if defined(OS_CHROMEOS)
-    // FIXME: Disable anti-aliasing to workaround broken driver.
-    bool useAA = false;
-#else
     // Use anti-aliasing programs only when necessary.
     bool useAA = (!quad.isRectilinear() || !quad.boundingBox().isExpressibleAsIntRect());
-#endif
 
     if (useAA) {
         deviceRect.inflateAntiAliasingDistance();

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCTiledLayerImpl.cpp (101497 => 101498)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCTiledLayerImpl.cpp	2011-11-30 13:45:40 UTC (rev 101497)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCTiledLayerImpl.cpp	2011-11-30 13:46:21 UTC (rev 101498)
@@ -130,13 +130,8 @@
     CCLayerQuad deviceRect = CCLayerQuad(FloatQuad(quad.boundingBox()));
     CCLayerQuad layerQuad = CCLayerQuad(quad);
 
-#if defined(OS_CHROMEOS)
-    // FIXME: Disable anti-aliasing to workaround broken driver.
-    bool useAA = false;
-#else
     // Use anti-aliasing programs only when necessary.
     bool useAA = (m_tiler->hasBorderTexels() && (!quad.isRectilinear() || !quad.boundingBox().isExpressibleAsIntRect()));
-#endif
 
     if (useAA) {
         deviceRect.inflateAntiAliasingDistance();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to