• Home
  • Raw
  • Download

Lines Matching refs:getProc

131 #define GET_PROC_LOCAL(F, inst, device) PFN_vk ## F F = (PFN_vk ## F) getProc("vk" #F, inst, device)
133 static bool init_instance_extensions_and_layers(GrVkGetProc getProc, in init_instance_extensions_and_layers() argument
137 if (getProc == nullptr) { in init_instance_extensions_and_layers()
218 static bool init_device_extensions_and_layers(GrVkGetProc getProc, uint32_t specVersion, in init_device_extensions_and_layers() argument
222 if (getProc == nullptr) { in init_device_extensions_and_layers()
306 PFN_vk##name grVk##name = reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device))
310 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
315 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); \
323 reinterpret_cast<PFN_vk##name>(getProc("vk" #name, instance, device)); \
331 static bool destroy_instance(GrVkGetProc getProc, VkInstance inst, in destroy_instance() argument
344 static bool setup_features(GrVkGetProc getProc, VkInstance inst, VkPhysicalDevice physDev, in setup_features() argument
408 bool CreateVkBackendContext(GrVkGetProc getProc, in CreateVkBackendContext() argument
463 if (!init_instance_extensions_and_layers(getProc, instanceVersion, in CreateVkBackendContext()
539 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
544 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
554 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
564 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
573 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
593 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
608 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
620 if (!init_device_extensions_and_layers(getProc, physDeviceVersion, in CreateVkBackendContext()
624 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
643 extensions->init(getProc, inst, physDev, in CreateVkBackendContext()
657 if (!setup_features(getProc, inst, physDev, physDeviceVersion, extensions, features, in CreateVkBackendContext()
659 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
721 destroy_instance(getProc, inst, debugCallback, hasDebugExtension); in CreateVkBackendContext()
749 ctx->fGetProc = getProc; in CreateVkBackendContext()