OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2013 Google Inc. | 2 * Copyright 2013 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #include "Benchmark.h" | 8 #include "Benchmark.h" |
10 #include "SkBitmap.h" | 9 #include "SkBitmap.h" |
11 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 //DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kCla
mp_TileMode, true, false, true)) | 123 //DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kCla
mp_TileMode, true, false, true)) |
125 DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMirr
or_TileMode, true, false, false)) | 124 DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMirr
or_TileMode, true, false, false)) |
126 | 125 |
127 //DEF_BENCH(return new ConstXTileBench(SkShader::kRepeat_TileMode, SkShader::kRe
peat_TileMode, false, true, true)) | 126 //DEF_BENCH(return new ConstXTileBench(SkShader::kRepeat_TileMode, SkShader::kRe
peat_TileMode, false, true, true)) |
128 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp
_TileMode, false, true, false)) | 127 DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kClamp
_TileMode, false, true, false)) |
129 //DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMi
rror_TileMode, false, true, true)) | 128 //DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMi
rror_TileMode, false, true, true)) |
130 | 129 |
131 DEF_BENCH(return new ConstXTileBench(SkShader::kRepeat_TileMode, SkShader::kRepe
at_TileMode, true, true, false)) | 130 DEF_BENCH(return new ConstXTileBench(SkShader::kRepeat_TileMode, SkShader::kRepe
at_TileMode, true, true, false)) |
132 //DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kCla
mp_TileMode, true, true, true)) | 131 //DEF_BENCH(return new ConstXTileBench(SkShader::kClamp_TileMode, SkShader::kCla
mp_TileMode, true, true, true)) |
133 DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMirr
or_TileMode, true, true, false)) | 132 DEF_BENCH(return new ConstXTileBench(SkShader::kMirror_TileMode, SkShader::kMirr
or_TileMode, true, true, false)) |
OLD | NEW |