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

Side by Side Diff: gm/pathreverse.cpp

Issue 256373002: Turn on quilt mode in DM. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 6 years, 7 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/pathopsskpclip.cpp ('k') | gm/pictureshader.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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 namespace skiagm { 63 namespace skiagm {
64 64
65 class PathReverseGM : public GM { 65 class PathReverseGM : public GM {
66 public: 66 public:
67 PathReverseGM() { 67 PathReverseGM() {
68 68
69 } 69 }
70 70
71 protected: 71 protected:
72 virtual uint32_t onGetFlags() const SK_OVERRIDE {
73 return kSkipTiled_Flag;
74 }
75
72 virtual SkString onShortName() { 76 virtual SkString onShortName() {
73 return SkString("path-reverse"); 77 return SkString("path-reverse");
74 } 78 }
75 79
76 virtual SkISize onISize() { 80 virtual SkISize onISize() {
77 return make_isize(640, 480); 81 return make_isize(640, 480);
78 } 82 }
79 83
80 virtual void onDraw(SkCanvas* canvas) { 84 virtual void onDraw(SkCanvas* canvas) {
81 if (false) test_rev(canvas); // avoid bit rot, suppress warning 85 if (false) test_rev(canvas); // avoid bit rot, suppress warning
(...skipping 28 matching lines...) Expand all
110 private: 114 private:
111 typedef GM INHERITED; 115 typedef GM INHERITED;
112 }; 116 };
113 117
114 ////////////////////////////////////////////////////////////////////////////// 118 //////////////////////////////////////////////////////////////////////////////
115 119
116 static GM* MyFactory(void*) { return new PathReverseGM; } 120 static GM* MyFactory(void*) { return new PathReverseGM; }
117 static GMRegistry reg(MyFactory); 121 static GMRegistry reg(MyFactory);
118 122
119 } 123 }
OLDNEW
« no previous file with comments | « gm/pathopsskpclip.cpp ('k') | gm/pictureshader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698