diff options
author | Yuqian Li <liyuqian@google.com> | 2016-11-11 12:37:45 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-11-11 19:45:16 +0000 |
commit | dc94481b637b0334dc568ef309470acb7c7bd52f (patch) | |
tree | 74198f4d683f02c0dfeab4cf77c67ac6eed61c40 /infra | |
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>
Diffstat (limited to 'infra')
0 files changed, 0 insertions, 0 deletions