| Index: include/core/SkImage.h
|
| diff --git a/include/core/SkImage.h b/include/core/SkImage.h
|
| index 2a62135bdb303ccdfaa852707a50b082fa324b40..5b9e2031758f8ebc317041289a0603f8113d1ece 100644
|
| --- a/include/core/SkImage.h
|
| +++ b/include/core/SkImage.h
|
| @@ -288,6 +288,12 @@ public:
|
| */
|
| bool asLegacyBitmap(SkBitmap*, LegacyBitmapMode) const;
|
|
|
| + /**
|
| + * Returns true if the image is backed by an image-generator or other src that creates
|
| + * (and caches) its pixels / texture on-demand.
|
| + */
|
| + bool isLazyGenerated() const;
|
| +
|
| protected:
|
| SkImage(int width, int height, uint32_t uniqueID);
|
|
|
|
|