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

Unified Diff: src/pathops/SkPathOpsDebug.h

Issue 2441763003: formalize host debugging (Closed)
Patch Set: merge with ToT Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/pathops/SkPathOpsDebug.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pathops/SkPathOpsDebug.h
diff --git a/src/pathops/SkPathOpsDebug.h b/src/pathops/SkPathOpsDebug.h
index 4dc52721e65c2fdea6e742980ada91677763838c..0258d58c9e95fdfd15286f59adc39d754d064caf 100644
--- a/src/pathops/SkPathOpsDebug.h
+++ b/src/pathops/SkPathOpsDebug.h
@@ -371,6 +371,27 @@ public:
static void DumpCoinDict();
static void DumpGlitchType(GlitchType );
#endif
+
+ static bool gRunFail;
+ static bool gVeryVerbose;
+
+#ifdef SK_DEBUG
+ static bool gDumpOp;
+ static bool gVerifyOp;
+
+ static void DumpOp(const SkPath& one, const SkPath& two, SkPathOp op,
+ const char* testName);
+ static void DumpOp(FILE* file, const SkPath& one, const SkPath& two, SkPathOp op,
+ const char* testName);
+ static void DumpSimplify(const SkPath& path, const char* testName);
+ static void DumpSimplify(FILE* file, const SkPath& path, const char* testName);
+ static void ReportOpFail(const SkPath& one, const SkPath& two, SkPathOp op);
+ static void ReportSimplifyFail(const SkPath& path);
+ static void VerifyOp(const SkPath& one, const SkPath& two, SkPathOp op,
+ const SkPath& result);
+ static void VerifySimplify(const SkPath& path, const SkPath& result);
+#endif
+
};
struct SkDQuad;
« no previous file with comments | « no previous file | src/pathops/SkPathOpsDebug.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698