diff options
author | Yuqian Li <liyuqian@google.com> | 2018-02-12 09:59:34 +0800 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-02-12 02:20:37 +0000 |
commit | 3a2b8031331cac07069c7583e03dae5bba526ac8 (patch) | |
tree | 3198125485c04e1dc503546dc41a5e1ef0d6ee81 /src/core/SkScan_AAAPath.cpp | |
parent | 78c110e2f0faefeecc8c8c19f6dcb00e738bffc7 (diff) |
Remove SK_SUPPORT_LEGACY_AAA_SMOOTH
TBR: caryclark@google.com
Bug: skia:7573
Change-Id: I94a3101bf3f2f4d253b9380d2cf5b450bd252118
Reviewed-on: https://skia-review.googlesource.com/106460
Reviewed-by: Yuqian Li <liyuqian@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 | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/SkScan_AAAPath.cpp b/src/core/SkScan_AAAPath.cpp index 2df5338e9a..e4e6701cea 100644 --- a/src/core/SkScan_AAAPath.cpp +++ b/src/core/SkScan_AAAPath.cpp @@ -976,11 +976,7 @@ static inline bool isSmoothEnough(SkAnalyticEdge* leftE, SkAnalyticEdge* riteE, return false; } // Ensure that currE is the next left edge and nextCurrE is the next right edge. Swap if not. -#ifdef SK_SUPPORT_LEGACY_AAA_SMOOTH - if (*nextCurrE < *currE) { -#else if (nextCurrE->fUpperX < currE->fUpperX) { -#endif SkTSwap(currE, nextCurrE); } return isSmoothEnough(leftE, currE, stop_y) && isSmoothEnough(riteE, nextCurrE, stop_y); |