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

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

Issue 23542056: path ops work in progress (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: verbose + mutex around file number access Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/pathops/SkPathOpsCubic.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"
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 #if DEBUG_SHOW_TEST_NAME 153 #if DEBUG_SHOW_TEST_NAME
154 static void* CreateNameStr(); 154 static void* CreateNameStr();
155 static void DeleteNameStr(void* v); 155 static void DeleteNameStr(void* v);
156 #define DEBUG_FILENAME_STRING_LENGTH 64 156 #define DEBUG_FILENAME_STRING_LENGTH 64
157 #define DEBUG_FILENAME_STRING (reinterpret_cast<char* >(SkTLS::Get(SkPathOpsDebu g::CreateNameStr, \ 157 #define DEBUG_FILENAME_STRING (reinterpret_cast<char* >(SkTLS::Get(SkPathOpsDebu g::CreateNameStr, \
158 SkPathOpsDebug::DeleteNameStr))) 158 SkPathOpsDebug::DeleteNameStr)))
159 static void BumpTestName(char* ); 159 static void BumpTestName(char* );
160 static void ShowPath(const SkPath& one, const SkPath& two, SkPathOp op, cons t char* name); 160 static void ShowPath(const SkPath& one, const SkPath& two, SkPathOp op, cons t char* name);
161 #endif 161 #endif
162 static void DumpAngles(const SkTArray<class SkOpAngle, true>& angles); 162 static void DumpAngles(const SkTArray<class SkOpAngle, true>& angles);
163 static void DumpAngles(const SkTArray<class SkOpAngle* , true>& angles);
163 }; 164 };
164 165
166 // shorthand for calling from debugger
167 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);
170 void Dump(const SkTArray<class SkOpAngle* , true>* angles);
171
165 #endif // SK_DEBUG || !FORCE_RELEASE 172 #endif // SK_DEBUG || !FORCE_RELEASE
166 173
167 #endif 174 #endif
OLDNEW
« no previous file with comments | « src/pathops/SkPathOpsCubic.cpp ('k') | src/pathops/SkPathOpsDebug.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698