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

Unified Diff: experimental/Intersection/EdgeWalker_Test.h

Issue 867213004: remove prototype pathops code (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 5 years, 11 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
Index: experimental/Intersection/EdgeWalker_Test.h
diff --git a/experimental/Intersection/EdgeWalker_Test.h b/experimental/Intersection/EdgeWalker_Test.h
deleted file mode 100644
index 5e8e7b7bf0c07bfd92bb92705d13af12b001cefd..0000000000000000000000000000000000000000
--- a/experimental/Intersection/EdgeWalker_Test.h
+++ /dev/null
@@ -1,59 +0,0 @@
-/*
- * Copyright 2012 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-#include "ShapeOps.h"
-#include "SkBitmap.h"
-#include "SkStream.h"
-#include <pthread.h>
-
-struct State4;
-
-//extern int comparePaths(const SkPath& one, const SkPath& two);
-extern int comparePaths(const SkPath& one, const SkPath& two, SkBitmap& bitmap);
-extern void comparePathsTiny(const SkPath& one, const SkPath& two);
-extern bool drawAsciiPaths(const SkPath& one, const SkPath& two,
- bool drawPaths);
-extern void showOp(const ShapeOp op);
-extern void showPath(const SkPath& path, const char* str);
-extern void showPath(const SkPath& path);
-extern void showPathData(const SkPath& path);
-extern bool testSimplify(const SkPath& path, bool fill, SkPath& out,
- SkBitmap& bitmap);
-extern bool testSimplifyx(SkPath& path, bool useXor, SkPath& out,
- State4& state, const char* pathStr);
-extern bool testSimplifyx(const SkPath& path);
-extern bool testShapeOp(const SkPath& a, const SkPath& b, const ShapeOp );
-
-struct State4 {
- State4();
- static pthread_mutex_t addQueue;
- static pthread_cond_t checkQueue;
- pthread_cond_t initialized;
- static State4* queue;
- pthread_t threadID;
- int index;
- bool done;
- bool last;
- int a;
- int b;
- int c;
- int d; // sometimes 1 if abc_is_a_triangle
- int testsRun;
- char filename[256];
-
- SkBitmap bitmap;
-};
-
-void createThread(State4* statePtr, void* (*test)(void* ));
-int dispatchTest4(void* (*testFun)(void* ), int a, int b, int c, int d);
-void initializeTests(const char* testName, size_t testNameSize);
-void outputProgress(const State4& state, const char* pathStr, SkPath::FillType );
-void outputProgress(const State4& state, const char* pathStr, ShapeOp op);
-void outputToStream(const State4& state, const char* pathStr, const char* pathPrefix,
- const char* nameSuffix,
- const char* testFunction, SkWStream& outFile);
-bool runNextTestSet(State4& state);
-int waitForCompletion();
« no previous file with comments | « experimental/Intersection/EdgeWalkerRectangles_Test.cpp ('k') | experimental/Intersection/EdgeWalker_TestUtility.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698