Commit Graph

123 Commits (524899dc1b5497f6958ff96c11af42ea279b81c7)

Author SHA1 Message Date
jackun 524899dc1b
Fix disabling logging in release build
[skip ci]
1 year ago
jackun 4fcedf4a20
WIP Fix descriptor teardown order 1 year ago
jackun dadcf041a6
fix vulkan 1 year ago
Nicolas Adenis-Lamarre f75e44c1e8
options: image <path> / image_max_width (int) / image_background (path)
image : to display an image component (only one component of type image can be rendered)
        note that the texture is never cleared, nor reloaded (in case of configuration modification).

image_max_width: by default, the width of the image is the one of the pannel (value is 0). with this
                 option, you can reduce it.

image_background: global background image to display

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
1 year ago
Nicolas Adenis-Lamarre e0736d97ed
convert textures to rgba
images textures need rgba (to load alpha for example for decorations).
thus, this commit globally convert gl textures in rgba

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
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 1 year ago
Alessandro Toia 4b2e78a9d7 vulkan: make sure to parse config before checking parameters 1 year ago
FlightlessMango ce5e0683f0 Nearest filter param 1 year ago
FlightlessMango 4fb0bb328b Bicubic filtering param 1 year ago
FlightlessMango de29e057de Trilinear filtering param 1 year ago
FlightlessMango 5fe07a0ac3 Anisotropic filtering param 1 year ago
FlightlessMango 9b9e6e7b68 Sampler hook and picmip param 1 year ago
Hannes Mann e1f41bbb92 glx,egl,vulkan: Limit FPS early or late depending on config 1 year ago
Emil Velikov eecd451068 meson: build with -Werror=missing-declarations
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
1 year ago
Alessandro Toia 87cc5c62fa vulkan: Remove unused VkPhysicalDeviceFeatures 1 year 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;
1 year ago
FlightlessMango 8450291777 vulkan: Do not modify pCreateInfo in CreateDevice 1 year ago
azn1999 f7a1cc159c Fix FPS limiter
Note: the egl limiter is already correct
1 year 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 2 years ago
jackun 73da29d4ad
Try to init spdlog a bit earlier 2 years ago
jackun 2f5efc320a
Move FpsLimiter to overlay.cpp 2 years ago
jackun 8e21b52acf
Make `get_device_name` return GPU name 2 years ago
jackun c88ef84bf5
Revert "Get device name before system info"
This reverts commit e7de7b5b93.
2 years ago
jackun e555a942fb
Use single IO stats instance 2 years ago
jackun 4608fa5e3a
vkGetInstanceProcAddr(instance, "vkGetInstanceProcAddr") should return our vkGetInstanceProcAddr not the next in the chain. 2 years ago
flightlessmango e435764eff
Merge pull request #662 from nanokatze/master
Set VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when creating swapchain
2 years ago
FlightlessMango 9c15d093d6 Only reset logger if param is not set 2 years ago
FlightlessMango c50c815630 destroy logger with vulkan instance 2 years ago
FlightlessMango 9758d2a286 Try to get correct amd gpu when multiple 2 years ago
Constantine a04230ad29 Set VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT when creating swapchain
Fixes #582
2 years ago
FlightlessMango ac58c30bbc Use driverInfo for driver name/version instead 2 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