diff options
author | 2016-11-14 15:54:04 -0500 | |
---|---|---|
committer | 2016-11-14 21:38:47 +0000 | |
commit | 0fdde549825bcf6931aadbc292a91403ea15bb63 (patch) | |
tree | 934c5b28b91b4cd6893c5dcd55143d60c0625aee /src/views/SkEvent.cpp | |
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>
Diffstat (limited to 'src/views/SkEvent.cpp')
0 files changed, 0 insertions, 0 deletions