commit | fdf3bbe82110488fa271c5a8ab0f17e5c925c2dd | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@chromium.org> | Tue Mar 07 14:41:06 2017 -0500 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Tue Mar 07 20:42:42 2017 +0000 |
tree | 0598abe0b4bc4c137ad69185666e2518e3ae921a | |
parent | d85f97d6968c9a287a27d6ba10da8fff3b0230e2 [diff] |
SkJumper: constant() embeds constants directly in code This is a potential alternative to threading around a constants struct. I've applied it in a smattering of locations to get a feel for it. If we like it and the performance is fine, I'll follow up with the rest. Change-Id: Ief469e17d6da2cb94e4545ae96cf5d2604ffba88 Reviewed-on: https://skia-review.googlesource.com/9393 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>