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

Side by Side Diff: bench/AlternatingColorPatternBench.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 | « no previous file | bench/BezierBench.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 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 "Benchmark.h" 8 #include "Benchmark.h"
9 #include "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkGradientShader.h" 10 #include "SkGradientShader.h"
11 #include "SkPaint.h" 11 #include "SkPaint.h"
12 #include "SkPath.h"
12 #include "SkString.h" 13 #include "SkString.h"
13 14
14 enum ColorPattern { 15 enum ColorPattern {
15 kWhite_ColorPattern, 16 kWhite_ColorPattern,
16 kBlue_ColorPattern, 17 kBlue_ColorPattern,
17 kOpaqueBitmap_ColorPattern, 18 kOpaqueBitmap_ColorPattern,
18 kAlphaBitmap_ColorPattern, 19 kAlphaBitmap_ColorPattern,
19 }; 20 };
20 21
21 static const struct ColorPatternData{ 22 static const struct ColorPatternData{
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, 192 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench,
192 (kOpaqueBitmap_ColorPattern, kOpaqueBitmap_ColorPat tern, 193 (kOpaqueBitmap_ColorPattern, kOpaqueBitmap_ColorPat tern,
193 kRect_DrawType)); ) 194 kRect_DrawType)); )
194 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, 195 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench,
195 (kAlphaBitmap_ColorPattern, kAlphaBitmap_ColorPatte rn, 196 (kAlphaBitmap_ColorPattern, kAlphaBitmap_ColorPatte rn,
196 kRect_DrawType)); ) 197 kRect_DrawType)); )
197 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, 198 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench,
198 (kOpaqueBitmap_ColorPattern, kAlphaBitmap_ColorPatt ern, 199 (kOpaqueBitmap_ColorPattern, kAlphaBitmap_ColorPatt ern,
199 kRect_DrawType)); ) 200 kRect_DrawType)); )
200 201
OLDNEW
« no previous file with comments | « no previous file | bench/BezierBench.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698