diff options
author | Mike Klein <mtklein@chromium.org> | 2017-08-08 11:29:01 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-08-08 18:01:20 +0000 |
commit | 50d0d053576a4895bdd4c837bf990b499da209cb (patch) | |
tree | 7fcbf31c0f36381f9f53102fb3d0c93f9efe5d4d /src/core/SkRasterPipeline.h | |
parent | 34335c5a8dcb7192c366775fcb6bff4fa9a96aff (diff) |
add an invert stage for inverse CMYK -> CMYK
This will be faster, but maybe more importantly it helps make debugging
a stack trace clearer. It's confusing to see a "parametric transfer
function" stages followed by a table transfer function stages...
This leads to a little bit of cleanup in SkColorSpaceXform_A2B.
I am uncertain whether we still need parametric_a. I need to do some
more tracing through the code before I'd say it's impossible to reach in
addTransferFn().
Change-Id: I52e85019f92d012a3086fc94cf64ae6c9307ea94
Reviewed-on: https://skia-review.googlesource.com/32040
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'src/core/SkRasterPipeline.h')
-rw-r--r-- | src/core/SkRasterPipeline.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h index 2a041d3a1e..873a21756a 100644 --- a/src/core/SkRasterPipeline.h +++ b/src/core/SkRasterPipeline.h @@ -42,7 +42,7 @@ struct SkJumper_Engine; M(move_src_dst) M(move_dst_src) \ M(clamp_0) M(clamp_1) M(clamp_a) M(clamp_a_dst) \ M(unpremul) M(premul) M(premul_dst) \ - M(set_rgb) M(swap_rb) \ + M(set_rgb) M(swap_rb) M(invert) \ M(from_srgb) M(from_srgb_dst) M(to_srgb) \ M(black_color) M(white_color) M(uniform_color) \ M(seed_shader) M(dither) \ |