Alessandro Toia
41e4859547
vulkan: Use correct corresponding macro for IM_NEW()
2023-09-20 21:05:32 -07:00
Alex Maese
cd05d1771f
Add ability to toggle through presets
2023-09-08 06:26:22 +02:00
Etaash Mathamsetty
41f923b0b2
Use vulkan/GL device name
2023-08-16 16:32:28 +02:00
FlightlessMango
7189b75efe
blacklist: break earlier if hardcoded blacklist
2023-08-02 19:53:13 +02:00
FlightlessMango
602ba78ea3
Split library into vulkan and opengl parts.
...
This has caused a lot of issues because when preloaded the vulkan hooks
will still initialize even tho it's an OpenGL application.
This will subsequently crash the application.
The solution is to split the vulkan and opengl parts into two separate
shared libraries.
2023-07-21 05:31:58 +02:00
FlightlessMango
8f79e9cef3
sampler: don't apply picmip unless it's set in config
2023-04-15 20:29:47 +02:00
FlightlessMango
c9d3a70a48
sampler: use instance params
2023-04-09 17:01:54 +02:00
Alessandro Toia
328df38ecc
Remove not needed cerr
2023-04-06 22:43:09 -07:00
Alessandro Toia
4b2e78a9d7
vulkan: make sure to parse config before checking parameters
2023-04-06 22:41:53 -07:00
FlightlessMango
ce5e0683f0
Nearest filter param
2023-04-03 00:04:24 +02:00
FlightlessMango
4fb0bb328b
Bicubic filtering param
2023-04-03 00:04:24 +02:00
FlightlessMango
de29e057de
Trilinear filtering param
2023-04-03 00:04:24 +02:00
FlightlessMango
5fe07a0ac3
Anisotropic filtering param
2023-04-03 00:04:24 +02:00
FlightlessMango
9b9e6e7b68
Sampler hook and picmip param
2023-04-03 00:04:24 +02: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
Alessandro Toia
87cc5c62fa
vulkan: Remove unused VkPhysicalDeviceFeatures
2023-02-01 16:20:03 -08:00
Kenton Groombridge
ffa7048543
vulkan: fix implicit instantiation of 'std::basic_stringstream<char>'
...
Add a missing include to fix the following build error seen with clang
15.0.7:
../MangoHud-0.6.8/src/vulkan.cpp:1523:22: error: implicit instantiation of undefined template 'std::basic_stringstream<char>'
std::stringstream ss;
^
/usr/include/c++/v1/iosfwd:146:32: note: template is declared here
class _LIBCPP_TEMPLATE_VIS basic_stringstream;
2023-01-31 22:04:22 +01:00
FlightlessMango
8450291777
vulkan: Do not modify pCreateInfo in CreateDevice
2023-01-24 12:05:03 +01:00
azn1999
f7a1cc159c
Fix FPS limiter
...
Note: the egl limiter is already correct
2023-01-23 06:57:52 +01: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
27c9863119
Set initial client socket handle to "invalid" value
2022-06-12 19:35:50 +03:00
jackun
c19d37ab76
Temporary perma fix for vkQueueSubmit blocking on "used" semaphore when multiple swapchains are sent to vkQueuePresentKHR
2022-05-27 08:46:27 +03:00
jackun
f680c28f1f
Generalize control over socket so it works with OpenGL too
2022-05-23 18:07:39 +03:00
jackun
753dd96325
Use overlay_new/end_frame to push/pop custom ImGui styles
2022-05-15 02:02:50 +03:00
jackun
d2d6787568
Cleanup some header inclusions
2022-03-29 09:33:26 +03:00
jackun
73da29d4ad
Try to init spdlog a bit earlier
2022-03-29 09:33:21 +03:00
jackun
2f5efc320a
Move FpsLimiter to overlay.cpp
2022-03-24 12:32:51 +02:00
jackun
8e21b52acf
Make get_device_name
return GPU name
2022-03-06 22:02:09 +02:00
jackun
c88ef84bf5
Revert "Get device name before system info"
...
This reverts commit e7de7b5b93
.
2022-03-06 21:32:16 +02:00
jackun
e555a942fb
Use single IO stats instance
2022-02-18 16:44:10 +02:00
jackun
4608fa5e3a
vkGetInstanceProcAddr(instance, "vkGetInstanceProcAddr") should return our vkGetInstanceProcAddr not the next in the chain.
2022-02-15 00:35:55 +02:00
flightlessmango
e435764eff
Merge pull request #662 from nanokatze/master
...
Set VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when creating swapchain
2022-01-25 11:27:11 +01:00
FlightlessMango
9c15d093d6
Only reset logger if param is not set
2022-01-25 11:18:28 +01:00
FlightlessMango
c50c815630
destroy logger with vulkan instance
2022-01-22 04:24:48 +01:00
FlightlessMango
9758d2a286
Try to get correct amd gpu when multiple
2022-01-02 12:04:22 +01:00
Constantine
a04230ad29
Set VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when creating swapchain
...
Fixes #582
2021-12-30 23:44:56 +02:00
FlightlessMango
ac58c30bbc
Use driverInfo for driver name/version instead
2021-12-13 14:20:38 +01:00
FlightlessMango
e7de7b5b93
Get device name before system info
2021-12-10 11:47:55 +01:00
FlightlessMango
fbda58c907
Some windows fixes
2021-11-12 05:44:53 +01:00
FlightlessMango
45be485a13
mangohud control
2021-11-04 02:08:26 +01:00
FlightlessMango
5fee3bc5e3
Change _params to pointer
2021-11-04 02:07:38 +01:00
FlightlessMango
b001eb4714
Move _params init to overlay.cpp
2021-10-18 17:50:58 +02:00
jackun
9b6a39dfe9
sed s/gnu_linux/linux/g
2021-10-02 15:25:07 +03:00
FlightlessMango
3ac7772a55
Add universal param
2021-09-18 17:21:20 +02:00
jackun
d1617818cd
Fix OpenGL gpu_name
2021-08-12 18:18:39 +03:00
jackun
891abdf3b9
Skip setting up vulkan render if HUD is hidden
2021-07-31 01:14:42 +03:00
jackun
355c521f12
Misc small clean ups and fixes
2021-07-30 19:15:49 +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
7d3b6b946d
Don't reinit stuff when re-creating swapchain
...
Partial revert of e13e98e03a
2021-07-21 19:00:49 +03:00