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 #include <stdio.h> |
12 | 13 |
13 #ifdef SK_RELEASE | 14 #ifdef SK_RELEASE |
14 #define FORCE_RELEASE 1 | 15 #define FORCE_RELEASE 1 |
15 #else | 16 #else |
16 #define FORCE_RELEASE 1 // set force release to 1 for multiple thread -- no deb
ugging | 17 #define FORCE_RELEASE 1 // set force release to 1 for multiple thread -- no deb
ugging |
17 #endif | 18 #endif |
18 | 19 |
19 #define ONE_OFF_DEBUG 0 | 20 #define ONE_OFF_DEBUG 0 |
20 #define ONE_OFF_DEBUG_MATHEMATICA 0 | 21 #define ONE_OFF_DEBUG_MATHEMATICA 0 |
21 | 22 |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 166 |
166 // shorthand for calling from debugger | 167 // shorthand for calling from debugger |
167 void Dump(const SkTArray<class SkOpAngle, true>& angles); | 168 void Dump(const SkTArray<class SkOpAngle, true>& angles); |
168 void Dump(const SkTArray<class SkOpAngle* , true>& angles); | 169 void Dump(const SkTArray<class SkOpAngle* , true>& angles); |
169 void Dump(const SkTArray<class SkOpAngle, true>* angles); | 170 void Dump(const SkTArray<class SkOpAngle, true>* angles); |
170 void Dump(const SkTArray<class SkOpAngle* , true>* angles); | 171 void Dump(const SkTArray<class SkOpAngle* , true>* angles); |
171 | 172 |
172 #endif // SK_DEBUG || !FORCE_RELEASE | 173 #endif // SK_DEBUG || !FORCE_RELEASE |
173 | 174 |
174 #endif | 175 #endif |
OLD | NEW |