Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Unified Diff: Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp

Issue 7629002: Merge 92867 - [Chromium] Temporarily disable layer anti-aliasing on ChromeOS. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/835/
Patch Set: Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp
===================================================================
--- Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp (revision 92875)
+++ Source/WebCore/platform/graphics/chromium/LayerTilerChromium.cpp (working copy)
@@ -377,9 +377,14 @@
if (m_skipsDraw || !m_tiles.size() || contentRect.isEmpty())
return;
+#if defined(OS_CHROMEOS)
+ // FIXME: Disable anti-aliasing to workaround broken driver.
+ bool useAA = false;
+#else
// Use anti-aliasing programs when border texels are preset and transform
// is not an integer translation.
bool useAA = (m_tilingData.borderTexels() && !globalTransform.isIntegerTranslation());
+#endif
switch (m_sampledTexelFormat) {
case LayerTextureUpdater::SampledTexelFormatRGBA:
« no previous file with comments | « Source/WebCore/ChangeLog ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698