Create GLSLUniformHandler class for gpu backend
[platform/upstream/libSkiaSharp.git] / bench / BigPathBench.cpp
index a554b38..f39fd73 100644 (file)
@@ -8,11 +8,7 @@
 #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,
@@ -47,10 +43,10 @@ protected:
     }
 
     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);