MCPcopy Create free account
hub / github.com/LunarG/VulkanTools / LoadAllConfigurations

Method LoadAllConfigurations

vkconfig_core/configuration_manager.cpp:97–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

95std::size_t ConfigurationManager::Size() const { return this->available_configurations.size(); }
96
97void ConfigurationManager::LoadAllConfigurations(const LayerManager &layers, ConfiguratorMode mode) {
98 this->available_configurations.clear();
99
100 if (RequireLoading(mode)) {
101 this->LoadConfigurationsPath(layers);
102 }
103
104 // If built-in configurations were updated, replace the stored configuration
105 this->LoadDefaultConfigurations(layers);
106
107 this->SortConfigurations();
108}
109
110void ConfigurationManager::LoadDefaultConfigurations(const LayerManager &layers) {
111 if (this->available_configurations.empty()) {

Callers 1

LoadMethod · 0.80

Calls 4

SortConfigurationsMethod · 0.95
RequireLoadingFunction · 0.85

Tested by

no test coverage detected