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 --- bench/SkRasterPipelineBench.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bench') diff --git a/bench/SkRasterPipelineBench.cpp b/bench/SkRasterPipelineBench.cpp index df130183b8..39e7c910da 100644 --- a/bench/SkRasterPipelineBench.cpp +++ b/bench/SkRasterPipelineBench.cpp @@ -59,7 +59,7 @@ public: } while (loops --> 0) { - p.run(0,N); + p.run(0,0,N); } } }; @@ -89,11 +89,11 @@ public: if (fCompile) { auto fn = p.compile(); while (loops --> 0) { - fn(0,N); + fn(0,0,N); } } else { while (loops --> 0) { - p.run(0,N); + p.run(0,0,N); } } } @@ -132,7 +132,7 @@ public: p.append(SkRasterPipeline::parametric_b, & to_2dot2); while (loops --> 0) { - p.run(0,N); + p.run(0,0,N); } } }; @@ -150,7 +150,7 @@ public: p.append(SkRasterPipeline::to_srgb); while (loops --> 0) { - p.run(0,N); + p.run(0,0,N); } } }; -- cgit v1.2.3