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

Side by Side Diff: gm/hittestpath.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/hairmodes.cpp ('k') | gm/imageblur.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 "SkCullPoints.h" 10 #include "SkCullPoints.h"
(...skipping 16 matching lines...) Expand all
27 } 27 }
28 } 28 }
29 } 29 }
30 } 30 }
31 31
32 class HitTestPathGM : public skiagm::GM { 32 class HitTestPathGM : public skiagm::GM {
33 public: 33 public:
34 HitTestPathGM () {} 34 HitTestPathGM () {}
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("hittestpath"); 42 return SkString("hittestpath");
39 } 43 }
40 44
41 virtual SkISize onISize() { return SkISize::Make(700, 460); } 45 virtual SkISize onISize() { return SkISize::Make(700, 460); }
42 46
43 virtual void onDraw(SkCanvas* canvas) { 47 virtual void onDraw(SkCanvas* canvas) {
44 SkPath path; 48 SkPath path;
45 SkLCGRandom rand; 49 SkLCGRandom rand;
46 50
(...skipping 19 matching lines...) Expand all
66 } 70 }
67 71
68 private: 72 private:
69 typedef GM INHERITED; 73 typedef GM INHERITED;
70 }; 74 };
71 75
72 ////////////////////////////////////////////////////////////////////////////// 76 //////////////////////////////////////////////////////////////////////////////
73 77
74 static skiagm::GM* MyFactory(void*) { return new HitTestPathGM; } 78 static skiagm::GM* MyFactory(void*) { return new HitTestPathGM; }
75 static skiagm::GMRegistry reg(MyFactory); 79 static skiagm::GMRegistry reg(MyFactory);
OLDNEW
« no previous file with comments | « gm/hairmodes.cpp ('k') | gm/imageblur.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698