commit | b12e178dbe34d2bbca3e78eca8574cd318926142 | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@chromium.org> | Tue Aug 08 15:40:20 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Aug 08 20:37:13 2017 +0000 |
tree | 135feef5cc610a5800e14247be85f095e6815ffb | |
parent | 3b30c4f188ac674b92332a45f682f94cb91f61db [diff] |
rewrite SkColorLookUpTable::interpDimension() - Avoid calling floor() and ceil(), which are real external calls on most platforms. - Interpolate all output channels in parallel. - Simplify recursion, allow the compiler to unroll. Change-Id: I9ef814e91b18c5775292ca20e9ec01222b6a89cf Reviewed-on: https://skia-review.googlesource.com/32182 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>