| 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" |
| 11 #include "SkTypes.h" | 11 #include "SkTypes.h" |
| 12 |
| 13 #include <stdlib.h> |
| 12 #include <stdio.h> | 14 #include <stdio.h> |
| 13 | 15 |
| 14 #ifdef SK_RELEASE | 16 #ifdef SK_RELEASE |
| 15 #define FORCE_RELEASE 1 | 17 #define FORCE_RELEASE 1 |
| 16 #else | 18 #else |
| 17 #define FORCE_RELEASE 1 // set force release to 1 for multiple thread -- no deb
ugging | 19 #define FORCE_RELEASE 1 // set force release to 1 for multiple thread -- no deb
ugging |
| 18 #endif | 20 #endif |
| 19 | 21 |
| 20 #define ONE_OFF_DEBUG 0 | 22 #define ONE_OFF_DEBUG 0 |
| 21 #define ONE_OFF_DEBUG_MATHEMATICA 0 | 23 #define ONE_OFF_DEBUG_MATHEMATICA 0 |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 static const class SkOpSpanBase* DebugSpanSpan(const class SkOpSpanBase*, in
t id); | 212 static const class SkOpSpanBase* DebugSpanSpan(const class SkOpSpanBase*, in
t id); |
| 211 }; | 213 }; |
| 212 | 214 |
| 213 struct SkDQuad; | 215 struct SkDQuad; |
| 214 | 216 |
| 215 // generates tools/path_sorter.htm and path_visualizer.htm compatible data | 217 // generates tools/path_sorter.htm and path_visualizer.htm compatible data |
| 216 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo); | 218 void DumpQ(const SkDQuad& quad1, const SkDQuad& quad2, int testNo); |
| 217 void DumpT(const SkDQuad& quad, double t); | 219 void DumpT(const SkDQuad& quad, double t); |
| 218 | 220 |
| 219 #endif | 221 #endif |
| OLD | NEW |