Lines Matching refs:grCtxOptions
939 static Sink* create_sink(const GrContextOptions& grCtxOptions, const SkCommandLineConfig* config) { in create_sink() argument
942 GrContextFactory testFactory(grCtxOptions); in create_sink()
950 return new GPUThreadTestingSink(gpuConfig, grCtxOptions); in create_sink()
952 return new GPUPersistentCacheTestingSink(gpuConfig, grCtxOptions); in create_sink()
954 return new GPUPrecompileTestingSink(gpuConfig, grCtxOptions); in create_sink()
956 return new GPUDDLSink(gpuConfig, grCtxOptions); in create_sink()
958 return new GPUOOPRSink(gpuConfig, grCtxOptions); in create_sink()
960 return new GPUSink(gpuConfig, grCtxOptions); in create_sink()
1033 static bool gather_sinks(const GrContextOptions& grCtxOptions, bool defaultConfigs) { in gather_sinks() argument
1039 Sink* sink = create_sink(grCtxOptions, &config); in gather_sinks()
1449 static void run_test(skiatest::Test test, const GrContextOptions& grCtxOptions) { in run_test() argument
1462 GrContextOptions options = grCtxOptions; in run_test()
1507 GrContextOptions grCtxOptions; in main() local
1508 CommonFlags::SetCtxOptions(&grCtxOptions); in main()
1533 if (!gather_sinks(grCtxOptions, defaultConfigs)) { in main()
1565 parallel.add([test, grCtxOptions] { run_test(test, grCtxOptions); }); in main()
1570 for (skiatest::Test& test : *gSerialTests) { run_test(test, grCtxOptions); } in main()