OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 #include "Timer.h" | 8 #include "Timer.h" |
9 #include "Benchmark.h" | 9 #include "Benchmark.h" |
10 #include "LazyDecodeBitmap.h" | 10 #include "LazyDecodeBitmap.h" |
11 #include "PictureBenchmark.h" | 11 #include "PictureBenchmark.h" |
12 #include "PictureRenderer.h" | 12 #include "PictureRenderer.h" |
13 #include "SkCommandLineFlags.h" | 13 #include "SkCommandLineFlags.h" |
14 #include "SkForceLinking.h" | |
15 #include "SkGraphics.h" | 14 #include "SkGraphics.h" |
16 #include "SkStream.h" | 15 #include "SkStream.h" |
17 #include "SkString.h" | 16 #include "SkString.h" |
18 #include "SkTArray.h" | 17 #include "SkTArray.h" |
19 | 18 |
20 typedef sk_tools::PictureRenderer::BBoxHierarchyType BBoxType; | 19 typedef sk_tools::PictureRenderer::BBoxHierarchyType BBoxType; |
21 static const int kBBoxTypeCount = sk_tools::PictureRenderer::kLast_BBoxHierarchy
Type + 1; | 20 static const int kBBoxTypeCount = sk_tools::PictureRenderer::kLast_BBoxHierarchy
Type + 1; |
22 | 21 |
23 | 22 |
24 DEFINE_string2(skps, r, "", "The list of SKPs to benchmark."); | 23 DEFINE_string2(skps, r, "", "The list of SKPs to benchmark."); |
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 } | 193 } |
195 SkDebugf("\nWrote data to gnuplot-readable files: %s %s\n", pbTitle, recTitl
e); | 194 SkDebugf("\nWrote data to gnuplot-readable files: %s %s\n", pbTitle, recTitl
e); |
196 return 0; | 195 return 0; |
197 } | 196 } |
198 | 197 |
199 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) | 198 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
200 int main(int argc, char** argv) { | 199 int main(int argc, char** argv) { |
201 return tool_main(argc, argv); | 200 return tool_main(argc, argv); |
202 } | 201 } |
203 #endif | 202 #endif |
OLD | NEW |