Lines Matching refs:getProc
299 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
301 static bool init_device_extensions_and_layers(const skgpu::VulkanGetProc& getProc, in init_device_extensions_and_layers() argument
306 if (getProc == nullptr) { in init_device_extensions_and_layers()
412 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
416 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
429 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
450 static bool setup_features(const skgpu::VulkanGetProc& getProc, VkInstance inst, in setup_features() argument
606 auto getProc = [getInstProc, grVkGetDeviceProcAddr](const char* proc_name, in CreateVkBackendContext() local
737 if (!init_device_extensions_and_layers(getProc, physDeviceVersion, in CreateVkBackendContext()
755 extensions->init(getProc, inst, physDev, in CreateVkBackendContext()
769 if (!setup_features(getProc, inst, physDev, physDeviceVersion, extensions, features, in CreateVkBackendContext()
854 getProc, inst, device, instanceVersion, physDeviceVersion, extensions); in CreateVkBackendContext()
868 ctx->fGetProc = getProc; in CreateVkBackendContext()