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

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

Issue 255893002: one more tsan fix (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 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/SkOpEdgeBuilder.cpp ('k') | no next file » | 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 7
8 #include "SkPathOpsDebug.h" 8 #include "SkPathOpsDebug.h"
9 #include "SkPath.h" 9 #include "SkPath.h"
10 10
11 #if defined SK_DEBUG || !FORCE_RELEASE 11 #if defined SK_DEBUG || !FORCE_RELEASE
12 12
13 const char* SkPathOpsDebug::kLVerbStr[] = {"", "line", "quad", "cubic"}; 13 const char* SkPathOpsDebug::kLVerbStr[] = {"", "line", "quad", "cubic"};
14 14
15 #if defined(SK_DEBUG) || !FORCE_RELEASE 15 #if defined(SK_DEBUG) || !FORCE_RELEASE
16 int SkPathOpsDebug::gContourID; 16 int SkPathOpsDebug::gContourID = 0;
17 int SkPathOpsDebug::gSegmentID; 17 int SkPathOpsDebug::gSegmentID = 0;
18 #endif 18 #endif
19 19
20 #if DEBUG_SORT || DEBUG_SWAP_TOP 20 #if DEBUG_SORT || DEBUG_SWAP_TOP
21 int SkPathOpsDebug::gSortCountDefault = SK_MaxS32; 21 int SkPathOpsDebug::gSortCountDefault = SK_MaxS32;
22 int SkPathOpsDebug::gSortCount; 22 int SkPathOpsDebug::gSortCount;
23 #endif 23 #endif
24 24
25 #if DEBUG_ACTIVE_OP 25 #if DEBUG_ACTIVE_OP
26 const char* SkPathOpsDebug::kPathOpStr[] = {"diff", "sect", "union", "xor"}; 26 const char* SkPathOpsDebug::kPathOpStr[] = {"diff", "sect", "union", "xor"};
27 #endif 27 #endif
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
614 } 614 }
615 last = &span; 615 last = &span;
616 hasLoop |= last->fLoop; 616 hasLoop |= last->fLoop;
617 } 617 }
618 SK_DEBUGBREAK(done == fDoneSpans); 618 SK_DEBUGBREAK(done == fDoneSpans);
619 if (fAngles.count() ) { 619 if (fAngles.count() ) {
620 fAngles.begin()->debugValidateLoop(); 620 fAngles.begin()->debugValidateLoop();
621 } 621 }
622 #endif 622 #endif
623 } 623 }
OLDNEW
« no previous file with comments | « src/pathops/SkOpEdgeBuilder.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698