| 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 SkPathOpsDebug_DEFINED | 7 #ifndef SkPathOpsDebug_DEFINED |
| 8 #define SkPathOpsDebug_DEFINED | 8 #define SkPathOpsDebug_DEFINED |
| 9 | 9 |
| 10 #include "SkPathOps.h" | 10 #include "SkPathOps.h" |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 #else | 71 #else |
| 72 | 72 |
| 73 #define DEBUG_ACTIVE_OP 1 | 73 #define DEBUG_ACTIVE_OP 1 |
| 74 #define DEBUG_ACTIVE_SPANS 1 | 74 #define DEBUG_ACTIVE_SPANS 1 |
| 75 #define DEBUG_ADD_INTERSECTING_TS 1 | 75 #define DEBUG_ADD_INTERSECTING_TS 1 |
| 76 #define DEBUG_ADD_T 1 | 76 #define DEBUG_ADD_T 1 |
| 77 #define DEBUG_ALIGNMENT 0 | 77 #define DEBUG_ALIGNMENT 0 |
| 78 #define DEBUG_ANGLE 1 | 78 #define DEBUG_ANGLE 1 |
| 79 #define DEBUG_ASSEMBLE 1 | 79 #define DEBUG_ASSEMBLE 1 |
| 80 #define DEBUG_COINCIDENCE 1 | 80 #define DEBUG_COINCIDENCE 01 |
| 81 #define DEBUG_COINCIDENCE_ORDER 0 // tight arc quads may generate out-of-order
coincdence spans | 81 #define DEBUG_COINCIDENCE_ORDER 0 // tight arc quads may generate out-of-order
coincdence spans |
| 82 #define DEBUG_COINCIDENCE_VERBOSE 0 | 82 #define DEBUG_COINCIDENCE_VERBOSE 0 |
| 83 #define DEBUG_CUBIC_BINARY_SEARCH 0 | 83 #define DEBUG_CUBIC_BINARY_SEARCH 0 |
| 84 #define DEBUG_CUBIC_SPLIT 1 | 84 #define DEBUG_CUBIC_SPLIT 1 |
| 85 #define DEBUG_DUMP_SEGMENTS 1 | 85 #define DEBUG_DUMP_SEGMENTS 1 |
| 86 #define DEBUG_FLOW 1 | 86 #define DEBUG_FLOW 1 |
| 87 #define DEBUG_LIMIT_WIND_SUM 15 | 87 #define DEBUG_LIMIT_WIND_SUM 15 |
| 88 #define DEBUG_MARK_DONE 1 | 88 #define DEBUG_MARK_DONE 1 |
| 89 #define DEBUG_PATH_CONSTRUCTION 1 | 89 #define DEBUG_PATH_CONSTRUCTION 1 |
| 90 #define DEBUG_PERP 1 | 90 #define DEBUG_PERP 1 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 static const class SkOpSpanBase* DebugSpanSpan(const class SkOpSpanBase*, in
t id); | 248 static const class SkOpSpanBase* DebugSpanSpan(const class SkOpSpanBase*, in
t id); |
| 249 }; | 249 }; |
| 250 | 250 |
| 251 struct SkDQuad; | 251 struct SkDQuad; |
| 252 | 252 |
| 253 // generates tools/path_sorter.htm and path_visualizer.htm compatible data | 253 // generates tools/path_sorter.htm and path_visualizer.htm compatible data |
| 254 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo); | 254 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo); |
| 255 void DumpT(const SkDQuad& quad, double t); | 255 void DumpT(const SkDQuad& quad, double t); |
| 256 | 256 |
| 257 #endif | 257 #endif |
| OLD | NEW |