commit | 6df611574a3cf8abf2617af0d03a5553bb17360d | [log] [tgz] |
---|---|---|
author | caryclark <caryclark@google.com> | Mon Jan 04 14:17:47 2016 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Mon Jan 04 14:17:47 2016 -0800 |
tree | 1e5bcb0e8c8048ad8958286ff4a7a37cf4829790 | |
parent | 512f3e3b2592097a39bde9331829b38d16c0f85d [diff] |
handle halfway case in scan converter Scan edges that start at exactly -0.5 aren't trimmed by clipping or by rounding, triggering a debug assert. One way to fix this is to round the top and left down instead of up. Also, move the path initialization of gm/composeshader.cpp to make debugging other path problems easier. R=reed@google.com BUG=skia:2715 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1544873002 Review URL: https://codereview.chromium.org/1544873002