aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkRasterPipeline.h
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-12-13 11:01:31 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-12-14 19:02:17 +0000
commitc38cce63b39f26d8b13e9ac564a1f2d6d7a8db68 (patch)
treea8990df027fd34b08e1aac17594602bb63ba5705 /src/core/SkRasterPipeline.h
parent474d68791965f20f8e0dfa2bfb4d87300f1f29e0 (diff)
make SkColorSpace_New real
Some interesting things are starting to fall out already, like the fact that I needed to add a gamma_dst stage to be able to draw into gamma-transfer-fn destinations. I've also had to pass an SkAlphaType through to the linearize functions so that they can maintain premul invariants. I'm not sure this is actually a good idea... if you can, please double- check my logic at SkRasterPipeline.cpp:128? If it's correct logic, I'm going to need to do it all over the place. But I imagine you don't do this and somehow get away with it. Change-Id: I42cd9b161b54287d674225103ad9e19f8b388959 Reviewed-on: https://skia-review.googlesource.com/84680 Commit-Queue: Mike Klein <mtklein@chromium.org> Reviewed-by: Brian Osman <brianosman@google.com>
Diffstat (limited to 'src/core/SkRasterPipeline.h')
-rw-r--r--src/core/SkRasterPipeline.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h
index e9bcadba55..66dd5de648 100644
--- a/src/core/SkRasterPipeline.h
+++ b/src/core/SkRasterPipeline.h
@@ -70,7 +70,7 @@ struct SkJumper_Engine;
M(matrix_2x3) M(matrix_3x4) M(matrix_4x5) M(matrix_4x3) \
M(matrix_perspective) \
M(parametric_r) M(parametric_g) M(parametric_b) \
- M(parametric_a) M(gamma) \
+ M(parametric_a) M(gamma) M(gamma_dst) \
M(table_r) M(table_g) M(table_b) M(table_a) \
M(lab_to_xyz) \
M(mirror_x) M(repeat_x) \