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 28 matching lines...) Expand all Loading... |
39 | 39 |
40 #define DEBUG_ACTIVE_OP 0 | 40 #define DEBUG_ACTIVE_OP 0 |
41 #define DEBUG_ACTIVE_SPANS 0 | 41 #define DEBUG_ACTIVE_SPANS 0 |
42 #define DEBUG_ACTIVE_SPANS_FIRST_ONLY 0 | 42 #define DEBUG_ACTIVE_SPANS_FIRST_ONLY 0 |
43 #define DEBUG_ACTIVE_SPANS_SHORT_FORM 1 | 43 #define DEBUG_ACTIVE_SPANS_SHORT_FORM 1 |
44 #define DEBUG_ADD_INTERSECTING_TS 0 | 44 #define DEBUG_ADD_INTERSECTING_TS 0 |
45 #define DEBUG_ADD_T_PAIR 0 | 45 #define DEBUG_ADD_T_PAIR 0 |
46 #define DEBUG_ANGLE 0 | 46 #define DEBUG_ANGLE 0 |
47 #define DEBUG_AS_C_CODE 1 | 47 #define DEBUG_AS_C_CODE 1 |
48 #define DEBUG_ASSEMBLE 0 | 48 #define DEBUG_ASSEMBLE 0 |
49 #define DEBUG_CHECK_ENDS 0 | 49 #define DEBUG_CHECK_ALIGN 0 |
50 #define DEBUG_CHECK_TINY 0 | 50 #define DEBUG_CHECK_TINY 0 |
51 #define DEBUG_CONCIDENT 0 | 51 #define DEBUG_CONCIDENT 0 |
52 #define DEBUG_CROSS 0 | 52 #define DEBUG_CROSS 0 |
53 #define DEBUG_CUBIC_BINARY_SEARCH 0 | 53 #define DEBUG_CUBIC_BINARY_SEARCH 0 |
54 #define DEBUG_DUPLICATES 0 | 54 #define DEBUG_DUPLICATES 0 |
55 #define DEBUG_FLAT_QUADS 0 | 55 #define DEBUG_FLAT_QUADS 0 |
56 #define DEBUG_FLOW 0 | 56 #define DEBUG_FLOW 0 |
57 #define DEBUG_LIMIT_WIND_SUM 0 | 57 #define DEBUG_LIMIT_WIND_SUM 0 |
58 #define DEBUG_MARK_DONE 0 | 58 #define DEBUG_MARK_DONE 0 |
59 #define DEBUG_PATH_CONSTRUCTION 0 | 59 #define DEBUG_PATH_CONSTRUCTION 0 |
(...skipping 15 matching lines...) Expand all Loading... |
75 | 75 |
76 #define DEBUG_ACTIVE_OP 1 | 76 #define DEBUG_ACTIVE_OP 1 |
77 #define DEBUG_ACTIVE_SPANS 1 | 77 #define DEBUG_ACTIVE_SPANS 1 |
78 #define DEBUG_ACTIVE_SPANS_FIRST_ONLY 0 | 78 #define DEBUG_ACTIVE_SPANS_FIRST_ONLY 0 |
79 #define DEBUG_ACTIVE_SPANS_SHORT_FORM 1 | 79 #define DEBUG_ACTIVE_SPANS_SHORT_FORM 1 |
80 #define DEBUG_ADD_INTERSECTING_TS 1 | 80 #define DEBUG_ADD_INTERSECTING_TS 1 |
81 #define DEBUG_ADD_T_PAIR 1 | 81 #define DEBUG_ADD_T_PAIR 1 |
82 #define DEBUG_ANGLE 1 | 82 #define DEBUG_ANGLE 1 |
83 #define DEBUG_AS_C_CODE 1 | 83 #define DEBUG_AS_C_CODE 1 |
84 #define DEBUG_ASSEMBLE 1 | 84 #define DEBUG_ASSEMBLE 1 |
85 #define DEBUG_CHECK_ENDS 1 | 85 #define DEBUG_CHECK_ALIGN 1 |
86 #define DEBUG_CHECK_TINY 1 | 86 #define DEBUG_CHECK_TINY 1 |
87 #define DEBUG_CONCIDENT 1 | 87 #define DEBUG_CONCIDENT 1 |
88 #define DEBUG_CROSS 01 | 88 #define DEBUG_CROSS 01 |
89 #define DEBUG_CUBIC_BINARY_SEARCH 0 | 89 #define DEBUG_CUBIC_BINARY_SEARCH 0 |
90 #define DEBUG_DUPLICATES 1 | 90 #define DEBUG_DUPLICATES 1 |
91 #define DEBUG_FLAT_QUADS 0 | 91 #define DEBUG_FLAT_QUADS 0 |
92 #define DEBUG_FLOW 1 | 92 #define DEBUG_FLOW 1 |
93 #define DEBUG_LIMIT_WIND_SUM 4 | 93 #define DEBUG_LIMIT_WIND_SUM 4 |
94 #define DEBUG_MARK_DONE 1 | 94 #define DEBUG_MARK_DONE 1 |
95 #define DEBUG_PATH_CONSTRUCTION 1 | 95 #define DEBUG_PATH_CONSTRUCTION 1 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 void DumpSpan(const SkTArray<class SkOpContour* , true>& contours, int segmentID
); | 227 void DumpSpan(const SkTArray<class SkOpContour* , true>& contours, int segmentID
); |
228 void DumpSpan(const SkTArray<class SkOpContour, true>* contours, int segmentID); | 228 void DumpSpan(const SkTArray<class SkOpContour, true>* contours, int segmentID); |
229 void DumpSpan(const SkTArray<class SkOpContour* , true>* contours, int segmentID
); | 229 void DumpSpan(const SkTArray<class SkOpContour* , true>* contours, int segmentID
); |
230 | 230 |
231 // generates tools/path_sorter.htm and path_visualizer.htm compatible data | 231 // generates tools/path_sorter.htm and path_visualizer.htm compatible data |
232 void DumpQ(const struct SkDQuad& quad1, const struct SkDQuad& quad2, int testNo)
; | 232 void DumpQ(const struct SkDQuad& quad1, const struct SkDQuad& quad2, int testNo)
; |
233 | 233 |
234 void DumpT(const struct SkDQuad& quad, double t); | 234 void DumpT(const struct SkDQuad& quad, double t); |
235 | 235 |
236 #endif | 236 #endif |
OLD | NEW |