Remove SK_SUPPORT_LEGACY_PATH_DAA_BIT
Change-Id: I5ff39063b1adc1c4f2bf5246fd69c6031c444908 Reviewed-on: https://skia-review.googlesource.com/122133 Commit-Queue: Yuqian Li <liyuqian@google.com> Auto-Submit: Yuqian Li <liyuqian@google.com> Reviewed-by: Florin Malita <fmalita@chromium.org>
This commit is contained in:
parent
c274f8f942
commit
881091f62e
@ -446,10 +446,8 @@ void SkScalerContext::getImage(const SkGlyph& origGlyph) {
|
||||
} else {
|
||||
SkASSERT(SkMask::kARGB32_Format != origGlyph.fMaskFormat);
|
||||
SkASSERT(SkMask::kARGB32_Format != mask.fFormat);
|
||||
#ifndef SK_SUPPORT_LEGACY_PATH_DAA_BIT
|
||||
// DAA would have over coverage issues with small stroke_and_fill (crbug.com/821353)
|
||||
SkPathPriv::SetIsBadForDAA(devPath, fRec.fFrameWidth > 0 && fRec.fFrameWidth <= 2);
|
||||
#endif
|
||||
generateMask(mask, devPath, fPreBlend);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user