diff options
author | 2017-07-14 14:04:52 -0600 | |
---|---|---|
committer | 2017-07-14 20:34:34 +0000 | |
commit | 91982ee8d92a80193915d59760e2ba9ce6f46989 (patch) | |
tree | bd1831431ae7a862f6349313f785be4a0e78ed63 /src/gpu/GrReducedClip.cpp | |
parent | 1e0779ba1120182c03f5d52a66df043d70efc376 (diff) |
Fix SkClassifyCubic for near-quadratics
Fixes the threshold logic for "0 ~= d1 && 0 ~= d2".
Previously, if d1 and d2 were both near zero, but on opposite sides
of the threshold, the curve could be misclassified as kCuspAtInfinity
and drawn incorrectly.
Bug: skia:
Change-Id: I65f30ddebf0a4a0b933610d8cc1a2f489efc99e4
Reviewed-on: https://skia-review.googlesource.com/22400
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
Diffstat (limited to 'src/gpu/GrReducedClip.cpp')
0 files changed, 0 insertions, 0 deletions