• Home
  • Raw
  • Download

Lines Matching refs:GrContextFactory

93 using sk_gpu_test::GrContextFactory;
847 GrContextFactory::ContextType contextType = gpuConfig->getContextType(); in create_sink()
848 GrContextFactory::ContextOverrides contextOverrides = gpuConfig->getContextOverrides(); in create_sink()
849 GrContextFactory testFactory(grCtxOptions); in create_sink()
1245 GrContextFactory factory(grCtxOptions); in run_test()
1391 bool IsGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { in IsGLContextType()
1392 return kOpenGL_GrBackend == GrContextFactory::ContextTypeBackend(type); in IsGLContextType()
1394 bool IsVulkanContextType(sk_gpu_test::GrContextFactory::ContextType type) { in IsVulkanContextType()
1395 return kVulkan_GrBackend == GrContextFactory::ContextTypeBackend(type); in IsVulkanContextType()
1397 bool IsRenderingGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { in IsRenderingGLContextType()
1398 return IsGLContextType(type) && GrContextFactory::IsRenderingContext(type); in IsRenderingGLContextType()
1400 bool IsNullGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { in IsNullGLContextType()
1401 return type == GrContextFactory::kNullGL_ContextType; in IsNullGLContextType()
1411 Reporter* reporter, GrContextFactory* factory) { in RunWithGPUTestContexts()
1415 static constexpr auto kNativeGLType = GrContextFactory::kGL_ContextType; in RunWithGPUTestContexts()
1417 static constexpr auto kNativeGLType = GrContextFactory::kGLES_ContextType; in RunWithGPUTestContexts()
1420 for (int typeInt = 0; typeInt < GrContextFactory::kContextTypeCnt; ++typeInt) { in RunWithGPUTestContexts()
1421 GrContextFactory::ContextType contextType = (GrContextFactory::ContextType) typeInt; in RunWithGPUTestContexts()
1424 if (contextType == GrContextFactory::kGL_ContextType || in RunWithGPUTestContexts()
1425 contextType == GrContextFactory::kGLES_ContextType) { in RunWithGPUTestContexts()
1431 GrContextFactory::ContextOverrides::kDisableNVPR); in RunWithGPUTestContexts()
1435 ReporterContext ctx(reporter, SkString(GrContextFactory::ContextTypeName(contextType))); in RunWithGPUTestContexts()
1440 GrContextFactory::ContextOverrides::kRequireNVPRSupport); in RunWithGPUTestContexts()