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

Side by Side Diff: tools/bench_pictures_main.cpp

Issue 15806010: Separate core and images project. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Change FORCE_LINKING to be more specific. Created 7 years, 6 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 | « src/ports/SkImageDecoder_empty.cpp ('k') | tools/filtermain.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 "BenchTimer.h" 8 #include "BenchTimer.h"
9 #include "CopyTilesRenderer.h" 9 #include "CopyTilesRenderer.h"
10 #include "PictureBenchmark.h" 10 #include "PictureBenchmark.h"
11 #include "PictureRenderingFlags.h" 11 #include "PictureRenderingFlags.h"
12 #include "SkBenchLogger.h" 12 #include "SkBenchLogger.h"
13 #include "SkCommandLineFlags.h" 13 #include "SkCommandLineFlags.h"
14 #include "SkForceLinking.h"
14 #include "SkGraphics.h" 15 #include "SkGraphics.h"
15 #include "SkImageDecoder.h" 16 #include "SkImageDecoder.h"
16 #if LAZY_CACHE_STATS 17 #if LAZY_CACHE_STATS
17 #include "SkLazyPixelRef.h" 18 #include "SkLazyPixelRef.h"
18 #endif 19 #endif
19 #include "SkLruImageCache.h" 20 #include "SkLruImageCache.h"
20 #include "SkMath.h" 21 #include "SkMath.h"
21 #include "SkOSFile.h" 22 #include "SkOSFile.h"
22 #include "SkPicture.h" 23 #include "SkPicture.h"
23 #include "SkStream.h" 24 #include "SkStream.h"
24 #include "picture_utils.h" 25 #include "picture_utils.h"
25 26
27 __SK_FORCE_IMAGE_DECODER_LINKING;
26 28
27 SkBenchLogger gLogger; 29 SkBenchLogger gLogger;
28 30
29 // Flags used by this file, in alphabetical order. 31 // Flags used by this file, in alphabetical order.
30 DEFINE_bool(countRAM, false, "Count the RAM used for bitmap pixels in each skp f ile"); 32 DEFINE_bool(countRAM, false, "Count the RAM used for bitmap pixels in each skp f ile");
31 DECLARE_bool(deferImageDecoding); 33 DECLARE_bool(deferImageDecoding);
32 DEFINE_string(filter, "", 34 DEFINE_string(filter, "",
33 "type:flag : Enable canvas filtering to disable a paint flag, " 35 "type:flag : Enable canvas filtering to disable a paint flag, "
34 "use no blur or low quality blur, or use no hinting or " 36 "use no blur or low quality blur, or use no hinting or "
35 "slight hinting. For all flags except AAClip, specify the " 37 "slight hinting. For all flags except AAClip, specify the "
(...skipping 404 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 } 442 }
441 #endif 443 #endif
442 return 0; 444 return 0;
443 } 445 }
444 446
445 #if !defined SK_BUILD_FOR_IOS 447 #if !defined SK_BUILD_FOR_IOS
446 int main(int argc, char * const argv[]) { 448 int main(int argc, char * const argv[]) {
447 return tool_main(argc, (char**) argv); 449 return tool_main(argc, (char**) argv);
448 } 450 }
449 #endif 451 #endif
OLDNEW
« no previous file with comments | « src/ports/SkImageDecoder_empty.cpp ('k') | tools/filtermain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698