Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: tools/render_pdfs_main.cpp

Issue 670453002: Remove image decoder and encoder autoregistration (Closed) Base URL: https://skia.googlesource.com/skia.git@separate-image-decoder-01-skpicture
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tools/filtermain.cpp ('k') | tools/skdiff_main.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "SkCanvas.h" 8 #include "SkCanvas.h"
9 #include "SkCommandLineFlags.h" 9 #include "SkCommandLineFlags.h"
10 #include "SkDocument.h" 10 #include "SkDocument.h"
11 #include "SkForceLinking.h"
12 #include "SkGraphics.h" 11 #include "SkGraphics.h"
13 #include "SkImageEncoder.h" 12 #include "SkImageEncoder.h"
14 #include "SkOSFile.h" 13 #include "SkOSFile.h"
15 #include "SkPicture.h" 14 #include "SkPicture.h"
16 #include "SkStream.h" 15 #include "SkStream.h"
17 #include "SkTArray.h" 16 #include "SkTArray.h"
18 #include "SkTSort.h" 17 #include "SkTSort.h"
19 #include "ProcStats.h" 18 #include "ProcStats.h"
20 19
21 __SK_FORCE_IMAGE_DECODER_LINKING;
22
23 #ifdef SK_USE_CDB 20 #ifdef SK_USE_CDB
24 #include "win_dbghelp.h" 21 #include "win_dbghelp.h"
25 #endif 22 #endif
26 23
27 /** 24 /**
28 * render_pdfs 25 * render_pdfs
29 * 26 *
30 * Given list of directories and files to use as input, expects to find .skp 27 * Given list of directories and files to use as input, expects to find .skp
31 * files and it will convert them to .pdf files writing them in the output 28 * files and it will convert them to .pdf files writing them in the output
32 * directory. 29 * directory.
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
298 return -1; 295 return -1;
299 } 296 }
300 #endif 297 #endif
301 return 0; 298 return 0;
302 } 299 }
303 #if !defined SK_BUILD_FOR_IOS 300 #if !defined SK_BUILD_FOR_IOS
304 int main(int argc, char * const argv[]) { 301 int main(int argc, char * const argv[]) {
305 return tool_main(argc, (char**) argv); 302 return tool_main(argc, (char**) argv);
306 } 303 }
307 #endif 304 #endif
OLDNEW
« no previous file with comments | « tools/filtermain.cpp ('k') | tools/skdiff_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698