Alessandro Toia
41e4859547
vulkan: Use correct corresponding macro for IM_NEW()
1 year ago
Alex Maese
cd05d1771f
Add ability to toggle through presets
1 year ago
Etaash Mathamsetty
41f923b0b2
Use vulkan/GL device name
1 year ago
FlightlessMango
7189b75efe
blacklist: break earlier if hardcoded blacklist
1 year ago
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.
1 year ago
FlightlessMango
8f79e9cef3
sampler: don't apply picmip unless it's set in config
1 year ago
FlightlessMango
c9d3a70a48
sampler: use instance params
1 year ago
Alessandro Toia
328df38ecc
Remove not needed cerr
2 years ago
Alessandro Toia
4b2e78a9d7
vulkan: make sure to parse config before checking parameters
2 years ago
FlightlessMango
ce5e0683f0
Nearest filter param
2 years ago
FlightlessMango
4fb0bb328b
Bicubic filtering param
2 years ago
FlightlessMango
de29e057de
Trilinear filtering param
2 years ago
FlightlessMango
5fe07a0ac3
Anisotropic filtering param
2 years ago
FlightlessMango
9b9e6e7b68
Sampler hook and picmip param
2 years ago
Hannes Mann
e1f41bbb92
glx,egl,vulkan: Limit FPS early or late depending on config
2 years ago
Emil Velikov
eecd451068
meson: build with -Werror=missing-declarations
...
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
2 years ago
Alessandro Toia
87cc5c62fa
vulkan: Remove unused VkPhysicalDeviceFeatures
2 years ago
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;
2 years ago
FlightlessMango
8450291777
vulkan: Do not modify pCreateInfo in CreateDevice
2 years ago
azn1999
f7a1cc159c
Fix FPS limiter
...
Note: the egl limiter is already correct
2 years ago
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 :(
2 years ago
jackun
27c9863119
Set initial client socket handle to "invalid" value
2 years ago
jackun
c19d37ab76
Temporary perma fix for vkQueueSubmit blocking on "used" semaphore when multiple swapchains are sent to vkQueuePresentKHR
2 years ago
jackun
f680c28f1f
Generalize control over socket so it works with OpenGL too
2 years ago
jackun
753dd96325
Use overlay_new/end_frame to push/pop custom ImGui styles
2 years ago
jackun
d2d6787568
Cleanup some header inclusions
3 years ago
jackun
73da29d4ad
Try to init spdlog a bit earlier
3 years ago
jackun
2f5efc320a
Move FpsLimiter to overlay.cpp
3 years ago
jackun
8e21b52acf
Make `get_device_name` return GPU name
3 years ago
jackun
c88ef84bf5
Revert "Get device name before system info"
...
This reverts commit e7de7b5b93
.
3 years ago
jackun
e555a942fb
Use single IO stats instance
3 years ago
jackun
4608fa5e3a
vkGetInstanceProcAddr(instance, "vkGetInstanceProcAddr") should return our vkGetInstanceProcAddr not the next in the chain.
3 years ago
flightlessmango
e435764eff
Merge pull request #662 from nanokatze/master
...
Set VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when creating swapchain
3 years ago
FlightlessMango
9c15d093d6
Only reset logger if param is not set
3 years ago
FlightlessMango
c50c815630
destroy logger with vulkan instance
3 years ago
FlightlessMango
9758d2a286
Try to get correct amd gpu when multiple
3 years ago
Constantine
a04230ad29
Set VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when creating swapchain
...
Fixes #582
3 years ago
FlightlessMango
ac58c30bbc
Use driverInfo for driver name/version instead
3 years ago
FlightlessMango
e7de7b5b93
Get device name before system info
3 years ago
FlightlessMango
fbda58c907
Some windows fixes
3 years ago
FlightlessMango
45be485a13
mangohud control
3 years ago
FlightlessMango
5fee3bc5e3
Change _params to pointer
3 years ago
FlightlessMango
b001eb4714
Move _params init to overlay.cpp
3 years ago
jackun
9b6a39dfe9
sed s/gnu_linux/linux/g
3 years ago
FlightlessMango
3ac7772a55
Add universal param
3 years ago
jackun
d1617818cd
Fix OpenGL gpu_name
3 years ago
jackun
891abdf3b9
Skip setting up vulkan render if HUD is hidden
3 years ago
jackun
355c521f12
Misc small clean ups and fixes
3 years ago
jackun
a82e27d978
Use spdlog macros so logging can be completely disabled during compile-time
3 years ago
jackun
7d3b6b946d
Don't reinit stuff when re-creating swapchain
...
Partial revert of e13e98e03a
3 years ago