Index: src/core/SkPictureCommon.h |
diff --git a/src/core/SkPictureCommon.h b/src/core/SkPictureCommon.h |
index 16146be020a21db392b0a8f31309bf318a4a99f2..1c38b049fa7314771a5c06f6762e696cd666f831 100644 |
--- a/src/core/SkPictureCommon.h |
+++ b/src/core/SkPictureCommon.h |
@@ -123,6 +123,13 @@ struct SkPathCounter { |
} |
} |
+ void operator()(const SkRecords::ClipPath& op) { |
+ // TODO: does the SkRegion op matter? |
+ if (op.opAA.aa && !op.path.isConvex()) { |
+ fNumSlowPathsAndDashEffects++; |
+ } |
+ } |
+ |
void operator()(const SkRecords::SaveLayer& op) { |
this->checkPaint(AsPtr(op.paint)); |
} |