Index: include/core/SkPictureAnalyzer.h |
diff --git a/include/core/SkPictureAnalyzer.h b/include/core/SkPictureAnalyzer.h |
index fa8cdb1fd18b8c890ec3b65a70ed6ca91d64b0d3..b7a76cce80f69a015506bb66fca00226a033a24b 100644 |
--- a/include/core/SkPictureAnalyzer.h |
+++ b/include/core/SkPictureAnalyzer.h |
@@ -9,11 +9,13 @@ |
#define SkPictureAnalyzer_DEFINED |
#include "SkRefCnt.h" |
+#include "SkRegion.h" |
#include "SkTypes.h" |
#if SK_SUPPORT_GPU |
#include "GrContext.h" |
+class SkPath; |
class SkPicture; |
/** \class SkPictureGpuAnalyzer |
@@ -29,7 +31,15 @@ public: |
/** |
* Process the given picture and accumulate its stats. |
*/ |
- void analyze(const SkPicture*); |
+ void analyzePicture(const SkPicture*); |
+ |
+ // Legacy/transitional alias. |
+ void analyze(const SkPicture* picture) { this->analyzePicture(picture); } |
+ |
+ /** |
+ * Process an explicit clipPath op. |
+ */ |
+ void analyzeClipPath(const SkPath&, SkRegion::Op, bool doAntiAlias); |
/** |
* Reset all accumulated stats. |