diff options
author | Yuqian Li <liyuqian@google.com> | 2017-10-30 10:53:46 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-10-30 15:52:58 +0000 |
commit | 9be0f574229d86d7be5ceef8dfcd720eeec35218 (patch) | |
tree | 6cf051b9efdf712bd300f354c1d4ce5615c32e24 | |
parent | 943ed7910f938d7b4894b4e925566cf7b7053f29 (diff) |
Do not TryBlitFatAntiRect if isInverse
This fixes https://bugs.chromium.org/p/skia/issues/detail?id=7193
That bug only exists in our FDAA (forceDAA) bots (and maybe future
threaded backend) because we don't use DAA for convex paths otherwise.
Bug: skia:7193
Change-Id: I5e8660012655610417b40d964ee8d21b050a7820
Reviewed-on: https://skia-review.googlesource.com/65061
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Yuqian Li <liyuqian@google.com>
-rw-r--r-- | src/core/SkScan_DAAPath.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkScan_DAAPath.cpp b/src/core/SkScan_DAAPath.cpp index da4a640f47..e213e34fa6 100644 --- a/src/core/SkScan_DAAPath.cpp +++ b/src/core/SkScan_DAAPath.cpp @@ -329,7 +329,7 @@ void SkScan::DAAFillPath(const SkPath& path, const SkRegion& origClip, SkBlitter // The overhead of even constructing SkCoverageDeltaList/Mask is too big. // So TryBlitFatAntiRect and return if it's successful. - if (TryBlitFatAntiRect(blitter, path, clipBounds)) { + if (!isInverse && TryBlitFatAntiRect(blitter, path, clipBounds)) { return; } |