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

Side by Side Diff: tests/PathOpsDebug.cpp

Issue 2321973005: Rewriting path writer (Closed)
Patch Set: revert unneeded test changes Created 4 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/SkPathWriter.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 2014 Google Inc. 2 * Copyright 2014 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 "PathOpsTSectDebug.h" 8 #include "PathOpsTSectDebug.h"
9 #include "SkOpCoincidence.h" 9 #include "SkOpCoincidence.h"
10 #include "SkOpContour.h" 10 #include "SkOpContour.h"
(...skipping 878 matching lines...) Expand 10 before | Expand all | Expand 10 after
889 SkDebugf("\n"); 889 SkDebugf("\n");
890 indent = " "; 890 indent = " ";
891 next = next->fNext; 891 next = next->fNext;
892 } while (next && next != first); 892 } while (next && next != first);
893 } 893 }
894 894
895 void SkOpAngle::dumpCurves() const { 895 void SkOpAngle::dumpCurves() const {
896 const SkOpAngle* first = this; 896 const SkOpAngle* first = this;
897 const SkOpAngle* next = this; 897 const SkOpAngle* next = this;
898 do { 898 do {
899 next->fCurvePart.dumpID(next->segment()->debugID()); 899 next->fPart.fCurve.dumpID(next->segment()->debugID());
900 next = next->fNext; 900 next = next->fNext;
901 } while (next && next != first); 901 } while (next && next != first);
902 } 902 }
903 903
904 void SkOpAngle::dumpLoop() const { 904 void SkOpAngle::dumpLoop() const {
905 const SkOpAngle* first = this; 905 const SkOpAngle* first = this;
906 const SkOpAngle* next = this; 906 const SkOpAngle* next = this;
907 do { 907 do {
908 next->dumpOne(false); 908 next->dumpOne(false);
909 SkDebugf("\n"); 909 SkDebugf("\n");
(...skipping 544 matching lines...) Expand 10 before | Expand all | Expand 10 after
1454 segment = segment->next(); 1454 segment = segment->next();
1455 } 1455 }
1456 } while ((contour = contour->next())); 1456 } while ((contour = contour->next()));
1457 return nullptr; 1457 return nullptr;
1458 } 1458 }
1459 #endif 1459 #endif
1460 1460
1461 #if DEBUG_T_SECT_DUMP > 1 1461 #if DEBUG_T_SECT_DUMP > 1
1462 int gDumpTSectNum; 1462 int gDumpTSectNum;
1463 #endif 1463 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkPathWriter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698