| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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_ENDS 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_FLAT_QUADS 0 | 54 #define DEBUG_FLAT_QUADS 0 |
| 54 #define DEBUG_FLOW 0 | 55 #define DEBUG_FLOW 0 |
| 55 #define DEBUG_LIMIT_WIND_SUM 0 | 56 #define DEBUG_LIMIT_WIND_SUM 0 |
| 56 #define DEBUG_MARK_DONE 0 | 57 #define DEBUG_MARK_DONE 0 |
| 57 #define DEBUG_PATH_CONSTRUCTION 0 | 58 #define DEBUG_PATH_CONSTRUCTION 0 |
| 58 #define DEBUG_SHOW_TEST_NAME 0 | 59 #define DEBUG_SHOW_TEST_NAME 0 |
| 59 #define DEBUG_SHOW_TEST_PROGRESS 0 | 60 #define DEBUG_SHOW_TEST_PROGRESS 0 |
| 60 #define DEBUG_SHOW_WINDING 0 | 61 #define DEBUG_SHOW_WINDING 0 |
| 61 #define DEBUG_SORT 0 | 62 #define DEBUG_SORT 0 |
| 62 #define DEBUG_SORT_COMPACT 0 | 63 #define DEBUG_SORT_COMPACT 0 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 77 #define DEBUG_ACTIVE_SPANS_SHORT_FORM 1 | 78 #define DEBUG_ACTIVE_SPANS_SHORT_FORM 1 |
| 78 #define DEBUG_ADD_INTERSECTING_TS 1 | 79 #define DEBUG_ADD_INTERSECTING_TS 1 |
| 79 #define DEBUG_ADD_T_PAIR 1 | 80 #define DEBUG_ADD_T_PAIR 1 |
| 80 #define DEBUG_ANGLE 1 | 81 #define DEBUG_ANGLE 1 |
| 81 #define DEBUG_AS_C_CODE 1 | 82 #define DEBUG_AS_C_CODE 1 |
| 82 #define DEBUG_ASSEMBLE 1 | 83 #define DEBUG_ASSEMBLE 1 |
| 83 #define DEBUG_CHECK_ENDS 1 | 84 #define DEBUG_CHECK_ENDS 1 |
| 84 #define DEBUG_CHECK_TINY 1 | 85 #define DEBUG_CHECK_TINY 1 |
| 85 #define DEBUG_CONCIDENT 1 | 86 #define DEBUG_CONCIDENT 1 |
| 86 #define DEBUG_CROSS 01 | 87 #define DEBUG_CROSS 01 |
| 88 #define DEBUG_CUBIC_BINARY_SEARCH 1 |
| 87 #define DEBUG_FLAT_QUADS 0 | 89 #define DEBUG_FLAT_QUADS 0 |
| 88 #define DEBUG_FLOW 1 | 90 #define DEBUG_FLOW 1 |
| 89 #define DEBUG_LIMIT_WIND_SUM 4 | 91 #define DEBUG_LIMIT_WIND_SUM 4 |
| 90 #define DEBUG_MARK_DONE 1 | 92 #define DEBUG_MARK_DONE 1 |
| 91 #define DEBUG_PATH_CONSTRUCTION 1 | 93 #define DEBUG_PATH_CONSTRUCTION 1 |
| 92 #define DEBUG_SHOW_TEST_NAME 1 | 94 #define DEBUG_SHOW_TEST_NAME 1 |
| 93 #define DEBUG_SHOW_TEST_PROGRESS 1 | 95 #define DEBUG_SHOW_TEST_PROGRESS 1 |
| 94 #define DEBUG_SHOW_WINDING 0 | 96 #define DEBUG_SHOW_WINDING 0 |
| 95 #define DEBUG_SORT 1 | 97 #define DEBUG_SORT 1 |
| 96 #define DEBUG_SORT_COMPACT 0 | 98 #define DEBUG_SORT_COMPACT 0 |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 void DumpSpans(const SkTArray<class SkOpContour* , true>& contours); | 210 void DumpSpans(const SkTArray<class SkOpContour* , true>& contours); |
| 209 void DumpSpans(const SkTArray<class SkOpContour, true>* contours); | 211 void DumpSpans(const SkTArray<class SkOpContour, true>* contours); |
| 210 void DumpSpans(const SkTArray<class SkOpContour* , true>* contours); | 212 void DumpSpans(const SkTArray<class SkOpContour* , true>* contours); |
| 211 | 213 |
| 212 // generates tools/path_sorter.htm and path_visualizer.htm compatible data | 214 // generates tools/path_sorter.htm and path_visualizer.htm compatible data |
| 213 void DumpQ(const struct SkDQuad& quad1, const struct SkDQuad& quad2, int testNo)
; | 215 void DumpQ(const struct SkDQuad& quad1, const struct SkDQuad& quad2, int testNo)
; |
| 214 | 216 |
| 215 void DumpT(const struct SkDQuad& quad, double t); | 217 void DumpT(const struct SkDQuad& quad, double t); |
| 216 | 218 |
| 217 #endif | 219 #endif |
| OLD | NEW |