Commit Graph

8 Commits (8e7481fb7564a7c0918c84c292be85a3e490083f)

Author SHA1 Message Date
Richard Stanway 59d72437b4 libobs-winrt: Fix missing parentheses 2020-03-19 15:50:32 +01:00
jpark37 f229d35a05 libobs-winrt: Catch more hresult exceptions
Wrap winrt_capture_supported and winrt_capture_cursor_toggle_supported
with try/catch.
2020-03-18 09:21:40 -07:00
jpark37 e4e96c5cef libobs-winrt: win-capture: Clean up error handling
Use proper check to fix false positive on 1809, and rework error spew to
remove output parameters from winrt_capture_init.
2020-03-18 00:33:12 -07:00
jp9000 327a6f599e win-capture: Fix potential crash due to unhandled exceptions 2020-03-17 12:22:20 -07:00
jpark37 cb4954c279 libobs-winrt: win-capture: HDC cursor capture for WGC
Starting with Windows 10 2004, we can disable WGC cursor capture, and
provide a user toggle. We swap out WGC support for our own though
because ours does not break hardware cursor support.
2020-03-07 20:40:39 -08:00
jpark37 2111a3a02f libobs-winrt: win-capture: Support client area toggle for WGC 2020-02-24 21:31:53 -08:00
jpark37 74c7375096 libobs-winrt: Add PCH
Reduces compile time from six seconds to less than a second.
2020-02-22 21:02:33 -08:00
jpark37 d6d27cfab1 libobs-winrt: Add module for WinRT functionality
Currently wraps Windows Graphics Capture API.
2020-02-22 21:02:33 -08:00