Lines Matching defs:SharedGenerator
38 class SharedGenerator final : public SkNVRefCnt<SharedGenerator> {
40 static sk_sp<SharedGenerator> Make(std::unique_ptr<SkImageGenerator> gen) {
41 return gen ? sk_sp<SharedGenerator>(new SharedGenerator(std::move(gen))) : nullptr;
48 explicit SharedGenerator(std::unique_ptr<SkImageGenerator> gen)
62 SkImage_Lazy::Validator::Validator(sk_sp<SharedGenerator> gen, const SkColorType* colorType,
99 ScopedGenerator(const sk_sp<SharedGenerator>& gen)
114 const sk_sp<SharedGenerator>& fSharedGenerator;
246 validator(SharedGenerator::Make(std::move(generator)), nullptr, nullptr);