OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "BenchTimer.h" | 8 #include "BenchTimer.h" |
9 #include "ResultsWriter.h" | 9 #include "ResultsWriter.h" |
10 #include "SkBenchLogger.h" | 10 #include "SkBenchLogger.h" |
11 #include "SkBenchmark.h" | 11 #include "SkBenchmark.h" |
12 #include "SkBitmapDevice.h" | 12 #include "SkBitmapDevice.h" |
13 #include "SkCanvas.h" | 13 #include "SkCanvas.h" |
14 #include "SkColorPriv.h" | 14 #include "SkColorPriv.h" |
15 #include "SkCommandLineFlags.h" | 15 #include "SkCommandLineFlags.h" |
16 #include "SkData.h" | 16 #include "SkData.h" |
17 #include "SkDeferredCanvas.h" | 17 #include "SkDeferredCanvas.h" |
18 #include "SkGMBench.h" | 18 #include "SkGMBench.h" |
19 #include "SkGraphics.h" | 19 #include "SkGraphics.h" |
20 #include "SkImageEncoder.h" | 20 #include "SkImageEncoder.h" |
21 #include "SkOSFile.h" | 21 #include "SkOSFile.h" |
22 #include "SkPicture.h" | 22 #include "SkPicture.h" |
| 23 #include "SkPictureRecorder.h" |
23 #include "SkString.h" | 24 #include "SkString.h" |
24 #include "SkSurface.h" | 25 #include "SkSurface.h" |
25 | 26 |
26 #if SK_SUPPORT_GPU | 27 #if SK_SUPPORT_GPU |
27 #include "GrContext.h" | 28 #include "GrContext.h" |
28 #include "GrContextFactory.h" | 29 #include "GrContextFactory.h" |
29 #include "GrRenderTarget.h" | 30 #include "GrRenderTarget.h" |
30 #include "SkGpuDevice.h" | 31 #include "SkGpuDevice.h" |
31 #include "gl/GrGLDefines.h" | 32 #include "gl/GrGLDefines.h" |
32 #else | 33 #else |
(...skipping 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
697 gContextFactory.destroyContexts(); | 698 gContextFactory.destroyContexts(); |
698 #endif | 699 #endif |
699 return 0; | 700 return 0; |
700 } | 701 } |
701 | 702 |
702 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) | 703 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
703 int main(int argc, char * const argv[]) { | 704 int main(int argc, char * const argv[]) { |
704 return tool_main(argc, (char**) argv); | 705 return tool_main(argc, (char**) argv); |
705 } | 706 } |
706 #endif | 707 #endif |
OLD | NEW |