Index: tools/bbh_shootout.cpp |
diff --git a/tools/bbh_shootout.cpp b/tools/bbh_shootout.cpp |
index 8d9ab63b6f2257f56e1ea829f7ec11d4e4f9b0bc..65d37826d16de8b6228a06d6bd8811297d548a04 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(); |
} |
} |