commit | 1a2e3e1e77bf7d7da31e8403d88b743f74669c3c | [log] [tgz] |
---|---|---|
author | Mike Klein <mtklein@chromium.org> | Thu Aug 03 11:24:13 2017 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Thu Aug 03 15:47:26 2017 +0000 |
tree | 0230bf6d958d520641c7d549496d1a1e28fdd5cc | |
parent | 16776dfb4b307c70d08e316f2ecf2a53953f2e0d [diff] [blame] |
Store float and byte constant colors. This makes loading them much simpler in 8-bit mode. Change-Id: I35ff34ebd0b93425c4e39e055bf4ade8cf8561e1 Reviewed-on: https://skia-review.googlesource.com/30621 Reviewed-by: Florin Malita <fmalita@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
diff --git a/src/jumper/SkJumper.h b/src/jumper/SkJumper.h index 60e1156..a22bb22 100644 --- a/src/jumper/SkJumper.h +++ b/src/jumper/SkJumper.h
@@ -116,4 +116,9 @@ fDR; }; +struct SkJumper_UniformColorCtx { + float r,g,b,a; + uint32_t rgba; +}; + #endif//SkJumper_DEFINED