| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 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 <ctype.h> | 8 #include <ctype.h> |
| 9 | 9 |
| 10 #include "Benchmark.h" | 10 #include "Benchmark.h" |
| 11 #include "CrashHandler.h" | 11 #include "CrashHandler.h" |
| 12 #include "GMBench.h" | 12 #include "GMBench.h" |
| 13 #include "ProcStats.h" | 13 #include "ProcStats.h" |
| 14 #include "ResultsWriter.h" | 14 #include "ResultsWriter.h" |
| 15 #include "RecordingBench.h" | 15 #include "RecordingBench.h" |
| 16 #include "SKPBench.h" | 16 #include "SKPBench.h" |
| 17 #include "Stats.h" | 17 #include "Stats.h" |
| 18 #include "Timer.h" | 18 #include "Timer.h" |
| 19 | 19 |
| 20 #include "SkBBHFactory.h" | 20 #include "SkBBHFactory.h" |
| 21 #include "SkCanvas.h" | 21 #include "SkCanvas.h" |
| 22 #include "SkCommonFlags.h" | 22 #include "SkCommonFlags.h" |
| 23 #include "SkForceLinking.h" | 23 #include "SkForceLinking.h" |
| 24 #include "SkGraphics.h" | 24 #include "SkGraphics.h" |
| 25 #include "SkImageEncoder.h" |
| 25 #include "SkOSFile.h" | 26 #include "SkOSFile.h" |
| 26 #include "SkPictureRecorder.h" | 27 #include "SkPictureRecorder.h" |
| 27 #include "SkString.h" | 28 #include "SkString.h" |
| 28 #include "SkSurface.h" | 29 #include "SkSurface.h" |
| 29 | 30 |
| 30 #if SK_SUPPORT_GPU | 31 #if SK_SUPPORT_GPU |
| 31 #include "gl/GrGLDefines.h" | 32 #include "gl/GrGLDefines.h" |
| 32 #include "GrContextFactory.h" | 33 #include "GrContextFactory.h" |
| 33 SkAutoTDelete<GrContextFactory> gGrFactory; | 34 SkAutoTDelete<GrContextFactory> gGrFactory; |
| 34 #endif | 35 #endif |
| (...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 734 | 735 |
| 735 return 0; | 736 return 0; |
| 736 } | 737 } |
| 737 | 738 |
| 738 #if !defined SK_BUILD_FOR_IOS | 739 #if !defined SK_BUILD_FOR_IOS |
| 739 int main(int argc, char** argv) { | 740 int main(int argc, char** argv) { |
| 740 SkCommandLineFlags::Parse(argc, argv); | 741 SkCommandLineFlags::Parse(argc, argv); |
| 741 return nanobench_main(); | 742 return nanobench_main(); |
| 742 } | 743 } |
| 743 #endif | 744 #endif |
| OLD | NEW |