Disable check for large bounds in antipath
authorreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 27 Feb 2012 22:10:21 +0000 (22:10 +0000)
committerreed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Mon, 27 Feb 2012 22:10:21 +0000 (22:10 +0000)
git-svn-id: http://skia.googlecode.com/svn/trunk@3267 2bbb7eff-a529-9590-31e7-b0007b416f81

src/core/SkScan_AntiPath.cpp

index efb1a4a..261a7f1 100644 (file)
@@ -597,6 +597,7 @@ void SkScan::AntiFillPath(const SkPath& path, const SkRegion& origClip,
         return;
     }
 
+#if 0
     // use bit-or since we expect all to pass, so no need to go slower with
     // a short-circuiting logical-or
     if (overflows_short_shift(ir.fLeft, SHIFT) |
@@ -607,6 +608,7 @@ void SkScan::AntiFillPath(const SkPath& path, const SkRegion& origClip,
         SkScan::FillPath(path, origClip, blitter);
         return;
     }
+#endif
 
     // Our antialiasing can't handle a clip larger than 32767, so we restrict
     // the clip to that limit here. (the runs[] uses int16_t for its index).