Lines Matching refs:GrContextFactory
46 using sk_gpu_test::GrContextFactory;
296 GrContextFactory::ContextType api, in draw_with_gpu()
297 GrContextFactory* factory) { in draw_with_gpu()
309 auto overrides = GrContextFactory::ContextOverrides::kNone; in draw_with_gpu()
310 if (!FLAGS_stencils) { overrides |= GrContextFactory::ContextOverrides::kAvoidStencilBuffers; } in draw_with_gpu()
494 { "gl" , GrContextFactory::kGL_ContextType }, in main()
495 { "gles" , GrContextFactory::kGLES_ContextType }, in main()
496 { "angle_d3d9_es2" , GrContextFactory::kANGLE_D3D9_ES2_ContextType }, in main()
497 { "angle_d3d11_es2", GrContextFactory::kANGLE_D3D11_ES2_ContextType }, in main()
498 { "angle_d3d11_es3", GrContextFactory::kANGLE_D3D11_ES3_ContextType }, in main()
499 { "angle_gl_es2" , GrContextFactory::kANGLE_GL_ES2_ContextType }, in main()
500 { "angle_gl_es3" , GrContextFactory::kANGLE_GL_ES3_ContextType }, in main()
501 { "commandbuffer" , GrContextFactory::kCommandBuffer_ContextType }, in main()
502 { "vk" , GrContextFactory::kVulkan_ContextType }, in main()
503 { "mtl" , GrContextFactory::kMetal_ContextType }, in main()
504 { "mock" , GrContextFactory::kMock_ContextType }, in main()
586 GrContextFactory factory(options); // N.B. factory must outlive image in main()
604 image = draw_with_gpu(draw, info, (GrContextFactory::ContextType)backend, &factory); in main()
678 GrContextFactory::ContextTypeBackend((GrContextFactory::ContextType)backend); in main()