aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SRGBTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-07-05 14:12:37 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-06 17:37:47 +0000
commitc91e3877a57ef140b688627b8c0acaafbefc9034 (patch)
treee0a9d820406511d7c3c429fdfd5a68144a1ae1e3 /tests/SRGBTest.cpp
parent08252eca36dd438444e2a00acf5c895015668756 (diff)
add stages for black and white colors
histogram of test skps: black: 1/7 white: 2/7 other: 4/7 Bug: skia: Change-Id: I3a092899d31ce87837e66e5c8ea9ec5e0f239361 Reviewed-on: https://skia-review.googlesource.com/21408 Reviewed-by: Herb Derby <herb@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'tests/SRGBTest.cpp')
-rw-r--r--tests/SRGBTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/SRGBTest.cpp b/tests/SRGBTest.cpp
index 4a519ca55b..fc02f7d96c 100644
--- a/tests/SRGBTest.cpp
+++ b/tests/SRGBTest.cpp
@@ -70,7 +70,7 @@ DEF_TEST(sk_pipeline_srgb_edge_cases, r) {
void* dst = &color;
SkRasterPipeline_<256> p;
- p.append(SkRasterPipeline::constant_color, &color);
+ p.append(SkRasterPipeline::uniform_color, &color);
p.append(SkRasterPipeline::to_srgb);
p.append(SkRasterPipeline::store_f32, &dst);
p.run(0,0,4);