Lines Matching refs:name
242 const char* name) { in GetInstanceProcAddr() argument
244 if (strcmp(name, "vkCreateInstance") == 0) in GetInstanceProcAddr()
246 if (strcmp(name, "vkDestroyInstance") == 0) in GetInstanceProcAddr()
248 if (strcmp(name, "vkEnumerateInstanceExtensionProperties") == 0) in GetInstanceProcAddr()
251 if (strcmp(name, "vkEnumeratePhysicalDevices") == 0) in GetInstanceProcAddr()
253 if (strcmp(name, "vkEnumerateInstanceVersion") == 0) in GetInstanceProcAddr()
255 if (strcmp(name, "vkEnumeratePhysicalDeviceGroups") == 0) in GetInstanceProcAddr()
258 if (strcmp(name, "vkEnumeratePhysicalDeviceGroupsKHR") == 0) in GetInstanceProcAddr()
261 if (strcmp(name, "vkGetInstanceProcAddr") == 0) in GetInstanceProcAddr()
263 if (strcmp(name, "vkCreateDebugReportCallbackEXT") == 0) in GetInstanceProcAddr()
265 if (strcmp(name, "vkDestroyDebugReportCallbackEXT") == 0) in GetInstanceProcAddr()
267 if (strcmp(name, "vkDebugReportMessageEXT") == 0) in GetInstanceProcAddr()
269 if (strcmp(name, "vkCreateDebugUtilsMessengerEXT") == 0) in GetInstanceProcAddr()
271 if (strcmp(name, "vkDestroyDebugUtilsMessengerEXT") == 0) in GetInstanceProcAddr()
273 if (strcmp(name, "vkSubmitDebugUtilsMessageEXT") == 0) in GetInstanceProcAddr()
276 if (strcmp(name, "vkGetMemoryZirconHandleFUCHSIA") == 0) in GetInstanceProcAddr()
278 if (strcmp(name, "vkGetMemoryZirconHandlePropertiesFUCHSIA") == 0) in GetInstanceProcAddr()
280 if (strcmp(name, "vkGetSemaphoreZirconHandleFUCHSIA") == 0) in GetInstanceProcAddr()
282 if (strcmp(name, "vkImportSemaphoreZirconHandleFUCHSIA") == 0) in GetInstanceProcAddr()
284 if (strcmp(name, "vkCreateBufferCollectionFUCHSIA") == 0) in GetInstanceProcAddr()
286 if (strcmp(name, "vkDestroyBufferCollectionFUCHSIA") == 0) in GetInstanceProcAddr()
288 if (strcmp(name, "vkSetBufferCollectionConstraintsFUCHSIA") == 0) in GetInstanceProcAddr()
290 if (strcmp(name, "vkSetBufferCollectionBufferConstraintsFUCHSIA") == 0) in GetInstanceProcAddr()
292 if (strcmp(name, "vkGetBufferCollectionPropertiesFUCHSIA") == 0) in GetInstanceProcAddr()
296 if (strcmp(name, "vkGetPhysicalDeviceFeatures") == 0 || in GetInstanceProcAddr()
297 strcmp(name, "vkGetPhysicalDeviceProperties") == 0 || in GetInstanceProcAddr()
298 strcmp(name, "vkGetPhysicalDeviceFormatProperties") == 0 || in GetInstanceProcAddr()
299 strcmp(name, "vkGetPhysicalDeviceImageFormatProperties") == 0 || in GetInstanceProcAddr()
300 strcmp(name, "vkGetPhysicalDeviceMemoryProperties") == 0 || in GetInstanceProcAddr()
301 strcmp(name, "vkGetPhysicalDeviceQueueFamilyProperties") == 0 || in GetInstanceProcAddr()
302 strcmp(name, "vkGetDeviceProcAddr") == 0 || in GetInstanceProcAddr()
303 strcmp(name, "vkCreateDevice") == 0 || in GetInstanceProcAddr()
304 strcmp(name, "vkEnumerateDeviceExtensionProperties") == 0 || in GetInstanceProcAddr()
305 strcmp(name, "vkGetPhysicalDeviceSparseImageFormatProperties") == 0 || in GetInstanceProcAddr()
306 strcmp(name, "vkGetPhysicalDeviceFeatures2") == 0 || in GetInstanceProcAddr()
307 strcmp(name, "vkGetPhysicalDeviceProperties2") == 0 || in GetInstanceProcAddr()
308 strcmp(name, "vkGetPhysicalDeviceFormatProperties2") == 0 || in GetInstanceProcAddr()
309 strcmp(name, "vkGetPhysicalDeviceImageFormatProperties2") == 0 || in GetInstanceProcAddr()
310 strcmp(name, "vkGetPhysicalDeviceQueueFamilyProperties2") == 0 || in GetInstanceProcAddr()
311 strcmp(name, "vkGetPhysicalDeviceMemoryProperties2") == 0 || in GetInstanceProcAddr()
312 strcmp(name, "vkGetPhysicalDeviceSparseImageFormatProperties2") == 0 || in GetInstanceProcAddr()
313 strcmp(name, "vkGetPhysicalDeviceExternalBufferProperties") == 0 || in GetInstanceProcAddr()
314 strcmp(name, "vkGetPhysicalDeviceExternalFenceProperties") == 0 || in GetInstanceProcAddr()
315 strcmp(name, "vkGetPhysicalDeviceExternalSemaphoreProperties") == 0) in GetInstanceProcAddr()
340 .name = "Goldfish Vulkan Driver",
610 static PFN_vkVoidFunction GetDeviceProcAddr(VkDevice device, const char* name) { in GetDeviceProcAddr() argument
620 if (!strcmp(name, "vkGetMemoryZirconHandleFUCHSIA")) { in GetDeviceProcAddr()
623 if (!strcmp(name, "vkGetMemoryZirconHandlePropertiesFUCHSIA")) { in GetDeviceProcAddr()
626 if (!strcmp(name, "vkGetSemaphoreZirconHandleFUCHSIA")) { in GetDeviceProcAddr()
629 if (!strcmp(name, "vkImportSemaphoreZirconHandleFUCHSIA")) { in GetDeviceProcAddr()
632 if (!strcmp(name, "vkCreateBufferCollectionFUCHSIA")) { in GetDeviceProcAddr()
635 if (!strcmp(name, "vkDestroyBufferCollectionFUCHSIA")) { in GetDeviceProcAddr()
638 if (!strcmp(name, "vkSetBufferCollectionConstraintsFUCHSIA")) { in GetDeviceProcAddr()
641 if (!strcmp(name, "vkSetBufferCollectionBufferConstraintsFUCHSIA")) { in GetDeviceProcAddr()
644 if (!strcmp(name, "vkGetBufferCollectionPropertiesFUCHSIA")) { in GetDeviceProcAddr()
648 if (!strcmp(name, "vkGetDeviceProcAddr")) { in GetDeviceProcAddr()
651 return (PFN_vkVoidFunction)(goldfish_vk::goldfish_vulkan_get_device_proc_address(device, name)); in GetDeviceProcAddr()
655 PFN_vkVoidFunction GetInstanceProcAddr(VkInstance instance, const char* name) { in GetInstanceProcAddr() argument
661 return vkstubhal::GetInstanceProcAddr(instance, name); in GetInstanceProcAddr()
664 if (!strcmp(name, "vkEnumerateInstanceExtensionProperties")) { in GetInstanceProcAddr()
667 if (!strcmp(name, "vkCreateInstance")) { in GetInstanceProcAddr()
670 if (!strcmp(name, "vkGetDeviceProcAddr")) { in GetInstanceProcAddr()
673 …eturn (PFN_vkVoidFunction)(goldfish_vk::goldfish_vulkan_get_instance_proc_address(instance, name)); in GetInstanceProcAddr()
716 static bool IsAccessible(const char* name) { in IsAccessible() argument
717 zx_handle_t handle = GetConnectToServiceFunction()(name); in IsAccessible()
740 PFN_vkVoidFunction GetInstanceProcAddr(VkInstance instance, const char* name) { in GetInstanceProcAddr() argument
742 return vkstubhal::GetInstanceProcAddr(instance, name); in GetInstanceProcAddr()
744 return ::GetInstanceProcAddr(instance, name); in GetInstanceProcAddr()
778 vk_icdGetInstanceProcAddr(VkInstance instance, const char* name) { in vk_icdGetInstanceProcAddr() argument
779 return VulkanDevice::GetInstance().GetInstanceProcAddr(instance, name); in vk_icdGetInstanceProcAddr()