aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-02-27 22:10:21 +0000
committerGravatar reed@google.com <reed@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-02-27 22:10:21 +0000
commita4e923824dbdf896209b811f84f3e163d3a4d07d (patch)
treefe73b3daa2ad846efbe23d3a3567e83cc8763a9e /src
parent710c269dc1e503a60265d54109d827c730cd7bc0 (diff)
Disable check for large bounds in antipath
git-svn-id: http://skia.googlecode.com/svn/trunk@3267 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r--src/core/SkScan_AntiPath.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/SkScan_AntiPath.cpp b/src/core/SkScan_AntiPath.cpp
index efb1a4a8cc..261a7f1462 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).