-
857259dc
by Rémi Bernon at 2024-10-01T21:21:18+02:00
win32u: Make sure to load drivers when updating the display cache.
If the registry is initialized, a process calling ChangeDisplaySettings
will only load the driver when calling GetCurrentDisplaySettings in
source_get_full_mode / source_get_current_settings.
As we're going to cache the current display mode, this will not be
called anymore and the driver won't be loaded at all. So, make sure we
load it earlier instead.
-
278b98f5
by Rémi Bernon at 2024-10-01T21:21:20+02:00
win32u: Always write the source current mode to the registry.
-
cc4058a8
by Rémi Bernon at 2024-10-01T21:21:20+02:00
win32u: Keep the source depth separately from the current mode.
The host may not actually have support for the selected depth, when
emulating 8 or 16bpp display modes, and we'll get display device updates
with the default display depth instead.
We still want to report the desired display depth to the applications,
so keep it with the sources.
-
5f9183d0
by Rémi Bernon at 2024-10-01T21:21:21+02:00
win32u: Remove now unnecessary GetDisplayDepth driver entry.
-
59ede73a
by Rémi Bernon at 2024-10-01T21:21:22+02:00
win32u: Cache display source current display settings.
-
db17eb13
by Rémi Bernon at 2024-10-01T21:21:22+02:00
win32u: Remove unnecessary GetCurrentDisplaySettings call.
-
1ffe5b35
by Rémi Bernon at 2024-10-01T21:21:22+02:00
win32u: Add virtual modes when drivers report a single display mode.
-
b6c768e7
by Rémi Bernon at 2024-10-01T21:21:22+02:00
win32u: Keep track of the display source physical display mode.
-
3cf0506c
by Rémi Bernon at 2024-10-01T21:21:22+02:00
win32u: Use the current display mode as monitor rect.