diff options
author | Yuqian Li <liyuqian@google.com> | 2017-03-06 17:04:58 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-03-08 16:32:07 +0000 |
commit | 8de05ffcb26c757a6169e217ef46105286811dd9 (patch) | |
tree | 930e9b0547b6eef8cd5928ba902695f8b92d0014 /src/core/SkScan_AAAPath.cpp | |
parent | 837fcb68ff5bddbd30f6994fa859a1d98745ccad (diff) |
Remove SK_SUPPORT_LEGACY_AAA flag as chromium now turns it off
BUG=skia:
Change-Id: I3b385b8aeab08f402f4471637bf641cd456c8c56
Reviewed-on: https://skia-review.googlesource.com/9327
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'src/core/SkScan_AAAPath.cpp')
-rw-r--r-- | src/core/SkScan_AAAPath.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/core/SkScan_AAAPath.cpp b/src/core/SkScan_AAAPath.cpp index 80a09e5740..634a82661c 100644 --- a/src/core/SkScan_AAAPath.cpp +++ b/src/core/SkScan_AAAPath.cpp @@ -1766,13 +1766,6 @@ void SkScan::AAAFillPath(const SkPath& path, const SkRegion& origClip, SkBlitter if (origClip.isEmpty()) { return; } - #ifdef SK_SUPPORT_LEGACY_AAA - if (path.isInverseFillType() || !path.isConvex()) { - // Fall back as we only implemented the algorithm for convex shapes yet. - SkScan::AntiFillPath(path, origClip, blitter, forceRLE); - return; - } - #endif const bool isInverse = path.isInverseFillType(); SkIRect ir; |