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>
diff --git a/bench/SkRasterPipelineBench.cpp b/bench/SkRasterPipelineBench.cpp
index df13018..39e7c91 100644
--- a/bench/SkRasterPipelineBench.cpp
+++ b/bench/SkRasterPipelineBench.cpp
@@ -59,7 +59,7 @@
}
while (loops --> 0) {
- p.run(0,N);
+ p.run(0,0,N);
}
}
};
@@ -89,11 +89,11 @@
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 @@
p.append(SkRasterPipeline::parametric_b, & to_2dot2);
while (loops --> 0) {
- p.run(0,N);
+ p.run(0,0,N);
}
}
};
@@ -150,7 +150,7 @@
p.append(SkRasterPipeline::to_srgb);
while (loops --> 0) {
- p.run(0,N);
+ p.run(0,0,N);
}
}
};