/* * 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 "include/core/SkBitmap.h" #include "include/core/SkCanvas.h" #include "include/core/SkMatrix.h" #include "include/core/SkPaint.h" #include "include/core/SkRegion.h" #include "include/core/SkStream.h" #include "include/private/SkMutex.h" #include "include/utils/SkParsePath.h" #include "tests/PathOpsDebug.h" #include "tests/PathOpsExtendedTest.h" #include "tests/PathOpsThreadedCommon.h" #include #include #include #include std::vector gUniqueNames; #ifdef SK_BUILD_FOR_MAC #include #endif // std::to_string isn't implemented on android #include template std::string std_to_string(T value) { std::ostringstream os ; os << value ; return os.str() ; } bool OpDebug(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result SkDEBUGPARAMS(bool skipAssert) SkDEBUGPARAMS(const char* testName)); bool SimplifyDebug(const SkPath& one, SkPath* result SkDEBUGPARAMS(bool skipAssert) SkDEBUGPARAMS(const char* testName)); static const char marker[] = "\n" "\n" "