diff options
author | 2018-04-18 16:49:13 -0600 | |
---|---|---|
committer | 2018-04-20 16:20:45 +0000 | |
commit | 5450ab10b1ee3fa81072e63787772e410f372b9d (patch) | |
tree | eb126bd47251f713494d0cdd8089718b3c43647c /samplecode/SampleHT.cpp | |
parent | ce6e68af5cd023b844153b3274463643a2a4c8eb (diff) |
ccpr: Don't solve for cubic roots that are out of range
Most real-world cubics don't have both KLM roots inside T=0..1, and a
large amount don't have any. This CL gives a nice speedup by not
wasting time finding padding around KLM roots that we aren't going to
chop at anyway.
Bug: skia:
Change-Id: Icb7217142e29fc3f8e8ff657e9dc739caf6d6714
Reviewed-on: https://skia-review.googlesource.com/122129
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Chris Dalton <csmartdalton@google.com>
Diffstat (limited to 'samplecode/SampleHT.cpp')
0 files changed, 0 insertions, 0 deletions