From a4e923824dbdf896209b811f84f3e163d3a4d07d Mon Sep 17 00:00:00 2001 From: "reed@google.com" Date: Mon, 27 Feb 2012 22:10:21 +0000 Subject: [PATCH] Disable check for large bounds in antipath git-svn-id: http://skia.googlecode.com/svn/trunk@3267 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/core/SkScan_AntiPath.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp index efb1a4a..261a7f1 100644 --- a/src/core/SkScan_AntiPath.cpp +++ b/src/core/SkScan_AntiPath.cpp @@ -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). -- 2.7.4