From: reed@google.com Date: Mon, 27 Feb 2012 22:10:21 +0000 (+0000) Subject: Disable check for large bounds in antipath X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~16770 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a4e923824dbdf896209b811f84f3e163d3a4d07d;p=platform%2Fupstream%2FlibSkiaSharp.git Disable check for large bounds in antipath git-svn-id: http://skia.googlecode.com/svn/trunk@3267 2bbb7eff-a529-9590-31e7-b0007b416f81 --- 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).