Home
last modified time | relevance | path

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

/third_party/skia/tools/flags/
DCommonFlagsGpu.cpp98 void SetCtxOptions(GrContextOptions* ctxOptions) { in SetCtxOptions() argument
103 ctxOptions->fExecutor = gGpuExecutor.get(); in SetCtxOptions()
104 ctxOptions->fAllowPathMaskCaching = FLAGS_cachePathMasks; in SetCtxOptions()
105 ctxOptions->fAllPathsVolatile = FLAGS_allPathsVolatile; in SetCtxOptions()
106 ctxOptions->fEnableExperimentalHardwareTessellation = FLAGS_hwtess; in SetCtxOptions()
107 ctxOptions->fMaxTessellationSegmentsOverride = FLAGS_maxTessellationSegments; in SetCtxOptions()
108 ctxOptions->fAlwaysPreferHardwareTessellation = FLAGS_alwaysHwTess; in SetCtxOptions()
109 ctxOptions->fGpuPathRenderers = collect_gpu_path_renderers_from_flags(); in SetCtxOptions()
110 ctxOptions->fDisableDriverCorrectnessWorkarounds = FLAGS_disableDriverCorrectnessWorkarounds; in SetCtxOptions()
111 ctxOptions->fResourceCacheLimitOverride = FLAGS_gpuResourceCacheLimit; in SetCtxOptions()
[all …]
/third_party/flutter/skia/tools/flags/
DCommonFlagsGpu.cpp80 void SetCtxOptionsFromCommonFlags(GrContextOptions* ctxOptions) { in SetCtxOptionsFromCommonFlags() argument
85 ctxOptions->fExecutor = gGpuExecutor.get(); in SetCtxOptionsFromCommonFlags()
86 ctxOptions->fDisableCoverageCountingPaths = !FLAGS_cc; in SetCtxOptionsFromCommonFlags()
87 ctxOptions->fAllowPathMaskCaching = FLAGS_cachePathMasks; in SetCtxOptionsFromCommonFlags()
88 ctxOptions->fSuppressGeometryShaders = FLAGS_noGS; in SetCtxOptionsFromCommonFlags()
89 ctxOptions->fGpuPathRenderers = collect_gpu_path_renderers_from_flags(); in SetCtxOptionsFromCommonFlags()
90 ctxOptions->fDisableDriverCorrectnessWorkarounds = FLAGS_disableDriverCorrectnessWorkarounds; in SetCtxOptionsFromCommonFlags()
94 ctxOptions->fReduceOpListSplitting = GrContextOptions::Enable::kYes; in SetCtxOptionsFromCommonFlags()
96 ctxOptions->fReduceOpListSplitting = GrContextOptions::Enable::kNo; in SetCtxOptionsFromCommonFlags()
/third_party/flutter/skia/gm/
Dpreservefillrule.cpp56 void modifyGrContextOptions(GrContextOptions* ctxOptions) override { in modifyGrContextOptions() argument
57 ctxOptions->fGpuPathRenderers = GpuPathRenderers::kCoverageCounting; in modifyGrContextOptions()
58 ctxOptions->fAllowPathMaskCaching = true; in modifyGrContextOptions()
/third_party/skia/gm/
Dmanypathatlases.cpp31 void modifyGrContextOptions(GrContextOptions* ctxOptions) override { in modifyGrContextOptions() argument
33 ctxOptions->fMaxTextureAtlasSize = fMaxAtlasSize; in modifyGrContextOptions()
Dbatchedconvexpaths.cpp22 void modifyGrContextOptions(GrContextOptions* ctxOptions) override { in modifyGrContextOptions() argument
24 ctxOptions->fGpuPathRenderers &= ~GpuPathRenderers::kAtlas; in modifyGrContextOptions()
Dpreservefillrule.cpp48 void modifyGrContextOptions(GrContextOptions* ctxOptions) override { in modifyGrContextOptions() argument
49 ctxOptions->fAllowPathMaskCaching = true; in modifyGrContextOptions()
/third_party/flutter/skia/tests/
DGrCCPRTest.cpp158 GrContextOptions ctxOptions; in run() local
159 ctxOptions.fDisableCoverageCountingPaths = (DoCoverageCount::kNo == doCoverageCount); in run()
160 ctxOptions.fAllowPathMaskCaching = false; in run()
161 ctxOptions.fGpuPathRenderers = GpuPathRenderers::kCoverageCounting; in run()
163 this->customizeOptions(&mockOptions, &ctxOptions); in run()
165 sk_sp<GrContext> mockContext = GrContext::MakeMock(&mockOptions, ctxOptions); in run()
390 void customizeOptions(GrMockOptions*, GrContextOptions* ctxOptions) override { in customizeOptions() argument
391 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()
747 void customizeOptions(GrMockOptions*, GrContextOptions* ctxOptions) override { in customizeOptions() argument
748 ctxOptions->fAllowPathMaskCaching = true; in customizeOptions()
/third_party/skia/bench/
DTessellateBench.cpp39 GrContextOptions ctxOptions; in make_mock_context() local
40 ctxOptions.fGpuPathRenderers = GpuPathRenderers::kTessellation; in make_mock_context()
41 ctxOptions.fEnableExperimentalHardwareTessellation = true; in make_mock_context()
43 return GrDirectContext::MakeMock(&mockOptions, ctxOptions); in make_mock_context()
/third_party/skia/tests/
DGrMipMappedTest.cpp421 GrContextOptions ctxOptions; variable
422 ctxOptions.fReduceOpsTaskSplitting = enableSortingAndReduction;
423 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions);
/third_party/flutter/skia/tools/skpbench/
Dskpbench.cpp468 GrContextOptions ctxOptions; in main() local
469 SetCtxOptionsFromCommonFlags(&ctxOptions); in main()
470 sk_gpu_test::GrContextFactory factory(ctxOptions); in main()
/third_party/skia/tools/skpbench/
Dskpbench.cpp565 GrContextOptions ctxOptions; in main() local
566 CommonFlags::SetCtxOptions(&ctxOptions); in main()
567 sk_gpu_test::GrContextFactory factory(ctxOptions); in main()
/third_party/skia/src/core/
DSkRemoteGlyphCache.cpp804 GrContextOptions ctxOptions; in onDrawGlyphRunList() local
808 ctxOptions.fMinDistanceFieldFontSize, in onDrawGlyphRunList()
809 ctxOptions.fGlyphsAsPathsFontSize}; in onDrawGlyphRunList()
/third_party/skia/dm/
DDMSrcSink.cpp1724 GPUOOPRSink::GPUOOPRSink(const SkCommandLineConfigGpu* config, const GrContextOptions& ctxOptions) in GPUOOPRSink() argument
1725 : INHERITED(config, ctxOptions) { in GPUOOPRSink()
1793 GPUDDLSink::GPUDDLSink(const SkCommandLineConfigGpu* config, const GrContextOptions& ctxOptions) in GPUDDLSink() argument
1794 : INHERITED(config, ctxOptions) in GPUDDLSink()