OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
3 * | 3 * |
4 * 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 |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef PictureBenchmark_DEFINED | 8 #ifndef PictureBenchmark_DEFINED |
9 #define PictureBenchmark_DEFINED | 9 #define PictureBenchmark_DEFINED |
10 | 10 |
| 11 #include "PictureRenderer.h" |
| 12 #include "PictureResultsWriter.h" |
11 #include "SkTypes.h" | 13 #include "SkTypes.h" |
12 #include "PictureRenderer.h" | |
13 #include "TimerData.h" | 14 #include "TimerData.h" |
14 #include "PictureResultsWriter.h" | |
15 | 15 |
16 class BenchTimer; | 16 class BenchTimer; |
17 class SkBenchLogger; | |
18 class SkPicture; | 17 class SkPicture; |
19 class SkString; | |
20 | 18 |
21 namespace sk_tools { | 19 namespace sk_tools { |
22 | 20 |
23 class PictureBenchmark { | 21 class PictureBenchmark { |
24 public: | 22 public: |
25 PictureBenchmark(); | 23 PictureBenchmark(); |
26 | 24 |
27 ~PictureBenchmark(); | 25 ~PictureBenchmark(); |
28 | 26 |
29 /** | 27 /** |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 bool fPreprocess; | 66 bool fPreprocess; |
69 | 67 |
70 PictureResultsWriter* fWriter; | 68 PictureResultsWriter* fWriter; |
71 | 69 |
72 BenchTimer* setupTimer(bool useGLTimer = true); | 70 BenchTimer* setupTimer(bool useGLTimer = true); |
73 }; | 71 }; |
74 | 72 |
75 } | 73 } |
76 | 74 |
77 #endif // PictureBenchmark_DEFINED | 75 #endif // PictureBenchmark_DEFINED |
OLD | NEW |