Lines Matching defs:options
81 GrDirectContext::GrDirectContext(GrBackendApi backend, const GrContextOptions& options)
82 : INHERITED(GrContextThreadSafeProxyPriv::Make(backend, options), false)
238 if (this->options().fResourceCacheLimitOverride != -1) {
239 this->setResourceCacheLimit(this->options().fResourceCacheLimitOverride);
250 if (this->options().fExecutor) {
251 fTaskGroup = std::make_unique<SkTaskGroup>(*this->options().fExecutor);
254 fPersistentCache = this->options().fPersistentCache;
257 if (GrContextOptions::Enable::kNo == this->options().fAllowMultipleGlyphCacheTextures ||
269 this->options().fGlyphCacheTextureMaximumBytes,
1206 sk_sp<GrDirectContext> GrDirectContext::MakeGL(const GrContextOptions& options) {
1207 return MakeGL(nullptr, options);
1245 const GrContextOptions& options) {
1246 sk_sp<GrDirectContext> direct(new GrDirectContext(GrBackendApi::kOpenGL, options));
1248 if (options.fRandomGLOOM) {
1259 direct->fGpu = GrGLGpu::Make(std::move(glInterface), options, direct.get());
1274 const GrContextOptions& options) {
1275 sk_sp<GrDirectContext> direct(new GrDirectContext(GrBackendApi::kMock, options));
1277 direct->fGpu = GrMockGpu::Make(mockOptions, options, direct.get());
1293 const GrContextOptions& options) {
1294 sk_sp<GrDirectContext> direct(new GrDirectContext(GrBackendApi::kVulkan, options));
1296 direct->fGpu = GrVkGpu::Make(backendContext, options, direct.get());
1313 const GrContextOptions& options) {
1314 sk_sp<GrDirectContext> direct(new GrDirectContext(GrBackendApi::kMetal, options));
1316 direct->fGpu = GrMtlTrampoline::MakeGpu(backendContext, options, direct.get());
1333 const GrContextOptions& options) {
1334 sk_sp<GrDirectContext> direct(new GrDirectContext(GrBackendApi::kMetal, options));
1339 return GrDirectContext::MakeMetal(backendContext, options);
1351 const GrContextOptions& options) {
1352 sk_sp<GrDirectContext> direct(new GrDirectContext(GrBackendApi::kDirect3D, options));
1354 direct->fGpu = GrD3DGpu::Make(backendContext, options, direct.get());
1371 const GrContextOptions& options) {
1372 sk_sp<GrDirectContext> direct(new GrDirectContext(GrBackendApi::kDawn, options));
1374 direct->fGpu = GrDawnGpu::Make(device, options, direct.get());