Searched refs:ctxOptions (Results 1 – 9 of 9) sorted by relevance
98 void SetCtxOptions(GrContextOptions* ctxOptions) { in SetCtxOptions() argument103 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 …]
31 void modifyGrContextOptions(GrContextOptions* ctxOptions) override { in modifyGrContextOptions() argument33 ctxOptions->fMaxTextureAtlasSize = fMaxAtlasSize; in modifyGrContextOptions()
22 void modifyGrContextOptions(GrContextOptions* ctxOptions) override { in modifyGrContextOptions() argument24 ctxOptions->fGpuPathRenderers &= ~GpuPathRenderers::kAtlas; in modifyGrContextOptions()
48 void modifyGrContextOptions(GrContextOptions* ctxOptions) override { in modifyGrContextOptions() argument49 ctxOptions->fAllowPathMaskCaching = true; in modifyGrContextOptions()
39 GrContextOptions ctxOptions; in make_mock_context() local40 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()
421 GrContextOptions ctxOptions; variable422 ctxOptions.fReduceOpsTaskSplitting = enableSortingAndReduction;423 sk_sp<GrDirectContext> dContext = GrDirectContext::MakeMock(&mockOptions, ctxOptions);
565 GrContextOptions ctxOptions; in main() local566 CommonFlags::SetCtxOptions(&ctxOptions); in main()567 sk_gpu_test::GrContextFactory factory(ctxOptions); in main()
804 GrContextOptions ctxOptions; in onDrawGlyphRunList() local808 ctxOptions.fMinDistanceFieldFontSize, in onDrawGlyphRunList()809 ctxOptions.fGlyphsAsPathsFontSize}; in onDrawGlyphRunList()
1724 GPUOOPRSink::GPUOOPRSink(const SkCommandLineConfigGpu* config, const GrContextOptions& ctxOptions) in GPUOOPRSink() argument1725 : INHERITED(config, ctxOptions) { in GPUOOPRSink()1793 GPUDDLSink::GPUDDLSink(const SkCommandLineConfigGpu* config, const GrContextOptions& ctxOptions) in GPUDDLSink() argument1794 : INHERITED(config, ctxOptions) in GPUDDLSink()