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

Side by Side Diff: gm/convexpaths.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/composeshader.cpp ('k') | gm/convexpolyclip.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 #include "SkTArray.h" 10 #include "SkTArray.h"
(...skipping 16 matching lines...) Expand all
27 namespace skiagm { 27 namespace skiagm {
28 28
29 class ConvexPathsGM : public GM { 29 class ConvexPathsGM : public GM {
30 SkDoOnce fOnce; 30 SkDoOnce fOnce;
31 public: 31 public:
32 ConvexPathsGM() { 32 ConvexPathsGM() {
33 this->setBGColor(0xFF000000); 33 this->setBGColor(0xFF000000);
34 } 34 }
35 35
36 protected: 36 protected:
37 virtual uint32_t onGetFlags() const SK_OVERRIDE {
38 return kSkipTiled_Flag;
39 }
40
37 virtual SkString onShortName() { 41 virtual SkString onShortName() {
38 return SkString("convexpaths"); 42 return SkString("convexpaths");
39 } 43 }
40 44
41 45
42 virtual SkISize onISize() { 46 virtual SkISize onISize() {
43 return make_isize(1200, 1100); 47 return make_isize(1200, 1100);
44 } 48 }
45 49
46 void makePaths() { 50 void makePaths() {
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
288 typedef GM INHERITED; 292 typedef GM INHERITED;
289 SkTArray<SkPath> fPaths; 293 SkTArray<SkPath> fPaths;
290 }; 294 };
291 295
292 ////////////////////////////////////////////////////////////////////////////// 296 //////////////////////////////////////////////////////////////////////////////
293 297
294 static GM* MyFactory(void*) { return new ConvexPathsGM; } 298 static GM* MyFactory(void*) { return new ConvexPathsGM; }
295 static GMRegistry reg(MyFactory); 299 static GMRegistry reg(MyFactory);
296 300
297 } 301 }
OLDNEW
« no previous file with comments | « gm/composeshader.cpp ('k') | gm/convexpolyclip.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698