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

Side by Side Diff: gm/convexpolyclip.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/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"
14 #include "SkTLList.h" 13 #include "SkTLList.h"
15 14
16 static SkBitmap make_bmp(int w, int h) { 15 static SkBitmap make_bmp(int w, int h) {
17 SkBitmap bmp; 16 SkBitmap bmp;
18 bmp.allocN32Pixels(w, h, true); 17 bmp.allocN32Pixels(w, h, true);
19 18
20 SkCanvas canvas(bmp); 19 SkCanvas canvas(bmp);
21 SkScalar wScalar = SkIntToScalar(w); 20 SkScalar wScalar = SkIntToScalar(w);
22 SkScalar hScalar = SkIntToScalar(h); 21 SkScalar hScalar = SkIntToScalar(h);
23 22
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
293 292
294 SkTLList<Clip> fClips; 293 SkTLList<Clip> fClips;
295 SkBitmap fBmp; 294 SkBitmap fBmp;
296 295
297 typedef GM INHERITED; 296 typedef GM INHERITED;
298 }; 297 };
299 298
300 DEF_GM( return SkNEW(ConvexPolyClip); ) 299 DEF_GM( return SkNEW(ConvexPolyClip); )
301 300
302 } 301 }
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