DisplayMagician/DisplayMagicianShared
Terry MacDonald 6add0822fb NVIDIALibrary Equality testing fix
This tweak fixes the equality testing so that it works reliably with rotated displays. It turns out that the NVIDIA driver doesn't set the TVFormat option reliably whenever it rotates a display. During testing I've had the TvFormat option set to 557 and 320 for the exact same nonitor, and it really seems to depend on what the driver decided it wanted to set (the landscape mode is always 555).

I expect that it is due to the portrait sizes not being 'standard' TV sizes, so it is trying to find the best match, but in any case the variation in this setting doesn't appear to affect us using the profile... it only affects the equality tests uses to check if a particular profile is in use.

For this reason I've excluded the TvFormat from the equality testing so that the variation caused by the driver doesn't break the Equals check.
2023-01-03 11:23:18 +13:00
..
AMD Removed some uneeded variables from AMDLibrary 2022-06-02 20:18:02 +12:00
NVIDIA NVIDIALibrary Equality testing fix 2023-01-03 11:23:18 +13:00
Properties Tweaks 2022-11-06 19:54:23 +13:00
Resources [WIP] First working WiX installer 2020-12-20 20:42:04 +13:00
UserControls [WIP] Partial integration of new libraries. 2022-03-25 21:51:38 +13:00
Windows Removed delay from taskbar location monitoring 2023-01-03 10:07:41 +13:00
DisplayMagician.ico Updated to new DisplayMagician Logo 2022-08-20 21:57:06 +12:00
DisplayMagicianShared.csproj Bump NLog from 5.1.0 to 5.1.1 2022-12-30 08:04:25 +00:00
DisplayMagicianStartupAction.cs [WIP] Partial integration of new libraries. 2022-03-25 21:51:38 +13:00
ExtensionMethods.cs Fixed High CPU issue 2022-05-18 21:32:33 +12:00
PixelShift.cs [WIP] First working WiX installer 2020-12-20 20:42:04 +13:00
ProfileIcon.cs Revamped display layout image shortcut generation 2022-04-19 21:12:00 +12:00
ProfileItem.cs Added AMD display rotation awareness 2022-12-28 20:16:05 +13:00
ProfileRepository.cs Set all the JSON.net default values 2022-07-08 09:59:29 +12:00
ResizeDrawing.cs [WIP] First working WiX installer 2020-12-20 20:42:04 +13:00
RestartManagerSession.cs [WIP] Partially working taskbar moving 2022-01-30 20:24:36 +13:00
Rotation.cs [WIP] First working WiX installer 2020-12-20 20:42:04 +13:00
Scaling.cs [WIP] First working WiX installer 2020-12-20 20:42:04 +13:00
ScanLineOrdering.cs [WIP] First working WiX installer 2020-12-20 20:42:04 +13:00
SharedLogger.cs Library include cleanup 2021-02-21 20:23:41 +13:00
ShellHelper.cs Made display changes reliable 2022-02-12 09:18:03 +13:00
Utils.cs Updated the NVIDIALibrary and WinLibrary to v1.7.0 2022-03-24 22:36:42 +13:00
Wallpaper.cs First working display background per profile 2021-09-02 10:42:26 +12:00