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

Side by Side Diff: gm/points.cpp

Issue 867963004: remove unused GM flags (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: guarded flags Created 5 years, 11 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/pictureshadertile.cpp ('k') | gm/poly2poly.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 2011 Google Inc. 3 * Copyright 2011 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 #include "gm.h" 8 #include "gm.h"
9 #include "SkRandom.h" 9 #include "SkRandom.h"
10 10
11 namespace skiagm { 11 namespace skiagm {
12 12
13 class PointsGM : public GM { 13 class PointsGM : public GM {
14 public: 14 public:
15 PointsGM() {} 15 PointsGM() {}
16 16
17 protected: 17 protected:
18 uint32_t onGetFlags() const SK_OVERRIDE {
19 return kSkipTiled_Flag;
20 }
21 18
22 SkString onShortName() SK_OVERRIDE { 19 SkString onShortName() SK_OVERRIDE {
23 return SkString("points"); 20 return SkString("points");
24 } 21 }
25 22
26 SkISize onISize() SK_OVERRIDE { 23 SkISize onISize() SK_OVERRIDE {
27 return SkISize::Make(640, 490); 24 return SkISize::Make(640, 490);
28 } 25 }
29 26
30 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) { 27 static void fill_pts(SkPoint pts[], size_t n, SkRandom* rand) {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 private: 65 private:
69 typedef GM INHERITED; 66 typedef GM INHERITED;
70 }; 67 };
71 68
72 ////////////////////////////////////////////////////////////////////////////// 69 //////////////////////////////////////////////////////////////////////////////
73 70
74 static GM* MyFactory(void*) { return new PointsGM; } 71 static GM* MyFactory(void*) { return new PointsGM; }
75 static GMRegistry reg(MyFactory); 72 static GMRegistry reg(MyFactory);
76 73
77 } 74 }
OLDNEW
« no previous file with comments | « gm/pictureshadertile.cpp ('k') | gm/poly2poly.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698