Chromium Code Reviews| Index: include/core/SkImage.h |
| diff --git a/include/core/SkImage.h b/include/core/SkImage.h |
| index 2a62135bdb303ccdfaa852707a50b082fa324b40..5c29d215bb59c20f30e253e133b48b0ee1f71baa 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 a pixel ref which generates pixels on-the-fly |
|
reed1
2015/08/20 15:27:50
... backed by an image-generator or other src that
f(malita)
2015/08/20 15:38:37
Done.
|
| + * (when required). |
| + */ |
| + bool isLazyGenerated() const; |
| + |
| protected: |
| SkImage(int width, int height, uint32_t uniqueID); |