| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 | 67 |
| 68 #else | 68 #else |
| 69 | 69 |
| 70 #define DEBUG_ACTIVE_OP 1 | 70 #define DEBUG_ACTIVE_OP 1 |
| 71 #define DEBUG_ACTIVE_SPANS 1 | 71 #define DEBUG_ACTIVE_SPANS 1 |
| 72 #define DEBUG_ADD_INTERSECTING_TS 1 | 72 #define DEBUG_ADD_INTERSECTING_TS 1 |
| 73 #define DEBUG_ADD_T 1 | 73 #define DEBUG_ADD_T 1 |
| 74 #define DEBUG_ALIGNMENT 0 | 74 #define DEBUG_ALIGNMENT 0 |
| 75 #define DEBUG_ANGLE 1 | 75 #define DEBUG_ANGLE 1 |
| 76 #define DEBUG_ASSEMBLE 1 | 76 #define DEBUG_ASSEMBLE 1 |
| 77 #define DEBUG_COINCIDENCE 1 | 77 #define DEBUG_COINCIDENCE 0 |
| 78 #define DEBUG_CUBIC_BINARY_SEARCH 0 | 78 #define DEBUG_CUBIC_BINARY_SEARCH 0 |
| 79 #define DEBUG_CUBIC_SPLIT 1 | 79 #define DEBUG_CUBIC_SPLIT 1 |
| 80 #define DEBUG_DUMP_SEGMENTS 1 | 80 #define DEBUG_DUMP_SEGMENTS 1 |
| 81 #define DEBUG_FLOW 1 | 81 #define DEBUG_FLOW 1 |
| 82 #define DEBUG_LIMIT_WIND_SUM 5 | 82 #define DEBUG_LIMIT_WIND_SUM 5 |
| 83 #define DEBUG_MARK_DONE 1 | 83 #define DEBUG_MARK_DONE 1 |
| 84 #define DEBUG_PATH_CONSTRUCTION 1 | 84 #define DEBUG_PATH_CONSTRUCTION 1 |
| 85 #define DEBUG_PERP 1 | 85 #define DEBUG_PERP 1 |
| 86 #define DEBUG_SHOW_TEST_NAME 1 | 86 #define DEBUG_SHOW_TEST_NAME 1 |
| 87 #define DEBUG_SORT 1 | 87 #define DEBUG_SORT 1 |
| 88 #define DEBUG_T_SECT 1 | 88 #define DEBUG_T_SECT 0 |
| 89 #define DEBUG_T_SECT_DUMP 1 | 89 #define DEBUG_T_SECT_DUMP 0 |
| 90 #define DEBUG_T_SECT_LOOP_COUNT 1 | 90 #define DEBUG_T_SECT_LOOP_COUNT 0 |
| 91 #define DEBUG_VALIDATE 1 | 91 #define DEBUG_VALIDATE 1 |
| 92 #define DEBUG_WINDING 1 | 92 #define DEBUG_WINDING 1 |
| 93 #define DEBUG_WINDING_AT_T 1 | 93 #define DEBUG_WINDING_AT_T 1 |
| 94 | 94 |
| 95 #endif | 95 #endif |
| 96 | 96 |
| 97 #ifdef SK_RELEASE | 97 #ifdef SK_RELEASE |
| 98 #define SkDEBUGRELEASE(a, b) b | 98 #define SkDEBUGRELEASE(a, b) b |
| 99 #define SkDEBUGPARAMS(...) | 99 #define SkDEBUGPARAMS(...) |
| 100 #define SkDEBUGCODE_(...) | 100 #define SkDEBUGCODE_(...) |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 230 static const class SkOpSpanBase* DebugSpanSpan(const class SkOpSpanBase*, in
t id); | 230 static const class SkOpSpanBase* DebugSpanSpan(const class SkOpSpanBase*, in
t id); |
| 231 }; | 231 }; |
| 232 | 232 |
| 233 struct SkDQuad; | 233 struct SkDQuad; |
| 234 | 234 |
| 235 // generates tools/path_sorter.htm and path_visualizer.htm compatible data | 235 // generates tools/path_sorter.htm and path_visualizer.htm compatible data |
| 236 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo); | 236 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo); |
| 237 void DumpT(const SkDQuad& quad, double t); | 237 void DumpT(const SkDQuad& quad, double t); |
| 238 | 238 |
| 239 #endif | 239 #endif |
| OLD | NEW |