diff options
author | Mike Klein <mtklein@chromium.org> | 2016-12-02 08:29:10 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2016-12-02 14:09:37 +0000 |
commit | 9c77ea1ea5a1fa26f10d3bf83a6250008af78049 (patch) | |
tree | f9c28cf0feeec73fc7d315ca09f9e60b43211903 /platform_tools | |
parent | 87185f7539f4e55fbf2e5eea458b8980c34a8d1d (diff) |
SkNf_round, use it in store_565 and store_tables.
This gives us a place to bottleneck this sort of conversion. Every time I try to use the rounding float -> int instructions, they're just a little slower than working the 1/2 into the scale with FMA. Weird.
Change-Id: I7718112b234b4b38ba6af8fef59a47642021839a
Reviewed-on: https://skia-review.googlesource.com/5483
Commit-Queue: Mike Klein <mtklein@chromium.org>
Reviewed-by: Matt Sarett <msarett@google.com>
Diffstat (limited to 'platform_tools')
0 files changed, 0 insertions, 0 deletions