aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/SRGBTest.cpp
diff options
context:
space:
mode:
authorGravatar Mike Klein <mtklein@chromium.org>2017-06-01 12:37:08 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-06-01 17:05:13 +0000
commit761d27c4d76bbd553c10cfe835d572b6fa33cf26 (patch)
tree96a4dab9eb24960554544fe5e359dd903fce9a55 /tests/SRGBTest.cpp
parentd16084ffdc688bad6d0e9c04f3f98049b3412633 (diff)
update SkRasterPipeline::run() to also take y
y isn't used yet. This is just a warmup that updates the callers. Change-Id: I78f4f44e2b82f72b3a39fa8a8bdadef1d1b8a99e Reviewed-on: https://skia-review.googlesource.com/18381 Reviewed-by: Mike Klein <mtklein@chromium.org> Commit-Queue: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/SRGBTest.cpp')
-rw-r--r--tests/SRGBTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/SRGBTest.cpp b/tests/SRGBTest.cpp
index b1e4570f50..4a519ca55b 100644
--- a/tests/SRGBTest.cpp
+++ b/tests/SRGBTest.cpp
@@ -54,7 +54,7 @@ DEF_TEST(sk_pipeline_srgb_roundtrip, r) {
p.append(SkRasterPipeline::to_srgb);
p.append(SkRasterPipeline::store_8888, &ptr);
- p.run(0,256);
+ p.run(0,0,256);
for (int i = 0; i < 256; i++) {
if (reds[i] != (uint32_t)i) {
@@ -73,7 +73,7 @@ DEF_TEST(sk_pipeline_srgb_edge_cases, r) {
p.append(SkRasterPipeline::constant_color, &color);
p.append(SkRasterPipeline::to_srgb);
p.append(SkRasterPipeline::store_f32, &dst);
- p.run(0,4);
+ p.run(0,0,4);
if (color.r() != 0.0f) {
ERRORF(r, "expected to_srgb() to map 0.0f to 0.0f, got %f", color.r());