aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jumper/SkJumper.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-08-03 11:24:13 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-08-03 15:47:26 +0000
commit1a2e3e1e77bf7d7da31e8403d88b743f74669c3c (patch)
tree0230bf6d958d520641c7d549496d1a1e28fdd5cc /src/jumper/SkJumper.h
parent16776dfb4b307c70d08e316f2ecf2a53953f2e0d (diff)
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>
Diffstat (limited to 'src/jumper/SkJumper.h')
-rw-r--r--src/jumper/SkJumper.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/jumper/SkJumper.h b/src/jumper/SkJumper.h
index 60e1156e3f..a22bb22da1 100644
--- a/src/jumper/SkJumper.h
+++ b/src/jumper/SkJumper.h
@@ -116,4 +116,9 @@ struct SkJumper_2PtConicalCtx {
fDR;
};
+struct SkJumper_UniformColorCtx {
+ float r,g,b,a;
+ uint32_t rgba;
+};
+
#endif//SkJumper_DEFINED