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

Side by Side Diff: bench/HairlinePathBench.cpp

Issue 1265033002: IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Rebase (a file was deleted). Created 5 years, 4 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 | « bench/ChartBench.cpp ('k') | bench/PathBench.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 "Benchmark.h" 8 #include "Benchmark.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkPaint.h" 10 #include "SkPaint.h"
11 #include "SkPath.h"
11 #include "SkRandom.h" 12 #include "SkRandom.h"
12 #include "SkShader.h" 13 #include "SkShader.h"
13 #include "SkString.h" 14 #include "SkString.h"
14 15
15 enum Flags { 16 enum Flags {
16 kBig_Flag = 1 << 0, 17 kBig_Flag = 1 << 0,
17 kAA_Flag = 1 << 1 18 kAA_Flag = 1 << 1
18 }; 19 };
19 20
20 #define FLAGS00 Flags(0) 21 #define FLAGS00 Flags(0)
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 // Don't have default path renderer for conics yet on GPU, so must use AA 231 // Don't have default path renderer for conics yet on GPU, so must use AA
231 // DEF_BENCH( return new ConicPathBench(FLAGS00); ) 232 // DEF_BENCH( return new ConicPathBench(FLAGS00); )
232 // DEF_BENCH( return new ConicPathBench(FLAGS01); ) 233 // DEF_BENCH( return new ConicPathBench(FLAGS01); )
233 DEF_BENCH( return new ConicPathBench(FLAGS10); ) 234 DEF_BENCH( return new ConicPathBench(FLAGS10); )
234 DEF_BENCH( return new ConicPathBench(FLAGS11); ) 235 DEF_BENCH( return new ConicPathBench(FLAGS11); )
235 236
236 DEF_BENCH( return new CubicPathBench(FLAGS00); ) 237 DEF_BENCH( return new CubicPathBench(FLAGS00); )
237 DEF_BENCH( return new CubicPathBench(FLAGS01); ) 238 DEF_BENCH( return new CubicPathBench(FLAGS01); )
238 DEF_BENCH( return new CubicPathBench(FLAGS10); ) 239 DEF_BENCH( return new CubicPathBench(FLAGS10); )
239 DEF_BENCH( return new CubicPathBench(FLAGS11); ) 240 DEF_BENCH( return new CubicPathBench(FLAGS11); )
OLDNEW
« no previous file with comments | « bench/ChartBench.cpp ('k') | bench/PathBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698