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

Side by Side Diff: bench/AlternatingColorPatternBench.cpp

Issue 1273613002: Revert of IWYU: 'core' target, files starting A-C. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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"
13 #include "SkString.h" 12 #include "SkString.h"
14 13
15 enum ColorPattern { 14 enum ColorPattern {
16 kWhite_ColorPattern, 15 kWhite_ColorPattern,
17 kBlue_ColorPattern, 16 kBlue_ColorPattern,
18 kOpaqueBitmap_ColorPattern, 17 kOpaqueBitmap_ColorPattern,
19 kAlphaBitmap_ColorPattern, 18 kAlphaBitmap_ColorPattern,
20 }; 19 };
21 20
22 static const struct ColorPatternData{ 21 static const struct ColorPatternData{
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, 191 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench,
193 (kOpaqueBitmap_ColorPattern, kOpaqueBitmap_ColorPat tern, 192 (kOpaqueBitmap_ColorPattern, kOpaqueBitmap_ColorPat tern,
194 kRect_DrawType)); ) 193 kRect_DrawType)); )
195 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, 194 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench,
196 (kAlphaBitmap_ColorPattern, kAlphaBitmap_ColorPatte rn, 195 (kAlphaBitmap_ColorPattern, kAlphaBitmap_ColorPatte rn,
197 kRect_DrawType)); ) 196 kRect_DrawType)); )
198 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench, 197 DEF_BENCH( return SkNEW_ARGS(AlternatingColorPatternBench,
199 (kOpaqueBitmap_ColorPattern, kAlphaBitmap_ColorPatt ern, 198 (kOpaqueBitmap_ColorPattern, kAlphaBitmap_ColorPatt ern,
200 kRect_DrawType)); ) 199 kRect_DrawType)); )
201 200
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