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

Side by Side Diff: gm/convexpolyclip.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 | « gm/convexpaths.cpp ('k') | gm/cubicpaths.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 /* 2 /*
3 * Copyright 2014 Google Inc. 3 * Copyright 2014 Google Inc.
4 * 4 *
5 * 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
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "gm.h" 9 #include "gm.h"
10 10
11 #include "SkBitmap.h" 11 #include "SkBitmap.h"
12 #include "SkGradientShader.h" 12 #include "SkGradientShader.h"
13 #include "SkPath.h"
13 #include "SkTLList.h" 14 #include "SkTLList.h"
14 15
15 static SkBitmap make_bmp(int w, int h) { 16 static SkBitmap make_bmp(int w, int h) {
16 SkBitmap bmp; 17 SkBitmap bmp;
17 bmp.allocN32Pixels(w, h, true); 18 bmp.allocN32Pixels(w, h, true);
18 19
19 SkCanvas canvas(bmp); 20 SkCanvas canvas(bmp);
20 SkScalar wScalar = SkIntToScalar(w); 21 SkScalar wScalar = SkIntToScalar(w);
21 SkScalar hScalar = SkIntToScalar(h); 22 SkScalar hScalar = SkIntToScalar(h);
22 23
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 293
293 SkTLList<Clip> fClips; 294 SkTLList<Clip> fClips;
294 SkBitmap fBmp; 295 SkBitmap fBmp;
295 296
296 typedef GM INHERITED; 297 typedef GM INHERITED;
297 }; 298 };
298 299
299 DEF_GM( return SkNEW(ConvexPolyClip); ) 300 DEF_GM( return SkNEW(ConvexPolyClip); )
300 301
301 } 302 }
OLDNEW
« no previous file with comments | « gm/convexpaths.cpp ('k') | gm/cubicpaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698