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

Side by Side Diff: gm/pathreverse.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/pathfill.cpp ('k') | gm/peekpixels.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 2011 Google Inc. 2 * Copyright 2011 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 "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkPath.h" 10 #include "SkPath.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 namespace skiagm { 62 namespace skiagm {
63 63
64 class PathReverseGM : public GM { 64 class PathReverseGM : public GM {
65 public: 65 public:
66 PathReverseGM() { 66 PathReverseGM() {
67 67
68 } 68 }
69 69
70 protected: 70 protected:
71 uint32_t onGetFlags() const SK_OVERRIDE {
72 return kSkipTiled_Flag;
73 }
74 71
75 SkString onShortName() SK_OVERRIDE { 72 SkString onShortName() SK_OVERRIDE {
76 return SkString("path-reverse"); 73 return SkString("path-reverse");
77 } 74 }
78 75
79 SkISize onISize() SK_OVERRIDE { 76 SkISize onISize() SK_OVERRIDE {
80 return SkISize::Make(640, 480); 77 return SkISize::Make(640, 480);
81 } 78 }
82 79
83 void onDraw(SkCanvas* canvas) SK_OVERRIDE { 80 void onDraw(SkCanvas* canvas) SK_OVERRIDE {
(...skipping 28 matching lines...) Expand all
112 private: 109 private:
113 typedef GM INHERITED; 110 typedef GM INHERITED;
114 }; 111 };
115 112
116 ////////////////////////////////////////////////////////////////////////////// 113 //////////////////////////////////////////////////////////////////////////////
117 114
118 static GM* MyFactory(void*) { return new PathReverseGM; } 115 static GM* MyFactory(void*) { return new PathReverseGM; }
119 static GMRegistry reg(MyFactory); 116 static GMRegistry reg(MyFactory);
120 117
121 } 118 }
OLDNEW
« no previous file with comments | « gm/pathfill.cpp ('k') | gm/peekpixels.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698