diff options
author | Brian Salomon <bsalomon@google.com> | 2018-05-21 14:37:49 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-05-21 19:10:08 +0000 |
commit | 969be1c98b32addb03d075fde11a76a7942c4c6c (patch) | |
tree | a5689c06e3fcd0bb94101104c7ae3286a2636090 /include/core | |
parent | 8e3bf09e8eb73a7377c41cd833482465c0d14562 (diff) |
Remove mask-filters and aa from SkPaint in SkCanvas for nine-patch/lattice.
Remove GPU fallback code which would have applied AA and mask filter
separately to each lattice cell.
Change-Id: I43d50f337d24bb34b94f3d0ea6cca686a2e11a50
Reviewed-on: https://skia-review.googlesource.com/129318
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Leon Scroggins <scroggo@google.com>
Diffstat (limited to 'include/core')
-rw-r--r-- | include/core/SkCanvas.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/include/core/SkCanvas.h b/include/core/SkCanvas.h index 12f1926844..8a46320ea9 100644 --- a/include/core/SkCanvas.h +++ b/include/core/SkCanvas.h @@ -1734,7 +1734,8 @@ public: SkBlendMode, and SkDrawLooper. If bitmap is kAlpha_8_SkColorType, apply SkShader. If paint contains SkMaskFilter, generate mask from bitmap bounds. If paint's SkFilterQuality is higher than kLow_SkFilterQuality, it will be treated as if it - were kLow_SkFilterQuality. + were kLow_SkFilterQuality. Any SkMaskFilter on the paint is ignored as is the paint's + antialiasing state. If generated mask extends beyond bitmap bounds, replicate bitmap edge colors, just as SkShader made from SkShader::MakeBitmapShader with @@ -1836,7 +1837,8 @@ public: SkBlendMode, and SkDrawLooper. If bitmap is kAlpha_8_SkColorType, apply SkShader. If paint contains SkMaskFilter, generate mask from bitmap bounds. If paint's SkFilterQuality is higher than kLow_SkFilterQuality, it will be treated as if it - were kLow_SkFilterQuality. + were kLow_SkFilterQuality. Any SkMaskFilter on the paint is ignored as is the paint's + antialiasing state. If generated mask extends beyond bitmap bounds, replicate bitmap edge colors, just as SkShader made from SkShader::MakeBitmapShader with @@ -1866,7 +1868,8 @@ public: SkBlendMode, and SkDrawLooper. If bitmap is kAlpha_8_SkColorType, apply SkShader. If paint contains SkMaskFilter, generate mask from bitmap bounds. If paint's SkFilterQuality is higher than kLow_SkFilterQuality, it will be treated as if it - were kLow_SkFilterQuality. + were kLow_SkFilterQuality. Any SkMaskFilter on the paint is ignored as is the paint's + antialiasing state. If generated mask extends beyond bitmap bounds, replicate bitmap edge colors, just as SkShader made from SkShader::MakeBitmapShader with |