| 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 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |