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

Function GetFileSettingName

vkconfig_core/vulkan_util.cpp:382–390  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

380}
381
382static std::string GetFileSettingName(const char *pLayerName, const char *pSettingName) {
383 assert(pLayerName != nullptr);
384 assert(pSettingName != nullptr);
385
386 std::stringstream settingName;
387 settingName << ToLowerCase(TrimPrefix(pLayerName)) << "." << pSettingName;
388
389 return settingName.str();
390}
391
392static std::string GetEnvSettingName(const char *layer_key, const char *requested_prefix, const char *setting_key,
393 TrimMode trim_mode, bool android_sysprop) {

Callers 1

GetEnvSettingNameFunction · 0.85

Calls 3

ToLowerCaseFunction · 0.85
TrimPrefixFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected