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

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

Issue 265453009: remove inverse_paths from ignored tests (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: experiment with 128 bit floats Created 6 years, 7 months 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
« no previous file with comments | « src/pathops/SkPathOpsCubic.cpp ('k') | src/pathops/SkPathOpsTypes.h » ('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 1 // 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 01
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
28 #ifdef SK_BUILD_FOR_WIN 28 #ifdef SK_BUILD_FOR_WIN
29 #define SK_SNPRINTF _snprintf 29 #define SK_SNPRINTF _snprintf
30 #else 30 #else
31 #define SK_SNPRINTF snprintf 31 #define SK_SNPRINTF snprintf
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 void DumpSpans(const SkTArray<class SkOpContour* , true>& contours); 208 void DumpSpans(const SkTArray<class SkOpContour* , true>& contours);
209 void DumpSpans(const SkTArray<class SkOpContour, true>* contours); 209 void DumpSpans(const SkTArray<class SkOpContour, true>* contours);
210 void DumpSpans(const SkTArray<class SkOpContour* , true>* contours); 210 void DumpSpans(const SkTArray<class SkOpContour* , true>* contours);
211 211
212 // generates tools/path_sorter.htm and path_visualizer.htm compatible data 212 // generates tools/path_sorter.htm and path_visualizer.htm compatible data
213 void DumpQ(const struct SkDQuad& quad1, const struct SkDQuad& quad2, int testNo) ; 213 void DumpQ(const struct SkDQuad& quad1, const struct SkDQuad& quad2, int testNo) ;
214 214
215 void DumpT(const struct SkDQuad& quad, double t); 215 void DumpT(const struct SkDQuad& quad, double t);
216 216
217 #endif 217 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkPathOpsCubic.cpp ('k') | src/pathops/SkPathOpsTypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698