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

Side by Side Diff: bench/nanobench.cpp

Issue 656503003: Move SkImage::encode to SkImageEncoder (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 2 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 | « no previous file | include/core/SkImage.h » ('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 2014 Google Inc. 2 * Copyright 2014 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 <ctype.h> 8 #include <ctype.h>
9 9
10 #include "Benchmark.h" 10 #include "Benchmark.h"
11 #include "CrashHandler.h" 11 #include "CrashHandler.h"
12 #include "GMBench.h" 12 #include "GMBench.h"
13 #include "ProcStats.h" 13 #include "ProcStats.h"
14 #include "ResultsWriter.h" 14 #include "ResultsWriter.h"
15 #include "RecordingBench.h" 15 #include "RecordingBench.h"
16 #include "SKPBench.h" 16 #include "SKPBench.h"
17 #include "Stats.h" 17 #include "Stats.h"
18 #include "Timer.h" 18 #include "Timer.h"
19 19
20 #include "SkBBHFactory.h" 20 #include "SkBBHFactory.h"
21 #include "SkCanvas.h" 21 #include "SkCanvas.h"
22 #include "SkCommonFlags.h" 22 #include "SkCommonFlags.h"
23 #include "SkForceLinking.h" 23 #include "SkForceLinking.h"
24 #include "SkGraphics.h" 24 #include "SkGraphics.h"
25 #include "SkImageEncoder.h"
25 #include "SkOSFile.h" 26 #include "SkOSFile.h"
26 #include "SkPictureRecorder.h" 27 #include "SkPictureRecorder.h"
27 #include "SkString.h" 28 #include "SkString.h"
28 #include "SkSurface.h" 29 #include "SkSurface.h"
29 30
30 #if SK_SUPPORT_GPU 31 #if SK_SUPPORT_GPU
31 #include "gl/GrGLDefines.h" 32 #include "gl/GrGLDefines.h"
32 #include "GrContextFactory.h" 33 #include "GrContextFactory.h"
33 SkAutoTDelete<GrContextFactory> gGrFactory; 34 SkAutoTDelete<GrContextFactory> gGrFactory;
34 #endif 35 #endif
(...skipping 699 matching lines...) Expand 10 before | Expand all | Expand 10 after
734 735
735 return 0; 736 return 0;
736 } 737 }
737 738
738 #if !defined SK_BUILD_FOR_IOS 739 #if !defined SK_BUILD_FOR_IOS
739 int main(int argc, char** argv) { 740 int main(int argc, char** argv) {
740 SkCommandLineFlags::Parse(argc, argv); 741 SkCommandLineFlags::Parse(argc, argv);
741 return nanobench_main(); 742 return nanobench_main();
742 } 743 }
743 #endif 744 #endif
OLDNEW
« no previous file with comments | « no previous file | include/core/SkImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698