diff options
author | Stephen White <senorblanco@chromium.org> | 2018-01-04 14:01:10 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-01-04 21:36:06 +0000 |
commit | 94b7e5425683996c8bc3ca0e7b549ab7235c1180 (patch) | |
tree | 0a6f412c2825118f754e5990c8d348a732b7fae0 /CQ_COMMITTERS | |
parent | 7397d7ade8b72f3b75e9384693aa59292a63fd68 (diff) |
GrTessellator: fix for points which become non-finite on AA stroking.
If input points are near-infinite, they may become inf or NaN when
stroked. Before converting the results of intersection from double
to float, clamp them to the [-FLT_MAX/FLT_MAX] range.
BUG=798679
Change-Id: I7d61130dd26147a9b7cfd38aa96567e3867b5c3e
Reviewed-on: https://skia-review.googlesource.com/90983
Commit-Queue: Stephen White <senorblanco@chromium.org>
Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'CQ_COMMITTERS')
0 files changed, 0 insertions, 0 deletions