From 761d27c4d76bbd553c10cfe835d572b6fa33cf26 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Thu, 1 Jun 2017 12:37:08 -0400 Subject: 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 Commit-Queue: Mike Klein --- tests/SRGBTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/SRGBTest.cpp') 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()); -- cgit v1.2.3