Home | History | Annotate | Download | only in image

Lines Matching refs:SkImage_Lazy

8 #include "SkImage_Lazy.h"
47 friend class SkImage_Lazy;
55 SkImage_Lazy::Validator::Validator(sk_sp<SharedGenerator> gen, const SkIRect* subset,
101 class SkImage_Lazy::ScopedGenerator {
124 SkImage_Lazy::SkImage_Lazy(Validator* validator)
133 SkImage_Lazy::~SkImage_Lazy() {
180 bool SkImage_Lazy::getROPixels(SkBitmap* bitmap, SkImage::CachingHint chint) const {
218 bool SkImage_Lazy::onReadPixels(const SkImageInfo& dstInfo, void* dstPixels, size_t dstRB,
227 sk_sp<SkData> SkImage_Lazy::onRefEncoded() const {
232 bool SkImage_Lazy::onIsValid(GrContext* context) const {
240 sk_sp<GrTextureProxy> SkImage_Lazy::asTextureProxyRef(GrContext* context,
252 sk_sp<SkImage> SkImage_Lazy::onMakeSubset(const SkIRect& subset) const {
259 return validator ? sk_sp<SkImage>(new SkImage_Lazy(&validator)) : nullptr;
262 sk_sp<SkImage> SkImage_Lazy::onMakeColorTypeAndColorSpace(SkColorType targetCT,
273 sk_sp<SkImage> result = validator ? sk_sp<SkImage>(new SkImage_Lazy(&validator)) : nullptr;
282 SkImage_Lazy::Validator
285 return validator ? sk_make_sp<SkImage_Lazy>(&validator) : nullptr;
292 void SkImage_Lazy::makeCacheKeyFromOrigKey(const GrUniqueKey& origKey,
341 sk_sp<SkCachedData> SkImage_Lazy::getPlanes(SkYUVASizeInfo* yuvaSizeInfo,
365 sk_sp<GrTextureProxy> SkImage_Lazy::lockTextureProxy(