Lines Matching refs:instance
162 ALOGE("failed to get HAL instance extension count");
169 ALOGE("failed to allocate HAL instance extension array");
175 ALOGE("failed to enumerate HAL instance extensions");
395 ALOGW("Ignored invalid instance extension %s", name);
534 PFN_vkVoidFunction GetInstanceProcAddr(VkInstance instance, const char* pName) {
537 return Hal::Device().GetInstanceProcAddr(instance, pName);
539 if (!instance) {
552 "internal vkGetInstanceProcAddr called for %s without an instance",
561 case ProcHook::INSTANCE:
562 proc = (GetData(instance).hook_extensions[hook->extension])
573 "internal vkGetInstanceProcAddr called for %s with an instance",
706 VkInstance instance;
709 &instance);
716 if (!SetData(instance, *data) ||
717 !InitDriverTable(instance, Hal::Device().GetInstanceProcAddr,
720 Hal::Device().GetInstanceProcAddr(instance, "vkDestroyInstance"));
722 data->driver.DestroyInstance(instance, pAllocator);
730 Hal::Device().GetInstanceProcAddr(instance, "vkGetDeviceProcAddr"));
732 data->driver.DestroyInstance(instance, pAllocator);
738 *pInstance = instance;
743 void DestroyInstance(VkInstance instance,
745 InstanceData& data = GetData(instance);
746 data.driver.DestroyInstance(instance, pAllocator);
820 VkResult EnumeratePhysicalDevices(VkInstance instance,
823 const auto& data = GetData(instance);
826 instance, pPhysicalDeviceCount, pPhysicalDevices);