commit | 0aebf5d0d3a2aef38a71885c85303583fdeaad57 | [log] [tgz] |
---|---|---|
author | mtklein <mtklein@chromium.org> | Tue Mar 03 08:57:07 2015 -0800 |
committer | Commit bot <commit-bot@chromium.org> | Tue Mar 03 08:57:07 2015 -0800 |
tree | 1ec6aeef90ecc654f5040e7244f5c7246ce74690 | |
parent | c2574f3657b1359496a4eba5b191961974b3a64f [diff] |
Test and fix SkPMFloat rounding. SSE rounds for free (that was a happy accident: they also have a truncating version). NEON does not, nor obviously the portable code, so they add 0.5 before truncating. NOPRESUBMIT=true BUG=skia: Review URL: https://codereview.chromium.org/974643002