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

Side by Side Diff: gm/conicpaths.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/complexclip3.cpp ('k') | gm/convexpaths.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 "SkTArray.h" 10 #include "SkTArray.h"
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 canvas->translate(110, 0); 99 canvas->translate(110, 0);
100 } 100 }
101 } 101 }
102 } 102 }
103 canvas->restore(); 103 canvas->restore();
104 canvas->translate(0, 110); 104 canvas->translate(0, 110);
105 } 105 }
106 canvas->restore(); 106 canvas->restore();
107 } 107 }
108 108
109 uint32_t onGetFlags() const SK_OVERRIDE {
110 // tiling w/ non-antialias paths can cause off-by-1-pixels differences w hich are
111 // unavoidable (chopping in floats -vs- stepping in scan-converter).
112 return kSkipTiled_Flag;
113 }
114
115 private: 109 private:
116 SkTArray<SkPath> fPaths; 110 SkTArray<SkPath> fPaths;
117 typedef skiagm::GM INHERITED; 111 typedef skiagm::GM INHERITED;
118 }; 112 };
119 DEF_GM( return SkNEW(ConicPathsGM); ) 113 DEF_GM( return SkNEW(ConicPathsGM); )
120 114
121 ////////////////////////////////////////////////////////////////////////////// 115 //////////////////////////////////////////////////////////////////////////////
122 116
OLDNEW
« no previous file with comments | « gm/complexclip3.cpp ('k') | gm/convexpaths.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698