Searched refs:vkBackendContext (Results 1 – 2 of 2) sorted by relevance
28 vkBackendContext.fInstance = vkInstance;29 vkBackendContext.fPhysicalDevice = vkPhysDevice;31 vkBackendContext.fInterface.reset(GrVkCreateInterface(instance, vkPhysDevice, extensionFlags);34 …_sp<GrContext> context = GrContext::Create(kVulkan_GrBackend, (GrBackendContext) vkBackendContext);
72 const GrVkBackendContext* vkBackendContext = in Create() local74 if (!vkBackendContext) { in Create()75 vkBackendContext = GrVkBackendContext::Create(); in Create()76 if (!vkBackendContext) { in Create()80 vkBackendContext->ref(); in Create()83 if (!vkBackendContext->fInterface->validate(vkBackendContext->fExtensions)) { in Create()87 return new GrVkGpu(context, options, vkBackendContext); in Create()