| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index 88dfdf106678683adb263efaf9f76bb9274f68a8..32adb598450ef9ec05b75faef0f174d8b362e897 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -168,7 +168,7 @@ public:
|
| */
|
|
|
| #if SK_SUPPORT_GPU
|
| - bool suitableForGpuRasterization(GrContext*, const char ** = NULL) const;
|
| + bool suitableForGpuRasterization(GrContext*, const char ** = NULL);
|
| #endif
|
|
|
| /** Return the approximate number of operations in this picture. This
|
| @@ -288,11 +288,14 @@ private:
|
| Analysis() {} // Only used by SkPictureData codepath.
|
| explicit Analysis(const SkRecord&);
|
|
|
| + bool isAnalyzed() const {return fIsAnalyzed;}
|
| + void performAnalysis(const SkRecord&);
|
| bool suitableForGpuRasterization(const char** reason, int sampleCount) const;
|
|
|
| uint8_t fNumSlowPathsAndDashEffects;
|
| bool fWillPlaybackBitmaps : 1;
|
| bool fHasText : 1;
|
| + bool fIsAnalyzed : 1;
|
| } fAnalysis;
|
|
|
| friend class SkPictureRecorder; // SkRecord-based constructor.
|
|
|