Sunshine/sunshine/platform/windows
Conn O'Griofa 2d969c2ccc platform/windows: change dwmflush default, add autodetection
On each re/init, query the active monitor refresh rate via
DwmGetCompositionTimingInfo. If the client requested framerate exceeds
the host monitor refresh, automatically disable DwmFlush.

This avoids the problem by which DwmFlush would constrain the client
FPS if the host monitor runs at a lower refresh rate, thus allowing
the feature to be enabled by default.

If there are other issues caused by DwmFlush for certain systems,
it can still be disabled via configuration.
2022-06-15 22:23:09 +01:00
..
audio.cpp
display_base.cpp platform/windows: change dwmflush default, add autodetection 2022-06-15 22:23:09 +01:00
display_ram.cpp Switch monitors on Windows 2021-07-29 17:27:22 +02:00
display_vram.cpp Fix cursor disappearing on Windows 2021-08-18 11:05:14 +02:00
display.h platform/windows: change dwmflush default, add autodetection 2022-06-15 22:23:09 +01:00
input.cpp Fix segfault when connecting multiple controllers at the same ttime 2021-09-13 20:24:04 +02:00
misc.cpp Fix inabillity to display secure desktop even when runnig as system account 2021-06-30 22:03:21 +02:00
misc.h clang lint 2022-02-16 18:23:56 -05:00
PolicyConfig.h
publish.cpp Manually Imported Upstream PR #296 2021-12-26 23:32:34 +01:00
windows.rs.in Add icon to windows executable 2021-10-03 21:12:06 +02:00