commit | 0fdde549825bcf6931aadbc292a91403ea15bb63 | [log] [tgz] |
---|---|---|
author | Florin Malita <fmalita@chromium.org> | Mon Nov 14 15:54:04 2016 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Nov 14 21:38:47 2016 +0000 |
tree | 934c5b28b91b4cd6893c5dcd55143d60c0625aee | |
parent | 8622b72cfa35b52f6bc7b78b85afd3f61d3a2d47 [diff] |
Fix Sk4fLinearGradient initial interval pinning For repeat/mirror mode, fx tiling needs to ensure the value doesn't collapse to the open interval value due to float arithmetic. Clamp to the next lower representable value. BUG=skia:5955 R=reed@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=4784 Change-Id: I635394d15a80276e88c18a499f93f3047464f190 Reviewed-on: https://skia-review.googlesource.com/4784 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Florin Malita <fmalita@chromium.org>