| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index e3b33e9438618267b865e0e264e1c46919ab7843..a181521728ee6773e08962574ea828cbaaa11045 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -197,6 +197,7 @@ public:
|
| // Takes ref on listener.
|
| void addDeletionListener(DeletionListener* listener) const;
|
|
|
| +
|
| private:
|
| // V2 : adds SkPixelRef's generation ID.
|
| // V3 : PictInfo tag at beginning, and EOF tag at the end
|
| @@ -293,7 +294,16 @@ private:
|
|
|
| SkAutoTDelete<SkRecord> fRecord;
|
| SkAutoTUnref<SkBBoxHierarchy> fBBH;
|
| - bool fRecordWillPlayBackBitmaps; // TODO: const
|
| +
|
| + struct Analysis {
|
| + Analysis()
|
| + : fWillPlaybackBitmaps(false)
|
| + , fSuitableForGpuRasterization(false) { }
|
| + Analysis(const SkRecord&);
|
| +
|
| + bool fWillPlaybackBitmaps;
|
| + bool fSuitableForGpuRasterization;
|
| + } const fAnalysis;
|
| };
|
|
|
| #endif
|
|
|