| OLD | NEW |
| 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 SkOpCoincidence_DEFINED | 7 #ifndef SkOpCoincidence_DEFINED |
| 8 #define SkOpCoincidence_DEFINED | 8 #define SkOpCoincidence_DEFINED |
| 9 | 9 |
| 10 #include "SkTDArray.h" | 10 #include "SkTDArray.h" |
| (...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 void debugAddOrOverlap(const char* id, SkPathOpsDebug::GlitchLog* log, | 161 void debugAddOrOverlap(const char* id, SkPathOpsDebug::GlitchLog* log, |
| 162 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg
, | 162 const SkOpSegment* coinSeg, const SkOpSegment* oppSeg
, |
| 163 double coinTs, double coinTe, double oppTs, double op
pTe, | 163 double coinTs, double coinTe, double oppTs, double op
pTe, |
| 164 bool* added) const; | 164 bool* added) const; |
| 165 #endif | 165 #endif |
| 166 | 166 |
| 167 const SkOpAngle* debugAngle(int id) const { | 167 const SkOpAngle* debugAngle(int id) const { |
| 168 return SkDEBUGRELEASE(fGlobalState->debugAngle(id), nullptr); | 168 return SkDEBUGRELEASE(fGlobalState->debugAngle(id), nullptr); |
| 169 } | 169 } |
| 170 | 170 |
| 171 void debugCheckBetween() const; |
| 172 |
| 171 #if DEBUG_COINCIDENCE_VERBOSE | 173 #if DEBUG_COINCIDENCE_VERBOSE |
| 172 void debugCheckValid(const char* id, SkPathOpsDebug::GlitchLog* log) const; | 174 void debugCheckValid(const char* id, SkPathOpsDebug::GlitchLog* log) const; |
| 173 #endif | 175 #endif |
| 174 | 176 |
| 175 SkOpContour* debugContour(int id) const { | 177 SkOpContour* debugContour(int id) const { |
| 176 return SkDEBUGRELEASE(fGlobalState->debugContour(id), nullptr); | 178 return SkDEBUGRELEASE(fGlobalState->debugContour(id), nullptr); |
| 177 } | 179 } |
| 178 | 180 |
| 179 #if DEBUG_COINCIDENCE_VERBOSE | 181 #if DEBUG_COINCIDENCE_VERBOSE |
| 180 bool debugExpand(const char* id, SkPathOpsDebug::GlitchLog* ) const; | 182 bool debugExpand(const char* id, SkPathOpsDebug::GlitchLog* ) const; |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 SkCoincidentSpans* fTop; | 304 SkCoincidentSpans* fTop; |
| 303 SkOpGlobalState* fGlobalState; | 305 SkOpGlobalState* fGlobalState; |
| 304 bool fContinue; | 306 bool fContinue; |
| 305 bool fSpanDeleted; | 307 bool fSpanDeleted; |
| 306 bool fPtAllocated; | 308 bool fPtAllocated; |
| 307 bool fCoinExtended; | 309 bool fCoinExtended; |
| 308 bool fSpanMerged; | 310 bool fSpanMerged; |
| 309 }; | 311 }; |
| 310 | 312 |
| 311 #endif | 313 #endif |
| OLD | NEW |