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

Side by Side Diff: src/pathops/SkOpContour.h

Issue 2237223002: pathops coincident work (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: remove unused code Created 4 years, 3 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 | « src/pathops/SkOpCoincidence.cpp ('k') | src/pathops/SkOpSegment.h » ('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 #ifndef SkOpContour_DEFINED 7 #ifndef SkOpContour_DEFINED
8 #define SkOpContour_DEFINED 8 #define SkOpContour_DEFINED
9 9
10 #include "SkOpSegment.h" 10 #include "SkOpSegment.h"
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 } 117 }
118 118
119 const SkOpCoincidence* debugCoincidence() const { 119 const SkOpCoincidence* debugCoincidence() const {
120 return this->globalState()->coincidence(); 120 return this->globalState()->coincidence();
121 } 121 }
122 122
123 #if DEBUG_COINCIDENCE_VERBOSE 123 #if DEBUG_COINCIDENCE_VERBOSE
124 void debugCheckHealth(const char* id, SkPathOpsDebug::GlitchLog* ) const; 124 void debugCheckHealth(const char* id, SkPathOpsDebug::GlitchLog* ) const;
125 #endif 125 #endif
126 126
127 SkOpContour* debugContour(int id) { 127 SkOpContour* debugContour(int id) const {
128 return SkDEBUGRELEASE(this->globalState()->debugContour(id), nullptr); 128 return SkDEBUGRELEASE(this->globalState()->debugContour(id), nullptr);
129 } 129 }
130 130
131 #if DEBUG_COINCIDENCE_VERBOSE 131 #if DEBUG_COINCIDENCE_VERBOSE
132 void debugMissingCoincidence(const char* id, SkPathOpsDebug::GlitchLog* log) const; 132 void debugMissingCoincidence(const char* id, SkPathOpsDebug::GlitchLog* log) const;
133 #endif 133 #endif
134 134
135 const SkOpPtT* debugPtT(int id) const { 135 const SkOpPtT* debugPtT(int id) const {
136 return SkDEBUGRELEASE(this->globalState()->debugPtT(id), nullptr); 136 return SkDEBUGRELEASE(this->globalState()->debugPtT(id), nullptr);
137 } 137 }
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 bool fXor; // set if original path had even-odd fill 412 bool fXor; // set if original path had even-odd fill
413 bool fOppXor; // set if opposite path had even-odd fill 413 bool fOppXor; // set if opposite path had even-odd fill
414 SkDEBUGCODE(int fID); 414 SkDEBUGCODE(int fID);
415 SkDEBUGCODE(mutable int fDebugIndent); 415 SkDEBUGCODE(mutable int fDebugIndent);
416 }; 416 };
417 417
418 class SkOpContourHead : public SkOpContour { 418 class SkOpContourHead : public SkOpContour {
419 }; 419 };
420 420
421 #endif 421 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkOpCoincidence.cpp ('k') | src/pathops/SkOpSegment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698