Home
last modified time | relevance | path

Searched refs:GrProcessorTestFactory (Results 1 – 5 of 5) sorted by relevance

/external/skia/src/gpu/
DGrProcessorUnitTest.h78 template <class Processor> class GrProcessorTestFactory : private SkNoncopyable {
82 GrProcessorTestFactory(MakeProc makeProc) { in GrProcessorTestFactory() function
100 GrProcessorTestFactory<Processor>* factory = (*GetFactories())[idx]; in MakeIdx()
114 static SkTArray<GrProcessorTestFactory<Processor>*, true>* GetFactories();
143 static GrProcessorTestFactory<GrGeometryProcessor> gTestFactory SK_UNUSED; \
147 static GrProcessorTestFactory<GrFragmentProcessor> gTestFactory SK_UNUSED; \
159 GrProcessorTestFactory<GrFragmentProcessor> Effect::gTestFactory(Effect::TestCreate)
162 GrProcessorTestFactory<GrGeometryProcessor> Effect::gTestFactory(Effect::TestCreate)
DGrProcessor.cpp37 SkTArray<GrProcessorTestFactory<GrFragmentProcessor>*, true>*
38 GrProcessorTestFactory<GrFragmentProcessor>::GetFactories() { in GetFactories()
39 static SkTArray<GrProcessorTestFactory<GrFragmentProcessor>*, true> gFactories; in GetFactories()
44 SkTArray<GrProcessorTestFactory<GrGeometryProcessor>*, true>*
45 GrProcessorTestFactory<GrGeometryProcessor>::GetFactories() { in GetFactories()
46 static SkTArray<GrProcessorTestFactory<GrGeometryProcessor>*, true> gFactories; in GetFactories()
65 void GrProcessorTestFactory<GrFragmentProcessor>::VerifyFactoryCount() { in VerifyFactoryCount()
74 void GrProcessorTestFactory<GrGeometryProcessor>::VerifyFactoryCount() { in VerifyFactoryCount()
DGrProcessorUnitTest.cpp17 fp = GrProcessorTestFactory<GrFragmentProcessor>::Make(data); in MakeChildFP()
/external/skia/tests/
DGLProgramsTest.cpp180 fp = GrProcessorTestFactory<GrFragmentProcessor>::Make(d); in create_random_proc_tree()
228 sk_sp<GrFragmentProcessor> fp(GrProcessorTestFactory<GrFragmentProcessor>::Make(d)); in set_random_color_coverage_stages()
319 int fpFactoryCnt = GrProcessorTestFactory<GrFragmentProcessor>::Count(); in ProgramUnitTest()
328 GrProcessorTestFactory<GrFragmentProcessor>::MakeIdx(i, &ptd)); in ProgramUnitTest()
DProcessorTest.cpp291 using FPFactory = GrProcessorTestFactory<GrFragmentProcessor>; in DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS()