Chromium Code Reviews| Index: bench/MatrixConvolutionBench.cpp |
| diff --git a/bench/MatrixConvolutionBench.cpp b/bench/MatrixConvolutionBench.cpp |
| index da61891e732792f317ad7c687b381d9916ab5bf2..6e79643d64b4924ab8b65bc78d3e046491b87892 100644 |
| --- a/bench/MatrixConvolutionBench.cpp |
| +++ b/bench/MatrixConvolutionBench.cpp |
| @@ -14,7 +14,7 @@ |
| class MatrixConvolutionBench : public Benchmark { |
| public: |
| MatrixConvolutionBench(SkMatrixConvolutionImageFilter::TileMode tileMode, bool convolveAlpha) |
| - : fName("matrixconvolution") { |
| + : fName(SkStringPrintf("matrixconvolution_%d_%d", (int)tileMode, (int)convolveAlpha)) { |
|
Stephen White
2016/04/12 21:12:57
I hate to be a pain, but could you turn the enum i
|
| SkISize kernelSize = SkISize::Make(3, 3); |
| SkScalar kernel[9] = { |
| SkIntToScalar( 1), SkIntToScalar( 1), SkIntToScalar( 1), |
| @@ -23,7 +23,7 @@ public: |
| }; |
| SkScalar gain = 0.3f, bias = SkIntToScalar(100); |
| SkIPoint kernelOffset = SkIPoint::Make(1, 1); |
| - fFilter = SkMatrixConvolutionImageFilter::Make(kernelSize, kernel, gain, bias, |
| + fFilter = SkMatrixConvolutionImageFilter::Make(kernelSize, kernel, gain, bias, |
| kernelOffset, tileMode, convolveAlpha, |
| nullptr); |
| } |