Searched refs:ContextTypeBackend (Results 1 – 8 of 8) sorted by relevance
30 return GrBackendApi::kOpenGL == GrContextFactory::ContextTypeBackend(type); in IsGLContextType()33 return GrBackendApi::kVulkan == GrContextFactory::ContextTypeBackend(type); in IsVulkanContextType()36 return GrBackendApi::kMetal == GrContextFactory::ContextTypeBackend(type); in IsMetalContextType()39 return GrBackendApi::kDirect3D == GrContextFactory::ContextTypeBackend(type); in IsDirect3DContextType()42 return GrBackendApi::kDawn == GrContextFactory::ContextTypeBackend(type); in IsDawnContextType()
43 return GrBackendApi::kOpenGL == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); in IsGLContextType()46 return GrBackendApi::kVulkan == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); in IsVulkanContextType()49 return GrBackendApi::kMetal == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); in IsMetalContextType()52 return GrBackendApi::kDirect3D == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); in IsDirect3DContextType()55 return GrBackendApi::kDawn == sk_gpu_test::GrContextFactory::ContextTypeBackend(type); in IsDawnContextType()
244 GrBackendApi api = sk_gpu_test::GrContextFactory::ContextTypeBackend(contextType); in DEF_GANESH_TEST()
77 static GrBackendApi ContextTypeBackend(ContextType type) { in ContextTypeBackend() function186 GrBackendApi backend() const { return GrContextFactory::ContextTypeBackend(fType); } in backend()
167 GrBackendApi backend = ContextTypeBackend(type); in getContextInfoInternal()
34 return GrBackendApi::kOpenGL == GrContextFactory::ContextTypeBackend(type); in IsGLContextType()37 return GrBackendApi::kVulkan == GrContextFactory::ContextTypeBackend(type); in IsVulkanContextType()
273 return GrBackendApi::kOpenGL == sk_gpu_test::GrContextFactory::ContextTypeBackend(ct); in IsGLContextType()
690 GrContextFactory::ContextTypeBackend((GrContextFactory::ContextType)backend); in main()