Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(265)

Side by Side Diff: src/pathops/SkPathOpsDebug.h

Issue 26114004: path ops work in progress (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: working state on linux box Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/pathops/SkPathOpsCommon.cpp ('k') | src/pathops/SkPathOpsDebug.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include <stdio.h>
13 13
14 #ifdef SK_RELEASE 14 #ifdef SK_RELEASE
15 #define FORCE_RELEASE 1 15 #define FORCE_RELEASE 1
16 #else 16 #else
17 #define FORCE_RELEASE 1 // set force release to 1 for multiple thread -- no deb ugging 17 #define FORCE_RELEASE 0 // set force release to 1 for multiple thread -- no deb ugging
18 #endif 18 #endif
19 19
20 #define ONE_OFF_DEBUG 0 20 #define ONE_OFF_DEBUG 0
21 #define ONE_OFF_DEBUG_MATHEMATICA 0 21 #define ONE_OFF_DEBUG_MATHEMATICA 0
22 22
23 #if defined(SK_BUILD_FOR_WIN) || defined(SK_BUILD_FOR_ANDROID) 23 #if defined(SK_BUILD_FOR_WIN) || defined(SK_BUILD_FOR_ANDROID)
24 #define SK_RAND(seed) rand() 24 #define SK_RAND(seed) rand()
25 #else 25 #else
26 #define SK_RAND(seed) rand_r(&seed) 26 #define SK_RAND(seed) rand_r(&seed)
27 #endif 27 #endif
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 // shorthand for calling from debugger 167 // shorthand for calling from debugger
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 void Dump(const SkTArray<class SkOpAngle* , true>* angles);
172 172
173 #endif // SK_DEBUG || !FORCE_RELEASE 173 #endif // SK_DEBUG || !FORCE_RELEASE
174 174
175 #endif 175 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkPathOpsCommon.cpp ('k') | src/pathops/SkPathOpsDebug.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698