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

Side by Side Diff: gm/fatpathfill.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/factory.cpp ('k') | gm/filltypes.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 2012 Google Inc. 2 * Copyright 2012 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 } 49 }
50 50
51 draw_pixel_centers(canvas); 51 draw_pixel_centers(canvas);
52 } 52 }
53 53
54 class FatPathFillGM : public skiagm::GM { 54 class FatPathFillGM : public skiagm::GM {
55 public: 55 public:
56 FatPathFillGM() {} 56 FatPathFillGM() {}
57 57
58 protected: 58 protected:
59 uint32_t onGetFlags() const SK_OVERRIDE {
60 return kSkipTiled_Flag;
61 }
62 59
63 virtual SkString onShortName() { 60 virtual SkString onShortName() {
64 return SkString("fatpathfill"); 61 return SkString("fatpathfill");
65 } 62 }
66 63
67 virtual SkISize onISize() { 64 virtual SkISize onISize() {
68 return SkISize::Make(SMALL_W * ZOOM, SMALL_H * ZOOM * REPEAT_LOOP); 65 return SkISize::Make(SMALL_W * ZOOM, SMALL_H * ZOOM * REPEAT_LOOP);
69 } 66 }
70 67
71 virtual void onDraw(SkCanvas* canvas) { 68 virtual void onDraw(SkCanvas* canvas) {
(...skipping 16 matching lines...) Expand all
88 } 85 }
89 } 86 }
90 87
91 private: 88 private:
92 typedef skiagm::GM INHERITED; 89 typedef skiagm::GM INHERITED;
93 }; 90 };
94 91
95 /////////////////////////////////////////////////////////////////////////////// 92 ///////////////////////////////////////////////////////////////////////////////
96 93
97 DEF_GM(return new FatPathFillGM;) 94 DEF_GM(return new FatPathFillGM;)
OLDNEW
« no previous file with comments | « gm/factory.cpp ('k') | gm/filltypes.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698