Lines Matching refs:SkImage_Lazy
49 friend class SkImage_Lazy;
55 class SkImage_Lazy : public SkImage_Base, public SkImageCacherator { class
69 SkImage_Lazy(Validator* validator);
96 return const_cast<SkImage_Lazy*>(this); in peekCacherator()
173 SkImage_Lazy::Validator::Validator(sk_sp<SharedGenerator> gen, const SkIRect* subset, in Validator()
214 class SkImage_Lazy::ScopedGenerator {
237 SkImage_Lazy::SkImage_Lazy(Validator* validator) in SkImage_Lazy() function in SkImage_Lazy
250 uint32_t SkImage_Lazy::getUniqueID(CachedFormat format) const { in getUniqueID()
292 SkImageCacherator::CachedFormat SkImage_Lazy::chooseCacheFormat(SkColorSpace* dstColorSpace, in chooseCacheFormat()
386 SkImageInfo SkImage_Lazy::buildCacheInfo(CachedFormat format) const { in buildCacheInfo()
426 bool SkImage_Lazy::directGeneratePixels(const SkImageInfo& info, void* pixels, size_t rb, in directGeneratePixels()
444 bool SkImage_Lazy::lockAsBitmapOnlyIfAlreadyCached(SkBitmap* bitmap, CachedFormat format) const { in lockAsBitmapOnlyIfAlreadyCached()
490 bool SkImage_Lazy::lockAsBitmap(SkBitmap* bitmap, SkImage::CachingHint chint, CachedFormat format, in lockAsBitmap()
539 bool SkImage_Lazy::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB, in onReadPixels()
566 SkData* SkImage_Lazy::onRefEncoded() const { in onRefEncoded()
571 bool SkImage_Lazy::getROPixels(SkBitmap* bitmap, SkColorSpace* dstColorSpace, in getROPixels()
580 bool SkImage_Lazy::onIsValid(GrContext* context) const { in onIsValid()
585 bool SkImage_Lazy::onCanLazyGenerateOnGPU() const { in onCanLazyGenerateOnGPU()
594 SkTransferFunctionBehavior SkImage_Lazy::getGeneratorBehaviorAndInfo(SkImageInfo* generatorImageInf… in getGeneratorBehaviorAndInfo()
615 sk_sp<GrTextureProxy> SkImage_Lazy::asTextureProxyRef(GrContext* context, in asTextureProxyRef()
629 sk_sp<SkImage> SkImage_Lazy::onMakeSubset(const SkIRect& subset) const { in onMakeSubset()
635 return validator ? sk_sp<SkImage>(new SkImage_Lazy(&validator)) : nullptr; in onMakeSubset()
638 sk_sp<SkImage> SkImage_Lazy::onMakeColorSpace(sk_sp<SkColorSpace> target, in onMakeColorSpace()
649 sk_sp<SkImage> result = validator ? sk_sp<SkImage>(new SkImage_Lazy(&validator)) : nullptr; in onMakeColorSpace()
659 SkImage_Lazy::Validator validator(SharedGenerator::Make(std::move(generator)), subset, nullptr); in MakeFromGenerator()
661 return validator ? sk_make_sp<SkImage_Lazy>(&validator) : nullptr; in MakeFromGenerator()
672 void SkImage_Lazy::makeCacheKeyFromOrigKey(const GrUniqueKey& origKey, CachedFormat format, in makeCacheKeyFromOrigKey()
704 sk_sp<SkColorSpace> SkImage_Lazy::getColorSpace(GrContext* ctx, SkColorSpace* dstColorSpace) { in getColorSpace()
721 sk_sp<GrTextureProxy> SkImage_Lazy::lockTextureProxy(GrContext* ctx, in lockTextureProxy()