Lines Matching refs:validator
69 SkImage_Lazy(Validator* validator);
237 SkImage_Lazy::SkImage_Lazy(Validator* validator) in SkImage_Lazy() argument
238 : INHERITED(validator->fInfo.width(), validator->fInfo.height(), validator->fUniqueID) in SkImage_Lazy()
239 , fSharedGenerator(std::move(validator->fSharedGenerator)) in SkImage_Lazy()
240 , fInfo(validator->fInfo) in SkImage_Lazy()
241 , fOrigin(validator->fOrigin) { in SkImage_Lazy()
245 fIDRecs[kLegacy_CachedFormat].fOnce([this, validator] { in SkImage_Lazy()
246 fIDRecs[kLegacy_CachedFormat].fUniqueID = validator->fUniqueID; in SkImage_Lazy()
634 Validator validator(fSharedGenerator, &generatorSubset, fInfo.refColorSpace()); in onMakeSubset() local
635 return validator ? sk_sp<SkImage>(new SkImage_Lazy(&validator)) : nullptr; in onMakeSubset()
648 Validator validator(fSharedGenerator, &generatorSubset, target); in onMakeColorSpace() local
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() local
661 return validator ? sk_make_sp<SkImage_Lazy>(&validator) : nullptr; in MakeFromGenerator()