OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 #include "Benchmark.h" | 7 #include "Benchmark.h" |
9 #include "SkBitmap.h" | 8 #include "SkBitmap.h" |
10 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
11 #include "SkColorPriv.h" | 10 #include "SkColorPriv.h" |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 typedef Benchmark INHERITED; | 104 typedef Benchmark INHERITED; |
106 }; | 105 }; |
107 | 106 |
108 DEF_BENCH(return new BitmapRectBench(0xFF, kNone_SkFilterQuality, false)) | 107 DEF_BENCH(return new BitmapRectBench(0xFF, kNone_SkFilterQuality, false)) |
109 DEF_BENCH(return new BitmapRectBench(0x80, kNone_SkFilterQuality, false)) | 108 DEF_BENCH(return new BitmapRectBench(0x80, kNone_SkFilterQuality, false)) |
110 DEF_BENCH(return new BitmapRectBench(0xFF, kLow_SkFilterQuality, false)) | 109 DEF_BENCH(return new BitmapRectBench(0xFF, kLow_SkFilterQuality, false)) |
111 DEF_BENCH(return new BitmapRectBench(0x80, kLow_SkFilterQuality, false)) | 110 DEF_BENCH(return new BitmapRectBench(0x80, kLow_SkFilterQuality, false)) |
112 | 111 |
113 DEF_BENCH(return new BitmapRectBench(0xFF, kNone_SkFilterQuality, true)) | 112 DEF_BENCH(return new BitmapRectBench(0xFF, kNone_SkFilterQuality, true)) |
114 DEF_BENCH(return new BitmapRectBench(0xFF, kLow_SkFilterQuality, true)) | 113 DEF_BENCH(return new BitmapRectBench(0xFF, kLow_SkFilterQuality, true)) |
OLD | NEW |