aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/jumper/SkJumper.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-06-01 13:11:16 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-01 18:08:25 +0000
commit9b10f8ff0d163d5d076e7028a1a173f9c1f3b714 (patch)
treebeec177f1320b93b8a4d48afe929a7c510f31963 /src/jumper/SkJumper.h
parent97b10ac4847fba563834911f35235aaf0299d0c8 (diff)
plumb y through to SkJumper
There'll still be a little more refactoring after this, but this is the main thing we want to do. This makes y available in a general-purpose register in pipeline stages, just like x. Stages that need y (seed_shader and dither) can just use it rather than pulling it off a context pointer. seed_shader loses its context pointer, and dither's gets simpler. Change-Id: Ic2d1e13b03fb45b73e308b38aafbb3a14c29cf7f Reviewed-on: https://skia-review.googlesource.com/18383 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/jumper/SkJumper.h')
-rw-r--r--src/jumper/SkJumper.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/jumper/SkJumper.h b/src/jumper/SkJumper.h
index 7d6d0afa31..8e1dd35300 100644
--- a/src/jumper/SkJumper.h
+++ b/src/jumper/SkJumper.h
@@ -95,11 +95,6 @@ struct SkJumper_ParametricTransferFunction {
float G, A,B,C,D,E,F;
};
-struct SkJumper_DitherCtx {
- const int* y;
- float rate;
-};
-
struct SkJumper_GradientCtx {
size_t stopCount;
float* fs[4];