Searched refs:ctxOptions (Results 1 – 6 of 6) sorted by relevance
172 void SetCtxOptionsFromCommonFlags(GrContextOptions* ctxOptions) { in SetCtxOptionsFromCommonFlags() argument175 ctxOptions->fExecutor = gGpuExecutor.get(); in SetCtxOptionsFromCommonFlags()176 ctxOptions->fAllowPathMaskCaching = FLAGS_cachePathMasks; in SetCtxOptionsFromCommonFlags()177 ctxOptions->fSuppressGeometryShaders = FLAGS_noGS; in SetCtxOptionsFromCommonFlags()178 ctxOptions->fGpuPathRenderers = CollectGpuPathRenderersFromFlags(); in SetCtxOptionsFromCommonFlags()179 ctxOptions->fDisableDriverCorrectnessWorkarounds = FLAGS_disableDriverCorrectnessWorkarounds; in SetCtxOptionsFromCommonFlags()182 ctxOptions->fExplicitlyAllocateGPUResources = GrContextOptions::Enable::kNo; in SetCtxOptionsFromCommonFlags()184 ctxOptions->fSortRenderTargets = GrContextOptions::Enable::kNo; in SetCtxOptionsFromCommonFlags()188 ctxOptions->fReduceOpListSplitting = GrContextOptions::Enable::kYes; in SetCtxOptionsFromCommonFlags()
178 void SetCtxOptionsFromCommonFlags(GrContextOptions* ctxOptions) { in SetCtxOptionsFromCommonFlags() argument181 ctxOptions->fExecutor = gGpuExecutor.get(); in SetCtxOptionsFromCommonFlags()182 ctxOptions->fAllowPathMaskCaching = FLAGS_cachePathMasks; in SetCtxOptionsFromCommonFlags()183 ctxOptions->fSuppressGeometryShaders = FLAGS_noGS; in SetCtxOptionsFromCommonFlags()184 ctxOptions->fGpuPathRenderers = CollectGpuPathRenderersFromFlags(); in SetCtxOptionsFromCommonFlags()185 ctxOptions->fDisableDriverCorrectnessWorkarounds = FLAGS_disableDriverCorrectnessWorkarounds; in SetCtxOptionsFromCommonFlags()188 ctxOptions->fExplicitlyAllocateGPUResources = GrContextOptions::Enable::kNo; in SetCtxOptionsFromCommonFlags()190 ctxOptions->fSortRenderTargets = GrContextOptions::Enable::kNo; in SetCtxOptionsFromCommonFlags()194 ctxOptions->fReduceOpListSplitting = GrContextOptions::Enable::kYes; in SetCtxOptionsFromCommonFlags()
157 GrContextOptions ctxOptions; in run() local158 ctxOptions.fAllowPathMaskCaching = false; in run()159 ctxOptions.fGpuPathRenderers = GpuPathRenderers::kCoverageCounting; in run()161 this->customizeOptions(&mockOptions, &ctxOptions); in run()163 sk_sp<GrContext> mockContext = GrContext::MakeMock(&mockOptions, ctxOptions); in run()386 void customizeOptions(GrMockOptions*, GrContextOptions* ctxOptions) override { in customizeOptions() argument387 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()743 void customizeOptions(GrMockOptions*, GrContextOptions* ctxOptions) override { in customizeOptions() argument744 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()
156 GrContextOptions ctxOptions; in run() local157 ctxOptions.fAllowPathMaskCaching = false; in run()158 ctxOptions.fGpuPathRenderers = GpuPathRenderers::kCoverageCounting; in run()160 this->customizeOptions(&mockOptions, &ctxOptions); in run()162 sk_sp<GrContext> mockContext = GrContext::MakeMock(&mockOptions, ctxOptions); in run()385 void customizeOptions(GrMockOptions*, GrContextOptions* ctxOptions) override { in customizeOptions() argument386 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()742 void customizeOptions(GrMockOptions*, GrContextOptions* ctxOptions) override { in customizeOptions() argument743 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()
391 GrContextOptions ctxOptions; in main() local392 SetCtxOptionsFromCommonFlags(&ctxOptions); in main()393 sk_gpu_test::GrContextFactory factory(ctxOptions); in main()