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

Side by Side Diff: tools/render_pictures_main.cpp

Issue 243173002: Staging for cleanup of SkPicture-related headers (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Add crucial newline at end of file Created 6 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « tools/filtermain.cpp ('k') | tools/skpmaker.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 "LazyDecodeBitmap.h" 8 #include "LazyDecodeBitmap.h"
9 #include "CopyTilesRenderer.h" 9 #include "CopyTilesRenderer.h"
10 #include "SkBitmap.h" 10 #include "SkBitmap.h"
11 #include "SkDevice.h" 11 #include "SkDevice.h"
12 #include "SkCommandLineFlags.h" 12 #include "SkCommandLineFlags.h"
13 #include "SkGraphics.h" 13 #include "SkGraphics.h"
14 #include "SkImageDecoder.h" 14 #include "SkImageDecoder.h"
15 #include "SkImageEncoder.h" 15 #include "SkImageEncoder.h"
16 #include "SkMath.h" 16 #include "SkMath.h"
17 #include "SkOSFile.h" 17 #include "SkOSFile.h"
18 #include "SkPicture.h" 18 #include "SkPicture.h"
19 #include "SkPictureRecorder.h"
19 #include "SkStream.h" 20 #include "SkStream.h"
20 #include "SkString.h" 21 #include "SkString.h"
21 #include "PictureRenderer.h" 22 #include "PictureRenderer.h"
22 #include "PictureRenderingFlags.h" 23 #include "PictureRenderingFlags.h"
23 #include "picture_utils.h" 24 #include "picture_utils.h"
24 25
25 // Flags used by this file, alphabetically: 26 // Flags used by this file, alphabetically:
26 DEFINE_int32(clone, 0, "Clone the picture n times before rendering."); 27 DEFINE_int32(clone, 0, "Clone the picture n times before rendering.");
27 DECLARE_bool(deferImageDecoding); 28 DECLARE_bool(deferImageDecoding);
28 DEFINE_int32(maxComponentDiff, 256, "Maximum diff on a component, 0 - 256. Compo nents that differ " 29 DEFINE_int32(maxComponentDiff, 256, "Maximum diff on a component, 0 - 256. Compo nents that differ "
(...skipping 450 matching lines...) Expand 10 before | Expand all | Expand 10 after
479 jsonSummary.writeToFile(FLAGS_writeJsonSummaryPath[0]); 480 jsonSummary.writeToFile(FLAGS_writeJsonSummaryPath[0]);
480 } 481 }
481 return 0; 482 return 0;
482 } 483 }
483 484
484 #if !defined SK_BUILD_FOR_IOS 485 #if !defined SK_BUILD_FOR_IOS
485 int main(int argc, char * const argv[]) { 486 int main(int argc, char * const argv[]) {
486 return tool_main(argc, (char**) argv); 487 return tool_main(argc, (char**) argv);
487 } 488 }
488 #endif 489 #endif
OLDNEW
« no previous file with comments | « tools/filtermain.cpp ('k') | tools/skpmaker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698