#include "Benchmark.h"
#include "SkCanvas.h"
#include "SkPath.h"
-#include "SkString.h"
-
-static void make_path(SkPath& path) {
- #include "BigPathBench.inc"
-}
+#include "sk_tool_utils.h"
enum Align {
kLeft_Align,
}
void onDelayedSetup() override {
- make_path(fPath);
+ sk_tool_utils::make_big_path(fPath);
}
- void onDraw(const int loops, SkCanvas* canvas) override {
+ void onDraw(int loops, SkCanvas* canvas) override {
SkPaint paint;
paint.setAntiAlias(true);
paint.setStyle(SkPaint::kStroke_Style);