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

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

Issue 575553003: fix battlefield website by disallowing very small coordinates (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix chrome crash Created 6 years, 3 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/SkOpSegment.cpp ('k') | src/pathops/SkPathOpsLine.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"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 #define DEBUG_ACTIVE_SPANS_SHORT_FORM 1 79 #define DEBUG_ACTIVE_SPANS_SHORT_FORM 1
80 #define DEBUG_ADD_INTERSECTING_TS 1 80 #define DEBUG_ADD_INTERSECTING_TS 1
81 #define DEBUG_ADD_T_PAIR 1 81 #define DEBUG_ADD_T_PAIR 1
82 #define DEBUG_ANGLE 1 82 #define DEBUG_ANGLE 1
83 #define DEBUG_AS_C_CODE 1 83 #define DEBUG_AS_C_CODE 1
84 #define DEBUG_ASSEMBLE 1 84 #define DEBUG_ASSEMBLE 1
85 #define DEBUG_CHECK_ENDS 1 85 #define DEBUG_CHECK_ENDS 1
86 #define DEBUG_CHECK_TINY 1 86 #define DEBUG_CHECK_TINY 1
87 #define DEBUG_CONCIDENT 1 87 #define DEBUG_CONCIDENT 1
88 #define DEBUG_CROSS 01 88 #define DEBUG_CROSS 01
89 #define DEBUG_CUBIC_BINARY_SEARCH 1 89 #define DEBUG_CUBIC_BINARY_SEARCH 0
90 #define DEBUG_DUPLICATES 1 90 #define DEBUG_DUPLICATES 1
91 #define DEBUG_FLAT_QUADS 0 91 #define DEBUG_FLAT_QUADS 0
92 #define DEBUG_FLOW 1 92 #define DEBUG_FLOW 1
93 #define DEBUG_LIMIT_WIND_SUM 4 93 #define DEBUG_LIMIT_WIND_SUM 4
94 #define DEBUG_MARK_DONE 1 94 #define DEBUG_MARK_DONE 1
95 #define DEBUG_PATH_CONSTRUCTION 1 95 #define DEBUG_PATH_CONSTRUCTION 1
96 #define DEBUG_SHOW_TEST_NAME 1 96 #define DEBUG_SHOW_TEST_NAME 1
97 #define DEBUG_SHOW_TEST_PROGRESS 1 97 #define DEBUG_SHOW_TEST_PROGRESS 1
98 #define DEBUG_SHOW_WINDING 0 98 #define DEBUG_SHOW_WINDING 0
99 #define DEBUG_SORT 1 99 #define DEBUG_SORT 1
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 void DumpSpan(const SkTArray<class SkOpContour* , true>& contours, int segmentID ); 227 void DumpSpan(const SkTArray<class SkOpContour* , true>& contours, int segmentID );
228 void DumpSpan(const SkTArray<class SkOpContour, true>* contours, int segmentID); 228 void DumpSpan(const SkTArray<class SkOpContour, true>* contours, int segmentID);
229 void DumpSpan(const SkTArray<class SkOpContour* , true>* contours, int segmentID ); 229 void DumpSpan(const SkTArray<class SkOpContour* , true>* contours, int segmentID );
230 230
231 // generates tools/path_sorter.htm and path_visualizer.htm compatible data 231 // generates tools/path_sorter.htm and path_visualizer.htm compatible data
232 void DumpQ(const struct SkDQuad& quad1, const struct SkDQuad& quad2, int testNo) ; 232 void DumpQ(const struct SkDQuad& quad1, const struct SkDQuad& quad2, int testNo) ;
233 233
234 void DumpT(const struct SkDQuad& quad, double t); 234 void DumpT(const struct SkDQuad& quad, double t);
235 235
236 #endif 236 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkOpSegment.cpp ('k') | src/pathops/SkPathOpsLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698