Home
last modified time | relevance | path

Searched refs:ctxOptions (Results 1 – 6 of 6) sorted by relevance

/external/skia/tools/flags/
DSkCommonFlags.cpp172 void SetCtxOptionsFromCommonFlags(GrContextOptions* ctxOptions) { in SetCtxOptionsFromCommonFlags() argument
175 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()
/external/skqp/tools/flags/
DSkCommonFlags.cpp178 void SetCtxOptionsFromCommonFlags(GrContextOptions* ctxOptions) { in SetCtxOptionsFromCommonFlags() argument
181 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()
/external/skia/tests/
DGrCCPRTest.cpp157 GrContextOptions ctxOptions; in run() local
158 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() argument
387 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()
743 void customizeOptions(GrMockOptions*, GrContextOptions* ctxOptions) override { in customizeOptions() argument
744 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()
/external/skqp/tests/
DGrCCPRTest.cpp156 GrContextOptions ctxOptions; in run() local
157 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() argument
386 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()
742 void customizeOptions(GrMockOptions*, GrContextOptions* ctxOptions) override { in customizeOptions() argument
743 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()
/external/skqp/tools/skpbench/
Dskpbench.cpp391 GrContextOptions ctxOptions; in main() local
392 SetCtxOptionsFromCommonFlags(&ctxOptions); in main()
393 sk_gpu_test::GrContextFactory factory(ctxOptions); in main()
/external/skia/tools/skpbench/
Dskpbench.cpp391 GrContextOptions ctxOptions; in main() local
392 SetCtxOptionsFromCommonFlags(&ctxOptions); in main()
393 sk_gpu_test::GrContextFactory factory(ctxOptions); in main()