Lines Matching refs:backendContext
1067 sk_sp<GrDirectContext> GrDirectContext::MakeVulkan(const GrVkBackendContext& backendContext) { in MakeVulkan() argument
1069 return MakeVulkan(backendContext, defaultOptions); in MakeVulkan()
1072 sk_sp<GrDirectContext> GrDirectContext::MakeVulkan(const GrVkBackendContext& backendContext, in MakeVulkan() argument
1076 direct->fGpu = GrVkGpu::Make(backendContext, options, direct.get()); in MakeVulkan()
1087 sk_sp<GrDirectContext> GrDirectContext::MakeMetal(const GrMtlBackendContext& backendContext) { in MakeMetal() argument
1089 return MakeMetal(backendContext, defaultOptions); in MakeMetal()
1092 sk_sp<GrDirectContext> GrDirectContext::MakeMetal(const GrMtlBackendContext& backendContext, in MakeMetal() argument
1096 direct->fGpu = GrMtlTrampoline::MakeGpu(backendContext, options, direct.get()); in MakeMetal()
1115 GrMtlBackendContext backendContext = {}; in MakeMetal() local
1116 backendContext.fDevice.reset(device); in MakeMetal()
1117 backendContext.fQueue.reset(queue); in MakeMetal()
1119 return GrDirectContext::MakeMetal(backendContext, options); in MakeMetal()
1125 sk_sp<GrDirectContext> GrDirectContext::MakeDirect3D(const GrD3DBackendContext& backendContext) { in MakeDirect3D() argument
1127 return MakeDirect3D(backendContext, defaultOptions); in MakeDirect3D()
1130 sk_sp<GrDirectContext> GrDirectContext::MakeDirect3D(const GrD3DBackendContext& backendContext, in MakeDirect3D() argument
1134 direct->fGpu = GrD3DGpu::Make(backendContext, options, direct.get()); in MakeDirect3D()