| Index: src/pathops/SkPathOpsDebug.cpp
|
| diff --git a/src/pathops/SkPathOpsDebug.cpp b/src/pathops/SkPathOpsDebug.cpp
|
| index 0505965b467dae436869a7dfdf62e83a53d444f9..e52e47beb267607f4ef48e9793d08e38ba174b54 100644
|
| --- a/src/pathops/SkPathOpsDebug.cpp
|
| +++ b/src/pathops/SkPathOpsDebug.cpp
|
| @@ -89,6 +89,13 @@ void SkPathOpsDebug::DumpAngles(const SkTArray<SkOpAngle, true>& angles) {
|
| angles[index].dump();
|
| }
|
| }
|
| +
|
| +void SkPathOpsDebug::DumpAngles(const SkTArray<SkOpAngle* , true>& angles) {
|
| + int count = angles.count();
|
| + for (int index = 0; index < count; ++index) {
|
| + angles[index]->dump();
|
| + }
|
| +}
|
| #endif // SK_DEBUG || !FORCE_RELEASE
|
|
|
| #ifdef SK_DEBUG
|
| @@ -132,4 +139,22 @@ void SkOpSpan::dump() const {
|
| }
|
| SkDebugf("\n");
|
| }
|
| +
|
| +void Dump(const SkTArray<class SkOpAngle, true>& angles) {
|
| + SkPathOpsDebug::DumpAngles(angles);
|
| +}
|
| +
|
| +void Dump(const SkTArray<class SkOpAngle* , true>& angles) {
|
| + SkPathOpsDebug::DumpAngles(angles);
|
| +}
|
| +
|
| +void Dump(const SkTArray<class SkOpAngle, true>* angles) {
|
| + SkPathOpsDebug::DumpAngles(*angles);
|
| +}
|
| +
|
| +void Dump(const SkTArray<class SkOpAngle* , true>* angles) {
|
| + SkPathOpsDebug::DumpAngles(*angles);
|
| +}
|
| +
|
| #endif
|
| +
|
|
|