reduce clip-limit for scan converter to avoid quad-edge overflow
authorMike Reed <reed@google.com>
Wed, 23 May 2018 14:08:53 +0000 (10:08 -0400)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Wed, 23 May 2018 14:33:51 +0000 (14:33 +0000)
commit5bedc80b269caba0ef9a649b5f6f3c3bd8dda596
tree63051835782d8f7551500a988fc4404af977358e
parentf104fec6d745540019556823f849535fe8872653
reduce clip-limit for scan converter to avoid quad-edge overflow

For raster drawing, we already have a more conservative guard in SkBitmapDevice,
which "tiles" the drawing on 8K boundaries (the smaller limit needed for antialiasing
scan converters). This change is just needed for non-drawing uses of the scan converter.

Bug: skia:7998
Bug: oss-fuzz:8483
Change-Id: Icfee9ca1ffcf93a2a8a3078d9ee10494fa04a6c7
Reviewed-on: https://skia-review.googlesource.com/129628
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Mike Reed <reed@google.com>
src/core/SkScan_Path.cpp
tests/RegionTest.cpp