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 /* | 8 /* |
9 * Code for the "gm" (Golden Master) rendering comparison tool. | 9 * Code for the "gm" (Golden Master) rendering comparison tool. |
10 * | 10 * |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "SkCommandLineFlags.h" | 23 #include "SkCommandLineFlags.h" |
24 #include "SkData.h" | 24 #include "SkData.h" |
25 #include "SkDeferredCanvas.h" | 25 #include "SkDeferredCanvas.h" |
26 #include "SkDevice.h" | 26 #include "SkDevice.h" |
27 #include "SkDrawFilter.h" | 27 #include "SkDrawFilter.h" |
28 #include "SkGPipe.h" | 28 #include "SkGPipe.h" |
29 #include "SkGraphics.h" | 29 #include "SkGraphics.h" |
30 #include "SkImageDecoder.h" | 30 #include "SkImageDecoder.h" |
31 #include "SkImageEncoder.h" | 31 #include "SkImageEncoder.h" |
32 #include "SkOSFile.h" | 32 #include "SkOSFile.h" |
| 33 #include "SkOSPathUtils.h" |
33 #include "SkPicture.h" | 34 #include "SkPicture.h" |
34 #include "SkRefCnt.h" | 35 #include "SkRefCnt.h" |
35 #include "SkStream.h" | 36 #include "SkStream.h" |
36 #include "SkTArray.h" | 37 #include "SkTArray.h" |
37 #include "SkTDict.h" | 38 #include "SkTDict.h" |
38 #include "SkTileGridPicture.h" | 39 #include "SkTileGridPicture.h" |
39 #include "SamplePipeControllers.h" | 40 #include "SamplePipeControllers.h" |
40 | 41 |
41 #ifdef SK_BUILD_FOR_WIN | 42 #ifdef SK_BUILD_FOR_WIN |
42 // json includes xlocale which generates warning 4530 because we're compilin
g without | 43 // json includes xlocale which generates warning 4530 because we're compilin
g without |
(...skipping 2046 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2089 if (FLAGS_forceBWtext) { | 2090 if (FLAGS_forceBWtext) { |
2090 canvas->setDrawFilter(SkNEW(BWTextDrawFilter))->unref(); | 2091 canvas->setDrawFilter(SkNEW(BWTextDrawFilter))->unref(); |
2091 } | 2092 } |
2092 } | 2093 } |
2093 | 2094 |
2094 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) | 2095 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) |
2095 int main(int argc, char * const argv[]) { | 2096 int main(int argc, char * const argv[]) { |
2096 return tool_main(argc, (char**) argv); | 2097 return tool_main(argc, (char**) argv); |
2097 } | 2098 } |
2098 #endif | 2099 #endif |
OLD | NEW |