aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/bbh_shootout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/bbh_shootout.cpp')
-rw-r--r--tools/bbh_shootout.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/bbh_shootout.cpp b/tools/bbh_shootout.cpp
index 8d9ab63b6f..65d37826d1 100644
--- a/tools/bbh_shootout.cpp
+++ b/tools/bbh_shootout.cpp
@@ -67,16 +67,16 @@ static void do_benchmark_work(sk_tools::PictureRenderer* renderer,
BenchTimer* timer) {
renderer->setBBoxHierarchyType(bBoxType);
renderer->setGridSize(FLAGS_tilesize, FLAGS_tilesize);
- renderer->init(pic);
+ renderer->init(pic, NULL, NULL, false);
SkDebugf("%s %d times...\n", renderer->getConfigName().c_str(), numRepeats);
for (int i = 0; i < numRepeats; ++i) {
renderer->setup();
// Render once to fill caches
- renderer->render(NULL, NULL);
+ renderer->render();
// Render again to measure
timer->start();
- renderer->render(NULL);
+ renderer->render();
timer->end();
}
}