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

Side by Side Diff: gm/strokes.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 | « gm/stlouisarch.cpp ('k') | include/core/SkAnnotation.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 /*
2 * Copyright 2011 Google Inc. 3 * Copyright 2011 Google Inc.
3 * 4 *
4 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 6 * found in the LICENSE file.
6 */ 7 */
7 8
9
10
8 #include "gm.h" 11 #include "gm.h"
9 #include "SkPath.h"
10 #include "SkRandom.h" 12 #include "SkRandom.h"
11 13
12 #define W 400 14 #define W 400
13 #define H 400 15 #define H 400
14 #define N 50 16 #define N 50
15 17
16 static const SkScalar SW = SkIntToScalar(W); 18 static const SkScalar SW = SkIntToScalar(W);
17 static const SkScalar SH = SkIntToScalar(H); 19 static const SkScalar SH = SkIntToScalar(H);
18 20
19 static void rnd_rect(SkRect* r, SkPaint* paint, SkRandom& rand) { 21 static void rnd_rect(SkRect* r, SkPaint* paint, SkRandom& rand) {
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 273
272 static skiagm::GM* F0(void*) { return new StrokesGM; } 274 static skiagm::GM* F0(void*) { return new StrokesGM; }
273 static skiagm::GM* F1(void*) { return new Strokes2GM; } 275 static skiagm::GM* F1(void*) { return new Strokes2GM; }
274 static skiagm::GM* F2(void*) { return new Strokes3GM; } 276 static skiagm::GM* F2(void*) { return new Strokes3GM; }
275 static skiagm::GM* F3(void*) { return new Strokes4GM; } 277 static skiagm::GM* F3(void*) { return new Strokes4GM; }
276 278
277 static skiagm::GMRegistry R0(F0); 279 static skiagm::GMRegistry R0(F0);
278 static skiagm::GMRegistry R1(F1); 280 static skiagm::GMRegistry R1(F1);
279 static skiagm::GMRegistry R2(F2); 281 static skiagm::GMRegistry R2(F2);
280 static skiagm::GMRegistry R3(F3); 282 static skiagm::GMRegistry R3(F3);
OLDNEW
« no previous file with comments | « gm/stlouisarch.cpp ('k') | include/core/SkAnnotation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698