8#ifndef SkImage_Lazy_DEFINED
9#define SkImage_Lazy_DEFINED
70 RequiredProperties)
const override;
91 class ScopedGenerator;
100 mutable SkMutex fOnMakeColorTypeAndSpaceMutex;
static sk_sp< SharedGenerator > Make(std::unique_ptr< SkImageGenerator > gen)
const SkImageInfo & getInfo() const
std::unique_ptr< SkImageGenerator > fGenerator
bool isTextureGenerator()
SkImage_Lazy(Validator *validator)
virtual bool readPixelsProxy(GrDirectContext *, const SkPixmap &) const
bool getROPixels(GrDirectContext *, SkBitmap *, CachingHint) const override
void addUniqueIDListener(sk_sp< SkIDChangeListener >) const
sk_sp< SharedGenerator > generator() const
bool onHasMipmaps() const override
SkImage_Base::Type type() const override
bool onIsProtected() const override
sk_sp< SkImage > onReinterpretColorSpace(sk_sp< SkColorSpace >) const final
bool isValid(GrRecordingContext *) const override
bool onReadPixels(GrDirectContext *, const SkImageInfo &, void *, size_t, int srcX, int srcY, CachingHint) const override
sk_sp< SkImage > onMakeSubset(GrDirectContext *, const SkIRect &) const override
sk_sp< SkData > onRefEncoded() const override
sk_sp< SkImage > onMakeColorTypeAndColorSpace(SkColorType, sk_sp< SkColorSpace >, GrDirectContext *) const override
sk_sp< SkCachedData > getPlanes(const SkYUVAPixmapInfo::SupportedDataTypes &supportedDataTypes, SkYUVAPixmaps *pixmaps) const
sk_sp< SharedGenerator > fSharedGenerator
Validator(sk_sp< SharedGenerator >, const SkColorType *, sk_sp< SkColorSpace >)
sk_sp< SkColorSpace > fColorSpace