Lines Matching refs:getProc

142 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
144 static bool init_instance_extensions_and_layers(GrVkGetProc getProc,
148 if (getProc == nullptr) {
231 static bool init_device_extensions_and_layers(GrVkGetProc getProc, uint32_t specVersion,
235 if (getProc == nullptr) {
321 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
325 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
330 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); \
338 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
346 static bool destroy_instance(GrVkGetProc getProc, VkInstance inst,
359 static bool setup_features(GrVkGetProc getProc, VkInstance inst, VkPhysicalDevice physDev,
423 bool CreateVkBackendContext(GrVkGetProc getProc,
478 if (!init_instance_extensions_and_layers(getProc, instanceVersion,
554 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
559 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
569 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
579 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
588 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
608 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
623 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
635 if (!init_device_extensions_and_layers(getProc, physDeviceVersion,
639 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
683 extensions->init(getProc, inst, physDev,
697 if (!setup_features(getProc, inst, physDev, physDeviceVersion, extensions, features,
699 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
761 destroy_instance(getProc, inst, debugCallback, hasDebugExtension);
789 ctx->fGetProc = getProc;