Lines Matching refs:gpuConfig
933 if (const SkCommandLineConfigGpu* gpuConfig = config->asConfigGpu()) { in create_sink() local
935 if (!testFactory.get(gpuConfig->getContextType(), gpuConfig->getContextOverrides())) { in create_sink()
937 "GM tests will be skipped.\n", gpuConfig->getTag().c_str()); in create_sink()
940 if (gpuConfig->getTestThreading()) { in create_sink()
941 SkASSERT(!gpuConfig->getTestPersistentCache()); in create_sink()
942 return new GPUThreadTestingSink(gpuConfig, grCtxOptions); in create_sink()
943 } else if (gpuConfig->getTestPersistentCache()) { in create_sink()
944 return new GPUPersistentCacheTestingSink(gpuConfig, grCtxOptions); in create_sink()
945 } else if (gpuConfig->getTestPrecompile()) { in create_sink()
946 return new GPUPrecompileTestingSink(gpuConfig, grCtxOptions); in create_sink()
947 } else if (gpuConfig->getUseDDLSink()) { in create_sink()
948 return new GPUDDLSink(gpuConfig, grCtxOptions); in create_sink()
950 return new GPUSink(gpuConfig, grCtxOptions); in create_sink()