diff options
author | Ben Wagner <bungeman@google.com> | 2018-05-09 10:26:39 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-09 15:48:35 +0000 |
commit | dea965c0995ff8edfd1ecfb5e616c2028f7d1e69 (patch) | |
tree | 99b5e8a6969f4075daa1b3ca8567ba00ae7ad658 | |
parent | 97c1108607584b6050a6880d6ce22846e4913a92 (diff) |
Remove SK_IGNORE_MASK_FILTER_GLYPH_FIX.
This removes the SK_IGNORE_MASK_FILTER_GLYPH_FIX flag check and the code
it guards. This flag existed for rebaselining and the rebaselines have
been done.
Change-Id: Ic2d6850051a7f4dcbf2e31c6174db1248ce9367a
Reviewed-on: https://skia-review.googlesource.com/126925
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Ben Wagner <bungeman@google.com>
-rw-r--r-- | src/core/SkScalerContext.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/core/SkScalerContext.cpp b/src/core/SkScalerContext.cpp index a87d927b1b..8e452ef05b 100644 --- a/src/core/SkScalerContext.cpp +++ b/src/core/SkScalerContext.cpp @@ -988,10 +988,6 @@ void SkScalerContext::MakeRecAndEffects(const SkPaint& paint, // seems like we could support kLCD as well at this point... } if (effects->fMaskFilter) { -#ifdef SK_IGNORE_MASK_FILTER_GLYPH_FIX - // force antialiasing with maskfilters - rec->fMaskFormat = SkMask::kA8_Format; -#endif // Pre-blend is not currently applied to filtered text. // The primary filter is blur, for which contrast makes no sense, // and for which the destination guess error is more visible. |