Index: bench/HardStopGradientBench.cpp |
diff --git a/bench/HardStopGradientBench.cpp b/bench/HardStopGradientBench.cpp |
index 7ebc51c9ed28cafb8a903c067e1ba8bdb353cc82..3a323fec6fade66f9ea8428158cea8b068f5ad6d 100644 |
--- a/bench/HardStopGradientBench.cpp |
+++ b/bench/HardStopGradientBench.cpp |
@@ -97,6 +97,8 @@ private: |
}; |
// Clamp |
+DEF_BENCH(return new HardStopGradientBench(SkShader::kClamp_TileMode, 3);) |
+DEF_BENCH(return new HardStopGradientBench(SkShader::kClamp_TileMode, 4);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kClamp_TileMode, 5);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kClamp_TileMode, 10);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kClamp_TileMode, 25);) |
@@ -104,6 +106,8 @@ DEF_BENCH(return new HardStopGradientBench(SkShader::kClamp_TileMode, 50);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kClamp_TileMode, 100);) |
// Repeat |
+DEF_BENCH(return new HardStopGradientBench(SkShader::kRepeat_TileMode, 3);) |
+DEF_BENCH(return new HardStopGradientBench(SkShader::kRepeat_TileMode, 4);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kRepeat_TileMode, 5);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kRepeat_TileMode, 10);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kRepeat_TileMode, 25);) |
@@ -111,6 +115,8 @@ DEF_BENCH(return new HardStopGradientBench(SkShader::kRepeat_TileMode, 50);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kRepeat_TileMode, 100);) |
// Mirror |
+DEF_BENCH(return new HardStopGradientBench(SkShader::kMirror_TileMode, 3);) |
+DEF_BENCH(return new HardStopGradientBench(SkShader::kMirror_TileMode, 4);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kMirror_TileMode, 5);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kMirror_TileMode, 10);) |
DEF_BENCH(return new HardStopGradientBench(SkShader::kMirror_TileMode, 25);) |