Nemirtingas
0711c83440
Check if we actually created a new frame
5 years ago
Nemirtingas
20c03cda75
Update steam_overlay.cpp
5 years ago
Nemirtingas
4c2484cdef
Update Renderer_Detector.cpp
...
DX12 hook
5 years ago
Nemirtingas
02924d986e
Update Renderer_Detector.cpp
5 years ago
Nemirtingas
547cbdbb4e
Added barrier to DX12 overlay.
...
Gears5 seems to have a problem with the overlay. While loading and in the main menu, it works fine, but if you press enter, it crashes saying the GPU is not responding. Can't debug it with CODEX, it checks for a debugger.
Works fine on sniper elite5.
5 years ago
Nemirtingas
695954e13a
Add software cursor to Linux overlay too
5 years ago
Nemirtingas
1af7902aae
Add dummy funcs.
5 years ago
Nemirtingas
dd1a21dae9
Clean Linux hook, not needed
...
Linux uses LD_PRELOAD to load the overlay
5 years ago
Nemirtingas
55ba49c957
Clean a bit Linux Overlay
5 years ago
Nemirtingas
1edbdd8a35
Free DX12 devices on destroy
5 years ago
Nemirtingas
cf3dea2bbe
Allow ImGui to process events if the overlay is hidden
...
This is used for the notifications when overlay is off.
5 years ago
Nemirtingas
ce79df1c26
Added customizable notification
...
Notification can have a type depending on what to show.
5 years ago
Nemirtingas
982ec56007
Enable DX12 overlay
5 years ago
Nemirtingas
c667dbd3af
Rework DX12 overlay to use Present to render the overlay
5 years ago
Nemirtingas
c006555b01
Add infos on friend game
...
Add friend appid and check if the game is compatible.
5 years ago
Nemirtingas
bce574dc43
Changed windows id and fixed chat layout
5 years ago
Nemirtingas
d467248236
Forgot to initialize overlay's close button
5 years ago
Nemirtingas
4d99b6affd
Fix race condition
...
Fix race condition when renderer was found and we were hooking a library func
5 years ago
Nemirtingas
894300b6f4
Process raw mouse events
...
Some games doesn't use the window proc to get the mouse events (ETS2), but it checks for raw mouse inputs.
5 years ago
Nemirtingas
8abb0c8bc2
Add close button for overlay
5 years ago
Nemirtingas
6c09635600
Added the possibility to create new fonts.
...
Fonts cannot be created after a NewFrame call.
5 years ago
Nemirtingas
e82579b82c
Update steam_overlay.h
5 years ago
Nemirtingas
2db31928e9
Notifications
5 years ago
Nemirtingas
344674b889
revert of "Should fix the cursor until we draw our own cursor."
5 years ago
Nemirtingas
6ebc946607
Fixed overlay now showing on some games
...
In sanctum2, not writing in our own context makes the game crash.
5 years ago
Nemirtingas
1016e7f47f
Fix lag on events
...
Found on sanctum2, returning 0 in XPending & XEventsQueued make the SDL do something else than polling events and makes lag the event loop.
Now the event loop returns 0 when there are no more events.
5 years ago
Nemirtingas
ecd753422b
Updated Linux X11 & OLGX hooks.
...
Use LD_PRELOAD=$PWD/libsteam_api.so app_name to load overlay.
5 years ago
Nemirtingas
d6f29ffffa
Added logs for Linux_Detour
5 years ago
Nemirtingas
5af1d18a8f
Fixed overlay thread joining on himself
5 years ago
Nemirtingas
95e87eb832
Clean Linux Detour
5 years ago
Nemirtingas
b9cd9ae6c2
Fix build
5 years ago
Nemirtingas
1785ae6eaf
Moved every platform specific code to their own folder
5 years ago
Nemirtingas
549dc7c50e
This carries window exit
5 years ago
Nemirtingas
c27ab3993c
Linux renderer detection
5 years ago
Nemirtingas
86f94bc337
Linux hooks
5 years ago
Nemirtingas
0573c4eb94
Windows only part
5 years ago
Nemirtingas
495bc957cd
Added some os detection
...
Need to detect linux x86 or x64
5 years ago
Nemirtingas
92ed36f499
Linux version of detour
5 years ago
Nemirtingas
b6eb929383
Should fix the cursor until we draw our own cursor.
5 years ago
Nemirtingas
4f7e42a905
Call the true function before initializing hook.
5 years ago
Nemirtingas
3c265596a9
Removed DX12 until further notice.
5 years ago
Nemirtingas
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.
5 years ago
Nemirtingas
36e8966223
Cleanup again
5 years ago
Nemirtingas
04847abeb7
Overlay & Hook cleanup.
5 years ago
Nemirtingas
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.
5 years ago
Nemirtingas
ff25f294f0
Fixed typo
5 years ago
Nemirtingas
9b178146c4
Cleaned a bit hooks and added sanity checks.
5 years ago
Nemirtingas
d0251b0b01
Some kind of DX12 hook
5 years ago
Nemirtingas
8e07dd0c6b
Changed window detection.
5 years ago
Nemirtingas
dd530e80b1
Now passing to hooks device object.
...
Added Base_Hook::get_lib_name to track what renderer is hooked for overlay.
Objects used to detect renderer type are now also used to hook the rendering functions. So we don't have to build another device.
Updated VTables for DX12.
5 years ago