Commit Graph

10 Commits

Author SHA1 Message Date
Conn O'Griofa 211b25848f platform/windows: add optional DwmFlush() call to improve Windows capture
Invoke DwmFlush() before acquiring the next frame to alleviate visual stutter
during mouse movement at the cost of constraining the capture rate to the host's
monitor refresh.

Disabled by default; enable via "dwmflush" boolean configuration parameter.
2022-06-15 22:23:09 +01:00
loki 1876de0a68 Fix cursor disappearing on Windows 2021-08-18 11:05:14 +02:00
loki-47-6F-64 b58279beea Omit one copy for display_vrm on Windows 2021-08-15 00:36:31 +02:00
loki 6c11e9f27d Switch monitors on Windows 2021-07-29 17:27:22 +02:00
loki 7ddf8bbe94 Capturing images by callback, rather than pulling 2021-07-26 18:09:07 +02:00
Loki 3a3d4928f9 Fix compilation on Windows 2021-06-07 14:22:23 +02:00
loki 3d8a99f541 clang-format 2021-05-17 21:21:57 +02:00
loki 127b5501d9 Render luma onto nv12 surface 2021-04-30 20:01:15 +02:00
Conn O'Griofa 0a883ab651 Use realtime GPU priority to avoid stalls during high GPU usage
Change derived from OBS project commit: https://github.com/obsproject/obs-studio/commit/ec769ef008b748f7dfba211daec9eb203ea4bea0
See related discussion: https://obsproject.com/forum/threads/obs-studio-24-0-3-gpu-priority-fix-testing.111669/
2021-01-11 04:22:18 +00:00
loki 4bccec1c39 Refactor platorm Windows 2020-04-23 15:41:40 +02:00