OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2012 The Android Open Source Project | 2 * Copyright 2012 The Android Open Source Project |
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 "SkCanvas.h" | 9 #include "SkCanvas.h" |
11 | 10 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 static const int kNumStepsX = 30; | 57 static const int kNumStepsX = 30; |
59 static const int kNumStepsY = 30; | 58 static const int kNumStepsY = 30; |
60 static const int kWindowSize = 5; | 59 static const int kWindowSize = 5; |
61 | 60 |
62 typedef Benchmark INHERITED; | 61 typedef Benchmark INHERITED; |
63 }; | 62 }; |
64 | 63 |
65 //////////////////////////////////////////////////////////////////////////////// | 64 //////////////////////////////////////////////////////////////////////////////// |
66 | 65 |
67 DEF_BENCH( return new ReadPixBench(); ) | 66 DEF_BENCH( return new ReadPixBench(); ) |
OLD | NEW |