Currently to get possible inputs of a display we loop through ALL capabilities of a monitor, which is very slow. This is done to get the display names of each input (VGA-1 etc.).
It only matters when adding monitors to the main list, so it is not hindering the switching process, but it would be good to have it be more performant.
The scanning happens in DDCManager::getMonitorInputsByIndex, where we loop through capabilities->vcp_codes to find the code 0x60 (input).
Currently to get possible inputs of a display we loop through ALL capabilities of a monitor, which is very slow. This is done to get the display names of each input (VGA-1 etc.).
It only matters when adding monitors to the main list, so it is not hindering the switching process, but it would be good to have it be more performant.
The scanning happens in `DDCManager::getMonitorInputsByIndex`, where we loop through `capabilities->vcp_codes` to find the code `0x60` (input).
Currently to get possible inputs of a display we loop through ALL capabilities of a monitor, which is very slow. This is done to get the display names of each input (VGA-1 etc.).
It only matters when adding monitors to the main list, so it is not hindering the switching process, but it would be good to have it be more performant.
The scanning happens in
DDCManager::getMonitorInputsByIndex
, where we loop throughcapabilities->vcp_codes
to find the code0x60
(input).