| commit | c2f876bb8d8991e428467c1d7d24152eea629770 | [log] [tgz] |
|---|---|---|
| author | Mike Klein <mtklein@chromium.org> | Wed Aug 09 18:23:25 2017 -0400 |
| committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Aug 10 14:34:35 2017 +0000 |
| tree | 5f94199f289e68b418dfc6cafc9516e81141454d | |
| parent | f4874bc5c14242dc482882252f8a8d482aa11508 [diff] |
Replace interp() with clut_{3,4}D stages.
I tried to follow exactly the same strategy as a start.
(Though I did fix the off-by-one dimensions.)
It does rather look like we only need 3D and 4D now
that I've looked at the call sites.
Looks like about a 20% speedup.
Change-Id: I8b1af64750ad1750716ee1ab0767e64591c7206a
Reviewed-on: https://skia-review.googlesource.com/32842
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>