Home
last modified time | relevance | path

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

/external/skia/tools/flags/
DCommonFlagsGpu.cpp90 void SetCtxOptionsFromCommonFlags(GrContextOptions* ctxOptions) { in SetCtxOptionsFromCommonFlags() argument
95 ctxOptions->fExecutor = gGpuExecutor.get(); in SetCtxOptionsFromCommonFlags()
96 ctxOptions->fAllowPathMaskCaching = FLAGS_cachePathMasks; in SetCtxOptionsFromCommonFlags()
97 ctxOptions->fAllPathsVolatile = FLAGS_allPathsVolatile; in SetCtxOptionsFromCommonFlags()
98 ctxOptions->fSuppressGeometryShaders = !FLAGS_gs; in SetCtxOptionsFromCommonFlags()
99 ctxOptions->fEnableExperimentalHardwareTessellation = FLAGS_hwtess; in SetCtxOptionsFromCommonFlags()
100 ctxOptions->fMaxTessellationSegmentsOverride = FLAGS_maxTessellationSegments; in SetCtxOptionsFromCommonFlags()
101 ctxOptions->fGpuPathRenderers = collect_gpu_path_renderers_from_flags(); in SetCtxOptionsFromCommonFlags()
102 ctxOptions->fInternalMultisampleCount = FLAGS_internalSamples; in SetCtxOptionsFromCommonFlags()
103 ctxOptions->fDisableDriverCorrectnessWorkarounds = FLAGS_disableDriverCorrectnessWorkarounds; in SetCtxOptionsFromCommonFlags()
[all …]
/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/gm/
Dpreservefillrule.cpp47 void modifyGrContextOptions(GrContextOptions* ctxOptions) override { in modifyGrContextOptions() argument
48 ctxOptions->fGpuPathRenderers = GpuPathRenderers::kCoverageCounting; in modifyGrContextOptions()
49 ctxOptions->fAllowPathMaskCaching = true; in modifyGrContextOptions()
/external/skia/tests/
DGrCCPRTest.cpp126 GrContextOptions ctxOptions; in run() local
127 ctxOptions.fAllowPathMaskCaching = false; in run()
128 ctxOptions.fGpuPathRenderers = GpuPathRenderers::kCoverageCounting; in run()
130 this->customizeOptions(&mockOptions, &ctxOptions); in run()
132 sk_sp<GrDirectContext> mockContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions); in run()
DGrMipMappedTest.cpp419 GrContextOptions ctxOptions; variable
420 ctxOptions.fReduceOpsTaskSplitting = enableSortingAndReduction;
421 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions);
DStrokeIndirectTest.cpp29 GrContextOptions ctxOptions; in make_mock_context() local
30 ctxOptions.fGpuPathRenderers = GpuPathRenderers::kTessellation; in make_mock_context()
32 return GrDirectContext::MakeMock(&mockOptions, ctxOptions); in make_mock_context()
/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/skia/bench/
DTessellateBench.cpp38 GrContextOptions ctxOptions; in make_mock_context() local
39 ctxOptions.fGpuPathRenderers = GpuPathRenderers::kTessellation; in make_mock_context()
40 ctxOptions.fEnableExperimentalHardwareTessellation = true; in make_mock_context()
42 return GrDirectContext::MakeMock(&mockOptions, ctxOptions); in make_mock_context()
/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.cpp564 GrContextOptions ctxOptions; in main() local
565 SetCtxOptionsFromCommonFlags(&ctxOptions); in main()
566 sk_gpu_test::GrContextFactory factory(ctxOptions); in main()
/external/skia/src/core/
DSkRemoteGlyphCache.cpp834 GrContextOptions ctxOptions; in onDrawGlyphRunList() local
838 ctxOptions.fMinDistanceFieldFontSize, in onDrawGlyphRunList()
839 ctxOptions.fGlyphsAsPathsFontSize}; in onDrawGlyphRunList()
/external/skia/dm/
DDMSrcSink.cpp1713 GPUOOPRSink::GPUOOPRSink(const SkCommandLineConfigGpu* config, const GrContextOptions& ctxOptions) in GPUOOPRSink() argument
1714 : INHERITED(config, ctxOptions) { in GPUOOPRSink()
1782 GPUDDLSink::GPUDDLSink(const SkCommandLineConfigGpu* config, const GrContextOptions& ctxOptions) in GPUDDLSink() argument
1783 : INHERITED(config, ctxOptions) in GPUDDLSink()