Lines Matching refs:getProc
127 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
129 static bool init_instance_extensions_and_layers(GrVkGetProc getProc, in init_instance_extensions_and_layers() argument
133 if (getProc == nullptr) { in init_instance_extensions_and_layers()
214 static bool init_device_extensions_and_layers(GrVkGetProc getProc, uint32_t specVersion, in init_device_extensions_and_layers() argument
218 if (getProc == nullptr) { in init_device_extensions_and_layers()
302 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
306 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
311 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); \
319 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
327 static void destroy_instance(GrVkGetProc getProc, VkInstance inst, in destroy_instance() argument
339 static void setup_extension_features(GrVkGetProc getProc, VkInstance inst, VkPhysicalDevice physDev, in setup_extension_features() argument
383 bool CreateVkBackendContext(GrVkGetProc getProc, in CreateVkBackendContext() argument
432 if (!init_instance_extensions_and_layers(getProc, instanceVersion, in CreateVkBackendContext()
508 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
513 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
523 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
536 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
556 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
571 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
583 if (!init_device_extensions_and_layers(getProc, physDeviceVersion, in CreateVkBackendContext()
587 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
606 extensions->init(getProc, inst, physDev, in CreateVkBackendContext()
620 setup_extension_features(getProc, inst, physDev, physDeviceVersion, extensions, features); in CreateVkBackendContext()
677 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
692 ctx->fGetProc = getProc; in CreateVkBackendContext()