commit | 23e0cf29639459fb8695bf8174d82ae47fd0d0bb | [log] [tgz] |
---|---|---|
author | Mike Reed <reed@google.com> | Tue Jan 16 13:58:01 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Jan 16 20:36:09 2018 +0000 |
tree | 091d1ac4b2d6096a68b66a6148009414d08ff10a | |
parent | 3d1869453e90954f4b8b76d122e7795039dfb8c5 [diff] [blame] |
relax path bounds check Revert of https://skia-review.googlesource.com/c/skia/+/94100 Reduced the "big" value by the amount we super-sample shift Bug: skia: Change-Id: I7b37b7db841312b0863f76cb353cc916aff1cfa8 Reviewed-on: https://skia-review.googlesource.com/94801 Reviewed-by: Yuqian Li <liyuqian@google.com> Commit-Queue: Mike Reed <reed@google.com>
diff --git a/src/core/SkScanPriv.h b/src/core/SkScanPriv.h index 544f5f5..3d36498 100644 --- a/src/core/SkScanPriv.h +++ b/src/core/SkScanPriv.h
@@ -5,7 +5,6 @@ * found in the LICENSE file. */ - #ifndef SkScanPriv_DEFINED #define SkScanPriv_DEFINED @@ -13,6 +12,9 @@ #include "SkScan.h" #include "SkBlitter.h" +// controls how much we super-sample (when we use that scan convertion) +#define SK_SUPERSAMPLE_SHIFT 2 + class SkScanClipper { public: SkScanClipper(SkBlitter* blitter, const SkRegion* clip, const SkIRect& bounds,