aboutsummaryrefslogtreecommitdiffhomepage
path: root/bench/SkRasterPipelineBench.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 /bench/SkRasterPipelineBench.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 'bench/SkRasterPipelineBench.cpp')
-rw-r--r--bench/SkRasterPipelineBench.cpp10
1 files changed, 5 insertions, 5 deletions
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);
}
}
};