diff options
author | Mike Klein <mtklein@chromium.org> | 2018-07-11 14:49:51 -0400 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2018-07-11 20:14:38 +0000 |
commit | 4eebd9eed06039d265f06edb759765731f963271 (patch) | |
tree | a60d5bf110250ad75593977b39fdf93a019c1fff /src/core/SkRasterPipeline.h | |
parent | c0a27081722eaebd005cf9c2eb78d7d1e4db7e2c (diff) |
collapse parametric_{r,g,b} into parametric, remove _a and gamma_dst
parametric_a and gamma_dst were unused outside of unit tests.
In all other cases, we always use parametric_{r,g,b} together
and always pass them the same argument. So we can collapse
them into a single stage like gamma and to/from_srgb.
Change-Id: I08cea896c7744f97b4f4bf9e029f5d643e45e177
Reviewed-on: https://skia-review.googlesource.com/140576
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/SkRasterPipeline.h b/src/core/SkRasterPipeline.h index 0efdae518a..be197e4c6e 100644 --- a/src/core/SkRasterPipeline.h +++ b/src/core/SkRasterPipeline.h @@ -69,8 +69,7 @@ M(matrix_translate) M(matrix_scale_translate) \ M(matrix_2x3) M(matrix_3x3) 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(gamma_dst) \ + M(parametric) M(gamma) \ M(mirror_x) M(repeat_x) \ M(mirror_y) M(repeat_y) \ M(decal_x) M(decal_y) M(decal_x_and_y) \ |