diff options
author | Yuqian Li <liyuqian@google.com> | 2018-03-21 14:24:27 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-03-21 19:06:00 +0000 |
commit | a2513c14c4e143984b2eec07f5263b5cdc6c84bb (patch) | |
tree | d20bd9f4fa6814954e99d570da82737a8239897b /src | |
parent | 52076d1df56fc2eef7c78fe4f2a9930aba59e803 (diff) |
Remove legacy precision boundary
Bug: skia:7731
Change-Id: I86a87b960541c2bc7b099ca9f609342cb0bbf563
Reviewed-on: https://skia-review.googlesource.com/115652
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkCoverageDelta.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/core/SkCoverageDelta.h b/src/core/SkCoverageDelta.h index 13754890d0..62dee61043 100644 --- a/src/core/SkCoverageDelta.h +++ b/src/core/SkCoverageDelta.h @@ -107,13 +107,8 @@ private: class SkCoverageDeltaMask { public: -#ifdef SK_SUPPORT_LEGACY_PRECISION_BOUNDARY - // 1 for precision error, 1 for boundary delta (e.g., -SK_Fixed1 at fBounds.fRight + 1) - static constexpr int PADDING = 2; -#else // 3 for precision error, 1 for boundary delta (e.g., -SK_Fixed1 at fBounds.fRight + 1) static constexpr int PADDING = 4; -#endif static constexpr int SIMD_WIDTH = 8; static constexpr int SUITABLE_WIDTH = 32; |