work in progress
git-svn-id: http://skia.googlecode.com/svn/trunk@3702 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/experimental/Intersection/EdgeWalker_Test.h b/experimental/Intersection/EdgeWalker_Test.h
index 1f644a7..f30743b 100644
--- a/experimental/Intersection/EdgeWalker_Test.h
+++ b/experimental/Intersection/EdgeWalker_Test.h
@@ -1,8 +1,9 @@
#include "ShapeOps.h"
+#include "SkBitmap.h"
+#include <pthread.h>
-class SkBitmap;
class SkCanvas;
//extern int comparePaths(const SkPath& one, const SkPath& two);
@@ -12,3 +13,19 @@
extern void showPath(const SkPath& path, const char* str = NULL);
extern bool testSimplify(const SkPath& path, bool fill, SkPath& out,
SkBitmap& bitmap, SkCanvas* canvas = 0);
+
+struct State4 {
+ State4();
+
+ int a;
+ int b;
+ int c;
+ int d;
+ pthread_t threadID;
+ SkCanvas* canvas;
+ SkBitmap bitmap;
+ bool abcIsATriangle;
+};
+
+void createThread(State4* statePtr, void* (*test)(void* ));
+void waitForCompletion(State4 threadState[], int& threadIndex);