jackun
e61321717e
[OpenGL] Use MESA_query_renderer if avail; GL "WSI" enum
2023-04-24 22:12:38 +03:00
jackun
313abbe6a7
[OpenGL] Check GL_VENDOR too to determine GPU's vendor id
...
Try to fix #965
2023-03-27 19:27:04 +03:00
Hannes Mann
e1f41bbb92
glx,egl,vulkan: Limit FPS early or late depending on config
2023-03-16 03:33:42 +01:00
Emil Velikov
eecd451068
meson: build with -Werror=missing-declarations
...
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:40:56 +02:00
Emil Velikov
f1a86fe10f
inject: drop unneeded declarations/function
...
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:40:56 +02:00
Emil Velikov
b714f54cd4
dbus: reshuffle HAVE_DBUS handling
...
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2023-03-04 21:31:25 +02:00
azn1999
f7a1cc159c
Fix FPS limiter
...
Note: the egl limiter is already correct
2023-01-23 06:57:52 +01:00
Alessandro Toia
b2bcd889f0
Skip OpenGL impl if vulkan is loaded togther with zink or wined3d.
2023-01-06 21:55:33 -08:00
Alessandro Toia
7b248efef7
Check if libvulkan is loaded when opengl is also loaded and skip opengl rendering
...
Fixes #866 #852 issues with zink and multiple games using DXVK that load OpenGL for some reason
2023-01-04 18:05:56 -08:00
FlightlessMango
e38413b2d8
use intel_gpu_top for gpu stats
2022-11-01 12:01:50 +01:00
Zebediah Figura
2f01d15690
Bind a zero pixel unpack buffer if necessary when uploading fonts texture
2022-10-29 11:41:59 +02:00
Gustavo Parreira
96f72e2352
fix: Look for NAVI in device name for AMD GPUs
2022-10-15 19:15:50 +02:00
Vir Chaudhury
c670203a5b
add logging for when the OpenGL context fails to initialize
2022-10-11 14:54:11 +02:00
jackun
85007fe0bd
Use separate font atlas for vulkan
...
vkCreateSwapchainKHR and vkQueuePresentKHR may share the same ImGui context accidentally and
vkCreateSwapchainKHR might (re)create font image and destroy old font atlas while vkQueuePresentKHR is still rendering :(
2022-07-29 02:11:28 +03:00
jackun
0916dadea6
Convert some "printfs" to spdlog
2022-06-21 18:11:36 +03:00
jackun
f680c28f1f
Generalize control over socket so it works with OpenGL too
2022-05-23 18:07:39 +03:00
jackun
8a628e6a77
Rename GL files to avoid some confusion with upstream Dear ImGui files
2022-05-16 13:06:07 +03:00
jackun
753dd96325
Use overlay_new/end_frame to push/pop custom ImGui styles
2022-05-15 02:02:50 +03:00
FlightlessMango
3e57824f00
Fix zink detection from opengl path
2022-05-11 16:17:02 +02:00
jackun
73da29d4ad
Try to init spdlog a bit earlier
2022-03-29 09:33:21 +03:00
jackun
8e21b52acf
Make get_device_name
return GPU name
2022-03-06 22:02:09 +02:00
jackun
e555a942fb
Use single IO stats instance
2022-02-18 16:44:10 +02:00
FlightlessMango
9758d2a286
Try to get correct amd gpu when multiple
2022-01-02 12:04:22 +01:00
FlightlessMango
5fee3bc5e3
Change _params to pointer
2021-11-04 02:07:38 +01:00
jackun
6584f23a6c
Use ghc::filesystem
to iterate over /proc/self/map_files
2021-10-02 15:25:07 +03:00
FlightlessMango
3ac7772a55
Add universal param
2021-09-18 17:21:20 +02:00
jackun
9df9df0f4f
Fix some tangling printfs
2021-08-11 01:50:14 +03:00
jackun
866fd8bc24
Add per process memory usage (procmem
etc)
2021-08-07 15:56:27 +03:00
jackun
a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time
2021-07-27 16:16:39 +03:00
jackun
2f807a4c0d
Add spdlog
wrap and logging
2021-07-16 04:06:09 +03:00
jackun
b6dab97d08
[OpenGL] Some code clean-ups
2021-07-01 17:56:01 +03:00
Lukáš Horáček
213953089d
Detect ToGL
2021-06-27 16:35:07 +02:00
Lukáš Horáček
f1eae93253
Use map_files instead of lsof for wined3d detection
2021-06-27 16:33:10 +02:00
jackun
750d2cddb5
Make engine type per instance
2021-06-27 16:31:19 +03:00
Alessandro Toia
570bef468b
Cosmetic changes to engine detection
2021-06-19 15:58:01 -07:00
FlightlessMango
5330573c8c
don't rely on std in engine detection
2021-06-17 00:49:46 +02:00
FlightlessMango
2e5fc31711
use vulkan to determine if zink
2021-06-10 22:41:06 +02:00
Alessandro Toia
d556e8e357
Improve Zink detection
2021-05-27 15:38:44 -07:00
jackun
765024227c
[OpenGL] Framerate limit in eglSwapBuffers
2021-04-17 22:29:22 +03:00
Alessandro Toia
ddfcb01c30
Add detection of Zink
2021-04-15 15:40:12 -07:00
jackun
0f6ead57d7
[OpenGL] Bind framebuffer for all GL ES versions
2021-03-31 18:51:34 +03:00
jackun
e62d6e3337
[OpenGL] Save/restore last GL_DRAW_FRAMEBUFFER if using gl_bind_framebuffer
2021-03-31 18:39:23 +03:00
jackun
afa50a17c4
[OpenGL] Add gl_size_query, gl_bind_framebuffer, gl_dont_flip options for workarounds
...
`gl_size_query = viewport` - specify what to use for getting display size. Options are "viewport", "scissorbox" or disabled. Defaults to using glXQueryDrawable.
`gl_bind_framebuffer = 0` - (re)bind given framebuffer before MangoHud gets drawn. Helps with Crusader Kings 3.
`gl_dont_flip = 1` - don't swap origin if using GL_UPPER_LEFT. Helps with Ryujinx.
2021-03-30 05:33:11 +03:00
jackun
30cdc912a8
Rework blending equation to preserve alpha in output buffer
...
bda12e5fdd
2021-03-07 23:42:54 +02:00
jackun
118c54072f
[OpenGL] Disable primitive restart
2021-03-06 23:01:50 +02:00
jackun
8e7564ab1a
[OpenGL] Disable stencil test
2021-03-06 22:59:31 +02:00
jackun
bdd87f5eff
Use SetTexID instead
2021-03-06 22:58:06 +02:00
jackun
76b571bc11
[OpenGL] Fix glClipControl(GL_UPPER_LEFT) rendering
2021-03-06 22:16:59 +02:00
jackun
3e77dd6e0b
[OpenGL] Add eglSwapBuffers to hook list
2021-02-20 22:37:31 +02:00
jackun
6769ae96fa
[OpenGL] Explicitly include dlfcn.h
2021-02-20 14:57:26 +02:00