commit | dc94481b637b0334dc568ef309470acb7c7bd52f | [log] [tgz] |
---|---|---|
author | Yuqian Li <liyuqian@google.com> | Fri Nov 11 12:37:45 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Fri Nov 11 19:45:16 2016 +0000 |
tree | 74198f4d683f02c0dfeab4cf77c67ac6eed61c40 | |
parent | 8740d5802b27b0786f2b51eef65f500b2a6f6351 [diff] |
Snap y when updating cubic If we don't snap, we could have end up with many tiny line segments wihtin a single row of pixels. That combined with our partial alpha rounding code (https://codereview.chromium.org/2483523002/) could accumlate so much error that violates our alpha <= 256 assert. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4724 Change-Id: I58b02cffc8a4dc9f541e194d61a2f6fef7b85c97 Reviewed-on: https://skia-review.googlesource.com/4724 Reviewed-by: Cary Clark <caryclark@google.com> Commit-Queue: Yuqian Li <liyuqian@google.com>