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

Method GetActiveExecutableIndex

vkconfig_core/executable_manager.cpp:298–306  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

296}
297
298int ExecutableManager::GetActiveExecutableIndex() const {
299 for (std::size_t i = 0, n = this->data.size(); i < n; ++i) {
300 if (this->data[i].path == this->active_executable) {
301 return static_cast<int>(i);
302 }
303 }
304
305 return -1; // Not found, but the list is present, so return the first item.
306}
307
308int ExecutableManager::GetVulkanInfoIndex() const {
309 for (std::size_t i = 0, n = this->data.size(); i < n; ++i) {

Callers 6

RemoveExecutableMethod · 0.95
TabApplicationsMethod · 0.80
UpdateUIMethod · 0.80
UpdateUI_ApplicationsMethod · 0.80
TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64