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

Side by Side Diff: tools/bbh_shootout.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/LazyDecodeBitmap.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 2013 Google Inc. 2 * Copyright 2013 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 "Timer.h" 8 #include "Timer.h"
9 #include "Benchmark.h" 9 #include "Benchmark.h"
10 #include "LazyDecodeBitmap.h" 10 #include "LazyDecodeBitmap.h"
11 #include "PictureBenchmark.h" 11 #include "PictureBenchmark.h"
12 #include "PictureRenderer.h" 12 #include "PictureRenderer.h"
13 #include "SkCommandLineFlags.h" 13 #include "SkCommandLineFlags.h"
14 #include "SkForceLinking.h"
15 #include "SkGraphics.h" 14 #include "SkGraphics.h"
16 #include "SkStream.h" 15 #include "SkStream.h"
17 #include "SkString.h" 16 #include "SkString.h"
18 #include "SkTArray.h" 17 #include "SkTArray.h"
19 18
20 typedef sk_tools::PictureRenderer::BBoxHierarchyType BBoxType; 19 typedef sk_tools::PictureRenderer::BBoxHierarchyType BBoxType;
21 static const int kBBoxTypeCount = sk_tools::PictureRenderer::kLast_BBoxHierarchy Type + 1; 20 static const int kBBoxTypeCount = sk_tools::PictureRenderer::kLast_BBoxHierarchy Type + 1;
22 21
23 22
24 DEFINE_string2(skps, r, "", "The list of SKPs to benchmark."); 23 DEFINE_string2(skps, r, "", "The list of SKPs to benchmark.");
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 } 193 }
195 SkDebugf("\nWrote data to gnuplot-readable files: %s %s\n", pbTitle, recTitl e); 194 SkDebugf("\nWrote data to gnuplot-readable files: %s %s\n", pbTitle, recTitl e);
196 return 0; 195 return 0;
197 } 196 }
198 197
199 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL) 198 #if !defined(SK_BUILD_FOR_IOS) && !defined(SK_BUILD_FOR_NACL)
200 int main(int argc, char** argv) { 199 int main(int argc, char** argv) {
201 return tool_main(argc, argv); 200 return tool_main(argc, argv);
202 } 201 }
203 #endif 202 #endif
OLDNEW
« no previous file with comments | « tools/LazyDecodeBitmap.cpp ('k') | tools/filtermain.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698