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

Side by Side Diff: gm/ovals.cpp

Issue 2209533004: spin off easy stuff from Herb's windows GN CL (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 4 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/circles.cpp ('k') | gm/rects.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 2013 Google Inc. 2 * Copyright 2013 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 "gm.h" 8 #include "gm.h"
9 #include "SkTArray.h" 9 #include "SkTArray.h"
10 #include "SkRandom.h" 10 #include "SkRandom.h"
11 #include "SkMatrix.h" 11 #include "SkMatrix.h"
12 #include "SkBlurMaskFilter.h" 12 #include "SkBlurMaskFilter.h"
13 #include "SkColorFilter.h"
13 #include "SkGradientShader.h" 14 #include "SkGradientShader.h"
14 #include "SkBlurDrawLooper.h" 15 #include "SkBlurDrawLooper.h"
15 #include "SkRect.h" 16 #include "SkRect.h"
16 17
17 namespace skiagm { 18 namespace skiagm {
18 19
19 class OvalGM : public GM { 20 class OvalGM : public GM {
20 public: 21 public:
21 OvalGM() { 22 OvalGM() {
22 this->setBGColor(0xFF000000); 23 this->setBGColor(0xFF000000);
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
274 275
275 typedef GM INHERITED; 276 typedef GM INHERITED;
276 }; 277 };
277 278
278 ////////////////////////////////////////////////////////////////////////////// 279 //////////////////////////////////////////////////////////////////////////////
279 280
280 static GM* MyFactory(void*) { return new OvalGM; } 281 static GM* MyFactory(void*) { return new OvalGM; }
281 static GMRegistry reg(MyFactory); 282 static GMRegistry reg(MyFactory);
282 283
283 } 284 }
OLDNEW
« no previous file with comments | « gm/circles.cpp ('k') | gm/rects.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698