Lines Matching refs:GetFactories
89 GetFactories()->push_back(this); in GrProcessorTestFactory()
95 SkASSERT(GetFactories()->count()); in Make()
96 uint32_t idx = data->fRandom->nextRangeU(0, GetFactories()->count() - 1); in Make()
101 static int Count() { return GetFactories()->count(); } in Count()
105 GrProcessorTestFactory<ProcessorSmartPtr>* factory = (*GetFactories())[idx]; in MakeIdx()
119 static SkTArray<GrProcessorTestFactory<ProcessorSmartPtr>*, true>* GetFactories();
129 GrXPFactoryTestFactory(GetFn* getProc) : fGetProc(getProc) { GetFactories()->push_back(this); } in GrXPFactoryTestFactory()
133 SkASSERT(GetFactories()->count()); in Get()
134 uint32_t idx = data->fRandom->nextRangeU(0, GetFactories()->count() - 1); in Get()
135 const GrXPFactory* xpf = (*GetFactories())[idx]->fGetProc(data); in Get()
144 static SkTArray<GrXPFactoryTestFactory*, true>* GetFactories();