commit | 21d0e8b0a6f4acd216cff32789b61bd15d6eec02 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Wed Jan 31 17:25:14 2018 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Jan 31 22:47:15 2018 +0000 |
tree | 4a0a39162062db5b03c0654c2ed5ce37d1ce5fe1 | |
parent | 51012ce332016cca5160b5a63b91a04b6cb56899 [diff] |
[skottie] Clamp SkCubicMap results to [0,1] Looks like SkCubicMap can produce slightly out-of-range values. That's prolly some unimportant precision artifact, but since we're asserting t is in [0,1] down the line it'd be nice to not crash in debug. TBR= Change-Id: I048b691d1c0f0977556d5b25893a6dab2b9986cc Reviewed-on: https://skia-review.googlesource.com/102480 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Florin Malita <fmalita@chromium.org>