| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index 004f1306215306494846a494944bf23559391b47..00c3f56e1602483a75c9cdce325dc30e8001d5b3 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -305,7 +305,18 @@ private:
|
|
|
| SkAutoTDelete<SkRecord> fRecord;
|
| SkAutoTUnref<SkBBoxHierarchy> fBBH;
|
| - bool fRecordWillPlayBackBitmaps; // TODO: const
|
| +
|
| + struct Analysis {
|
| + Analysis()
|
| + : fWillPlaybackBitmaps(false)
|
| + , fSuitableForGpuRasterization(false)
|
| + , fGpuRasterizationReason(NULL) { }
|
| + Analysis(const SkRecord&);
|
| +
|
| + bool fWillPlaybackBitmaps;
|
| + bool fSuitableForGpuRasterization;
|
| + const char* fGpuRasterizationReason;
|
| + } const fAnalysis;
|
| };
|
|
|
| #endif
|
|
|