Lines Matching refs:backendContext
1287 sk_sp<GrDirectContext> GrDirectContext::MakeVulkan(const GrVkBackendContext& backendContext) {
1289 return MakeVulkan(backendContext, defaultOptions);
1292 sk_sp<GrDirectContext> GrDirectContext::MakeVulkan(const GrVkBackendContext& backendContext,
1296 direct->fGpu = GrVkGpu::Make(backendContext, options, direct.get());
1307 sk_sp<GrDirectContext> GrDirectContext::MakeMetal(const GrMtlBackendContext& backendContext) {
1309 return MakeMetal(backendContext, defaultOptions);
1312 sk_sp<GrDirectContext> GrDirectContext::MakeMetal(const GrMtlBackendContext& backendContext,
1316 direct->fGpu = GrMtlTrampoline::MakeGpu(backendContext, options, direct.get());
1335 GrMtlBackendContext backendContext = {};
1336 backendContext.fDevice.reset(device);
1337 backendContext.fQueue.reset(queue);
1339 return GrDirectContext::MakeMetal(backendContext, options);
1345 sk_sp<GrDirectContext> GrDirectContext::MakeDirect3D(const GrD3DBackendContext& backendContext) {
1347 return MakeDirect3D(backendContext, defaultOptions);
1350 sk_sp<GrDirectContext> GrDirectContext::MakeDirect3D(const GrD3DBackendContext& backendContext,
1354 direct->fGpu = GrD3DGpu::Make(backendContext, options, direct.get());