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

Side by Side Diff: gm/nonclosedpaths.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/nested.cpp ('k') | gm/ovals.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 "SkCanvas.h" 9 #include "SkCanvas.h"
10 #include "SkPath.h" 10 #include "SkPath.h"
(...skipping 14 matching lines...) Expand all
25 FakeCloseCorner, // The last point coincides with the first one at a c orner. 25 FakeCloseCorner, // The last point coincides with the first one at a c orner.
26 // The path looks closed, but final rendering has 2 e nds with cap. 26 // The path looks closed, but final rendering has 2 e nds with cap.
27 27
28 FakeCloseMiddle, // The last point coincides with the first one in the middle of a line. 28 FakeCloseMiddle, // The last point coincides with the first one in the middle of a line.
29 // The path looks closed, and the final rendering loo ks closed too. 29 // The path looks closed, and the final rendering loo ks closed too.
30 30
31 kClosureTypeCount 31 kClosureTypeCount
32 }; 32 };
33 33
34 protected: 34 protected:
35 uint32_t onGetFlags() const SK_OVERRIDE {
36 return kSkipTiled_Flag;
37 }
38 35
39 SkString onShortName() SK_OVERRIDE { 36 SkString onShortName() SK_OVERRIDE {
40 return SkString("nonclosedpaths"); 37 return SkString("nonclosedpaths");
41 } 38 }
42 39
43 // 12 * 18 + 3 cases, every case is 100 * 100 pixels. 40 // 12 * 18 + 3 cases, every case is 100 * 100 pixels.
44 SkISize onISize() SK_OVERRIDE { 41 SkISize onISize() SK_OVERRIDE {
45 return SkISize::Make(1220, 1920); 42 return SkISize::Make(1220, 1920);
46 } 43 }
47 44
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 137
141 private: 138 private:
142 typedef GM INHERITED; 139 typedef GM INHERITED;
143 }; 140 };
144 141
145 ////////////////////////////////////////////////////////////////////////////// 142 //////////////////////////////////////////////////////////////////////////////
146 143
147 DEF_GM(return new NonClosedPathsGM;) 144 DEF_GM(return new NonClosedPathsGM;)
148 145
149 } 146 }
OLDNEW
« no previous file with comments | « gm/nested.cpp ('k') | gm/ovals.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698