/* * 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 "PathOpsExtendedTest.h" #include "PathOpsThreadedCommon.h" #include "SkBitmap.h" #include "SkCanvas.h" #include "SkMatrix.h" #include "SkMutex.h" #include "SkPaint.h" #include "SkRegion.h" #include "SkStream.h" #include #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" "