1
0
Fork 0
mirror of https://gitlab.com/Mr_Goldberg/goldberg_emulator.git synced 2024-11-14 10:50:13 +01:00
Commit graph

33 commits

Author SHA1 Message Date
Mr_Goldberg
b72b4da8fb
Fix overlay gpu memory leak in some games. 2022-08-11 20:52:26 -04:00
Mr_Goldberg
df94c38b0f
Update imgui to latest. 2022-08-05 01:34:29 -04:00
Mr_Goldberg
7350397f9d
Update imgui. 2021-06-13 00:07:16 -04:00
Mr_Goldberg
5495f36ed6
Update imgui library to latest. 2021-05-16 21:04:18 -04:00
Mr_Goldberg
ccc48d83a8
Fix dx9 overlay graphics bug with black mesa. 2021-01-23 16:48:45 -05:00
Mr_Goldberg
cfff531a23
Put back the if new frame for overlay. 2021-01-23 16:46:44 -05:00
Mr_Goldberg
d6bdde0123
Update ImGui 2021-01-17 22:58:42 -05:00
Nemirtingas
145cbfdffd Fix crash on some games using DX11.
The line: "ctx->PSGetSamplers(0, 1, &old.PSSampler);" will fail silently (no return code) but will not modify old.PSSampler making the game crash when accessing uninitialized memory.
2020-11-17 17:15:16 +00:00
Mr_Goldberg
6d96784af1
Fix menu buttons not working in Aoe2DE. 2020-01-26 09:45:54 -05:00
Nemirtingas
dc3dee9ce8 Added more prebuilt shader
Skyrim deployed its own d3dcompile dll that nullifies shaders compilation, so you either have to load the one in C:\Windows\System32|SysWow64 or use prebuilt.
I use prebuilt
2020-01-11 14:42:00 +01:00
Nemirtingas
d118aca0f6 Add DX11 shader feature level 2020-01-10 08:53:12 +01:00
Nemirtingas
548f21c2f0 Add a return parameter to ImGui_Impl...._NewFrame()
Why does CreateDeviceObjects return a bool if the NewFrame doesn't ?
Added the return parameter cause CreateDeviceObjects can fail.
It did fail on DX11 with feature level to 9.
2020-01-10 08:10:13 +01:00
Nemirtingas
121df0ef39 Uncomment thing 2019-11-08 15:52:59 +01:00
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.
2019-09-03 17:25:42 +02:00
Nemirtingas
9fa4053551 Cleanup 2019-09-03 11:38:54 +02:00
Nemirtingas
bb8cfbda10 Updated ImGui event handle for X11 2019-09-03 11:37:36 +02:00
Nemirtingas
aeeb85da55 This should do something like this
(Working on portal2 ubuntu 18.04)
2019-09-02 10:51:16 +02:00
Nemirtingas
b9cd9ae6c2 Fix build 2019-09-01 20:53:16 +02:00
Nemirtingas
1785ae6eaf Moved every platform specific code to their own folder 2019-09-01 20:48:27 +02:00
Nemirtingas
8a6db1c401 ImGui X11 impl 2019-09-01 20:47:04 +02:00
Nemirtingas
cb0e1dff25 Added opengl32 lib and declared glew as static 2019-08-16 11:11:13 +02:00
Nemirtingas
1ce95ec672 Fixed compilation on Clang-cl 2019-08-14 18:06:32 +02:00
Nemirtingas
d2a75db930 Moved colored implementation to their own functions
To minimise source code modifications, colored input text has been moved to their own functions.
The ImFont is still modified tho.
2019-08-03 14:37:03 +02:00
Nemirtingas
804355fa54 Fix input select going out of bound 2019-08-03 13:44:33 +02:00
Nemirtingas
4f9e67d700 Support for chat message (WIP) 2019-08-03 12:58:48 +02:00
Nemirtingas
3a0d9c55c1 Added support for dynamic d3dcompile load
If you really want to use d3dcompile, then I think its better to find the most recent d3dcompile you have on your computer and load its D3DCompile function.
This process is now automatically handled. Just define  the right Preprocessor.
2019-08-02 09:06:59 +02:00
Nemirtingas
e6826d8ead Basic & Ugly implementation of overlay.
Overlay still WIP, don't look too much into the code.
I will do it better soon.
2019-08-01 15:47:47 +02:00
Nemirtingas
6328b59b0b Added opengl hook 2019-08-01 15:47:38 +02:00
Nemirtingas
3d3c8b26cd Added ImGui precompiled shaders
(And removed dependency to d3dcompile)
2019-07-25 23:32:52 +02:00
Nemirtingas
ead81a704b Added missing ImGui headers 2019-07-25 23:31:24 +02:00
Nemirtingas
cb28b22fd3 Don't support gamepad (remove directinput dependency) 2019-07-25 23:27:54 +02:00
Nemirtingas
faf13e77b6 Added 64bits support to ImGui 2019-07-25 23:27:09 +02:00
Nemirtingas
176c9eb7dd Added ImGui base code
I'll implement overlay with ImGui
2019-07-25 23:25:46 +02:00