Chromium Code Reviews| Index: bench/BlurImageFilterBench.cpp |
| diff --git a/bench/BlurImageFilterBench.cpp b/bench/BlurImageFilterBench.cpp |
| index c39573d8e84ae14df0e1618e9188c61180d90520..ef7492c688b8164e1b9cf68adff18e9bdc3f2af8 100644 |
| --- a/bench/BlurImageFilterBench.cpp |
| +++ b/bench/BlurImageFilterBench.cpp |
| @@ -14,12 +14,13 @@ |
| #include "SkShader.h" |
| #include "SkString.h" |
| -#define FILTER_WIDTH_SMALL 32 |
| -#define FILTER_HEIGHT_SMALL 32 |
| -#define FILTER_WIDTH_LARGE 256 |
| -#define FILTER_HEIGHT_LARGE 256 |
| -#define BLUR_SIGMA_SMALL 1.0f |
| -#define BLUR_SIGMA_LARGE 10.0f |
| +#define FILTER_WIDTH_SMALL 32 |
| +#define FILTER_HEIGHT_SMALL 32 |
| +#define FILTER_WIDTH_LARGE 256 |
| +#define FILTER_HEIGHT_LARGE 256 |
| +#define BLUR_SIGMA_SMALL 1.0f |
| +#define BLUR_SIGMA_LARGE 10.0f |
| +#define BLUR_SIGMA_SUPERLARGE 80.0f |
|
Stephen White
2013/12/19 15:27:03
Nit: SUPERLARGE -> HUGE
zheng.xu
2013/12/20 04:29:54
Done.
|
| class BlurImageFilterBench : public SkBenchmark { |
| public: |
| @@ -92,3 +93,5 @@ DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL, tr |
| DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SMALL, BLUR_SIGMA_SMALL, false);) |
| DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, true);) |
| DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_LARGE, BLUR_SIGMA_LARGE, false);) |
| +DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SUPERLARGE, BLUR_SIGMA_SUPERLARGE, true);) |
| +DEF_BENCH(return new BlurImageFilterBench(BLUR_SIGMA_SUPERLARGE, BLUR_SIGMA_SUPERLARGE, false);) |