| Index: include/core/SkPicture.h
|
| diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
|
| index eb35ef636641abad12ab9a067b5a7e9ae9bdfba6..c86772b1245d8ad1bc28fa8b02f59b63039da010 100644
|
| --- a/include/core/SkPicture.h
|
| +++ b/include/core/SkPicture.h
|
| @@ -168,6 +168,9 @@ public:
|
| static void SetPictureIOSecurityPrecautionsEnabled_Dangerous(bool set);
|
| static bool PictureIOSecurityPrecautionsEnabled();
|
|
|
| + // Number of drawpath and clippath calls which may be slow to draw on the GPU without MSAA.
|
| + virtual int numSlowPaths() const = 0;
|
| +
|
| #ifdef SK_SUPPORT_LEGACY_PICTURE_PTR
|
| static SkPicture* CreateFromStream(SkStream* stream, InstallPixelRefProc proc) {
|
| return MakeFromStream(stream, proc).release();
|
| @@ -191,8 +194,6 @@ private:
|
| static sk_sp<SkPicture> MakeFromStream(SkStream*, InstallPixelRefProc, SkTypefacePlayback*);
|
| friend class SkPictureData;
|
|
|
| - virtual int numSlowPaths() const = 0;
|
| - friend class SkPictureGpuAnalyzer;
|
| friend struct SkPathCounter;
|
|
|
| // V35: Store SkRect (rather then width & height) in header
|
|
|