Speculative Mac 10.6 fix: disable medium & high filter quality tests.
authorsenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 25 Mar 2014 21:12:18 +0000 (21:12 +0000)
committersenorblanco@chromium.org <senorblanco@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>
Tue, 25 Mar 2014 21:12:18 +0000 (21:12 +0000)
BUG=skia:
TBR=mtklein@google.com

Review URL: https://codereview.chromium.org/211693003

git-svn-id: http://skia.googlecode.com/svn/trunk@13947 2bbb7eff-a529-9590-31e7-b0007b416f81

gm/matriximagefilter.cpp

index df691c9..29dec39 100644 (file)
@@ -73,11 +73,14 @@ protected:
         canvas->translate(srcRect.width() + margin, 0);
         draw(canvas, srcRect, checkerboard, matrix, SkPaint::kLow_FilterLevel);
 
+#if 0
+        // This may be causing Mac 10.6 to barf.
         canvas->translate(srcRect.width() + margin, 0);
         draw(canvas, srcRect, checkerboard, matrix, SkPaint::kMedium_FilterLevel);
 
         canvas->translate(srcRect.width() + margin, 0);
         draw(canvas, srcRect, checkerboard, matrix, SkPaint::kHigh_FilterLevel);
+#endif
     }
 
 private: