Commit Graph

27 Commits

Author SHA1 Message Date
38cbfb3be9 Fix renderer detection under Wine.
Use new timing checks to detect D3D being dependant on other APIs.
(Should work now regardless of platform, but GPU hardware detection may still be
needed...)
2025-02-12 09:35:27 -05:00
f3ac8485ed HACK: Wine DX10 and DX11 Detection.
Wine doesn't implement the NULL renderer, and tries to fallback to the
REFERENCE renderer. Which then also fails when we try to create a 1x1
DXGI_USAGE_RENDER_TARGET_OUTPUT swapchain.

Until Wine manages to get a NULL renderer working, just use the WARP
renderer instead. (Which Wine also doesn't implement and falls back to
the hardware renderer for, but at least it works properly.)
2025-02-12 09:35:26 -05:00
2164ff292c Extra debugging log functions. 2025-02-12 09:35:23 -05:00
de6805dd8b Update nemirtingas overlay to latest. 2022-08-21 03:43:24 -04:00
077e532bd2 Fix overlay getting stuck if stopped to quickly after being started. 2022-08-16 12:32:28 -04:00
743a810463 Update nemirtingas overlay. 2022-08-13 14:32:43 -04:00
04022c005f Update nemirtingas overlay to latest. 2022-08-10 03:22:23 -04:00
7c419e0afe Fix overlay crash in games that load then unload steam api dll. 2022-08-07 23:11:21 -04:00
c17fb0c931 Update Nemirtingas overlay to latest. 2022-08-05 02:06:42 -04:00
e100c89160 Remove some other headers that are in common_includes.h 2020-07-16 20:25:14 +02:00
fe9bbd1104 Add a common include file. 2020-07-16 11:56:24 +02:00
1dc5bcc5c1 Fix hooks not working
Even if dxgi is hooked, it will not be rehooked, HookDXGIPresent has a check, but different dx versions need a call to loadFunctions.
2020-01-20 11:45:04 -05:00
4c2484cdef Update Renderer_Detector.cpp
DX12 hook
2019-12-09 11:06:43 +00:00
02924d986e Update Renderer_Detector.cpp 2019-12-08 21:20:23 +00:00
55ba49c957 Clean a bit Linux Overlay 2019-11-08 15:54:48 +01:00
982ec56007 Enable DX12 overlay 2019-11-08 15:46:57 +01:00
4d99b6affd Fix race condition
Fix race condition when renderer was found and we were hooking a library func
2019-10-13 12:27:41 +02:00
ecd753422b Updated Linux X11 & OLGX hooks.
Use LD_PRELOAD=$PWD/libsteam_api.so app_name to load overlay.
2019-09-03 11:38:37 +02:00
5af1d18a8f Fixed overlay thread joining on himself 2019-09-02 10:51:32 +02:00
b9cd9ae6c2 Fix build 2019-09-01 20:53:16 +02:00
1785ae6eaf Moved every platform specific code to their own folder 2019-09-01 20:48:27 +02:00
c27ab3993c Linux renderer detection 2019-09-01 20:47:10 +02:00
4f7e42a905 Call the true function before initializing hook. 2019-08-27 19:56:41 +02:00
3c265596a9 Removed DX12 until further notice. 2019-08-27 19:21:32 +02:00
622c435cb7 Fixed typo in DX12 & reorder hook call.
Should call the Present function before hooking DX cause DX also hook Present even if the hook is disabled by Renderer_Detector before initializing the DX hook.
2019-08-27 17:40:44 +02:00
36e8966223 Cleanup again 2019-08-27 16:29:20 +02:00
44d583ee7d Added class Renderer_Detector.
Hook_Manager now only manages hooks.
Renderer_Detector is used to detect the game's renderer. There will be 2 version of it. 1 for windows and 1 for Linux.
2019-08-27 15:38:07 +02:00