Lines Matching refs:GrContextFactory
50 sk_gpu_test::GrContextFactory* factory = nullptr; in draw()
53 sk_gpu_test::GrContextFactory a_real_factory(options); in draw()
79 bool IsGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { in IsGLContextType()
80 return kOpenGL_GrBackend == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); in IsGLContextType()
82 bool IsVulkanContextType(sk_gpu_test::GrContextFactory::ContextType type) { in IsVulkanContextType()
83 return kVulkan_GrBackend == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); in IsVulkanContextType()
85 bool IsRenderingGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { in IsRenderingGLContextType()
86 return IsGLContextType(type) && sk_gpu_test::GrContextFactory::IsRenderingContext(type); in IsRenderingGLContextType()
88 bool IsNullGLContextType(sk_gpu_test::GrContextFactory::ContextType type) { in IsNullGLContextType()
89 return type == sk_gpu_test::GrContextFactory::kNullGL_ContextType; in IsNullGLContextType()
99 Reporter* reporter, sk_gpu_test::GrContextFactory* factory) { in RunWithGPUTestContexts()