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

Side by Side Diff: tools/VisualBench/VisualLightweightBenchModule.cpp

Issue 1760583003: Remove unused tools and unused includes of SkImageDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « tools/VisualBench/VisualInteractiveModule.cpp ('k') | tools/find_bad_images_in_skps.py » ('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 2015 Google Inc. 2 * Copyright 2015 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 "VisualLightweightBenchModule.h" 8 #include "VisualLightweightBenchModule.h"
9 9
10 #include "ProcStats.h" 10 #include "ProcStats.h"
11 #include "SkApplication.h" 11 #include "SkApplication.h"
12 #include "SkCanvas.h" 12 #include "SkCanvas.h"
13 #include "SkCommandLineFlags.h" 13 #include "SkCommandLineFlags.h"
14 #include "SkForceLinking.h"
15 #include "SkGraphics.h" 14 #include "SkGraphics.h"
16 #include "SkGr.h" 15 #include "SkGr.h"
17 #include "SkImageDecoder.h"
18 #include "SkOSFile.h" 16 #include "SkOSFile.h"
19 #include "SkStream.h" 17 #include "SkStream.h"
20 #include "Stats.h" 18 #include "Stats.h"
21 #include "gl/GrGLInterface.h" 19 #include "gl/GrGLInterface.h"
22 20
23 __SK_FORCE_IMAGE_DECODER_LINKING;
24
25 // Between samples we reset context 21 // Between samples we reset context
26 // Between frames we swap buffers 22 // Between frames we swap buffers
27 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver."); 23 DEFINE_bool2(verbose, v, false, "enable verbose output from the test driver.");
28 DEFINE_string(outResultsFile, "", "If given, write results here as JSON."); 24 DEFINE_string(outResultsFile, "", "If given, write results here as JSON.");
29 DEFINE_string(key, "", 25 DEFINE_string(key, "",
30 "Space-separated key/value pairs to add to JSON identifying this b uilder."); 26 "Space-separated key/value pairs to add to JSON identifying this b uilder.");
31 DEFINE_string(properties, "", 27 DEFINE_string(properties, "",
32 "Space-separated key/value pairs to add to JSON identifying this r un."); 28 "Space-separated key/value pairs to add to JSON identifying this r un.");
33 DEFINE_int32(samples, 10, "Number of times to time each skp."); 29 DEFINE_int32(samples, 10, "Number of times to time each skp.");
34 30
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 fRecords.push_back(); 143 fRecords.push_back();
148 fCurrentSample = 0; 144 fCurrentSample = 0;
149 return true; 145 return true;
150 } 146 }
151 return false; 147 return false;
152 } 148 }
153 149
154 bool VisualLightweightBenchModule::onHandleChar(SkUnichar c) { 150 bool VisualLightweightBenchModule::onHandleChar(SkUnichar c) {
155 return true; 151 return true;
156 } 152 }
OLDNEW
« no previous file with comments | « tools/VisualBench/VisualInteractiveModule.cpp ('k') | tools/find_bad_images_in_skps.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698