Commit Graph

1450 Commits (pr-642)
 

Author SHA1 Message Date
jackun ae309aa215
wip simpler locking q 2 years ago
jackun 9aa7125999 wip set image unloaded 2 years ago
jackun 3f94c098ce
wip notifier 2 years ago
jackun 9da9931f85 wip images 2 years ago
jackun 1cffa69553
wip single params 2 years ago
jackun 42fb1d5ac9
desc pool flag 2 years ago
Nicolas Adenis-Lamarre 5860a02fe8
mangohud on drm
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2 years ago
jackun 8ccbf269a2
Option to use vulkan 2 years ago
Nicolas Adenis-Lamarre 1756e8d852
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>
2 years ago
Nicolas Adenis-Lamarre 882f44f5ee
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>
2 years ago
Nicolas Adenis-Lamarre 3963a451d3
add load textures functions
for the moment, this file includes only textures loading for opengl.
imgui lacks a working vulkan addImage function.

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2 years ago
Nicolas Adenis-Lamarre 30f08bdc48
add stb_image and stb_image_resize
these libs (as single file) are used to load textures from files

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2 years ago
jackun a2c4a6a650
WIP separate transfer queue/command? 2 years ago
jackun ce1bb1ad17
[vulkan] Per device font image(s)
Less unnecessary recreations of font images.
2 years ago
jackun a8a0a245e6
Bump layer api version 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
PMunkes 6a010d8eab Introduce FCAT overlay support
This introduces support to overlay FCAT markers on top of other HUD elements.
For more information about nVidia's FCAT tool see: https://nvidia.com/en-us/geforce/technologies/fcat/technology
This patch includes support for the existing parameter infrastructure and it is fully dynamic.

Squashed commit:

Refactor FCAT to use existing parameter handling infrastructure

With this patch the FCAT overlay should be hooked up into the normal
parameter handling infrastructure. This includes support for
configuration file options, which are also part of this commit.
2 years ago
FlightlessMango f81369bd68 amdgpu: average gfx and cpu power as float 2 years ago
FlightlessMango 3184a44b96 Remove update_hw_info thread from log keybind 2 years ago
Alessandro Toia a18cabb152 Move gamepad_update to update_hw_info 2 years ago
jackun 39ba57daa1
s/is/are/g 2 years ago
jackun 8a628e6a77
Rename GL files to avoid some confusion with upstream Dear ImGui files 2 years ago
jackun 3e6b35560c
Use overlay_new/end_frame with mangoapp 2 years ago
FlightlessMango 1447778fd4 amdgpu: improve polling perf by reading with c
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango 10e17b3153 Use Hudelements params in logging 2 years ago
jackun b404fb948e
Set width by `table_columns` if not specified. Set "text" values to next column with `no_small_text` 2 years ago
jackun 753dd96325
Use overlay_new/end_frame to push/pop custom ImGui styles 2 years ago
jackun f78107e662
Wrap columns to new row depending on `table_columns` param 2 years ago
jackun 85db56b36b
[dbus] Skip rendering MPRIS info if locking fails
D-Bus code gets randomly stuck for some reason.
2 years ago
jackun f4cbb8b14b
When available (i.e. using vulkan), check vendor/device id and skip device if no match 2 years ago
jackun ac7c898ba7
Use uint32_t for device id etc 2 years ago
jackun d73932ad17
Clean up getAmdGpuInfo_actual 2 years ago
Alessandro Toia 9eb8447e14 Check if param gamepad_battery is enabled 2 years ago
jackun 58e277a8b7
Disable werror and tests for spdlog 2 years ago
FlightlessMango 3e57824f00 Fix zink detection from opengl path 2 years ago
FlightlessMango 5167e72649 gpu_metrics: send v1_0 to sysfs instead 2 years ago
jackun bd2f7b24b8
Snapshot some paths so moving stuff around doesn't randomly break things 2 years ago
FlightlessMango 17d4c1dd4a amdgpu: use gtt_used for APUs 2 years ago
FlightlessMango 19fbd9bf9b Nvidia: only do throttling checks if enabled 2 years ago
FlightlessMango 5d6ebe2f38 Logging: use same data for benchmark and summary 2 years ago
FlightlessMango 6119fa80d1 mangoapp: layer: remove unused get_device_chain_info func 2 years ago
FlightlessMango b30302c889 amdgpu: prefer hwmon over gpu_metrics for gpu temp
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
FlightlessMango bcf16a0def amdgpu: fixed incorrect gpu load for centipercent
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago
jackun 77bb7fd756
Disable werror for Dear ImGui
GCC 7.5:
../../subprojects/imgui-1.81/imgui.h:1642:80: warning: assuming signed overflow does not occur when assuming that (X - c) <= X is always true [-Wstrict-overflow]
     inline T&           operator[](int i)                   { IM_ASSERT(i >= 0 && i < Size); return Data[i]; }
2 years ago
FlightlessMango 663bbd05a6 Bump to 0.6.7 2 years ago
jackun f0177703ea
Rename to `frame_count` for consistency 2 years ago
FlightlessMango ec5952d834 amdgpu: changed clocks to average 2 years ago
FlightlessMango 8b7a1995a9 amdgpu: fix cpu temp and watt 2 years ago
FlightlessMango f9cfdeb080 Add gpu throttling status
Co-authored-by: Martin Roukala <martin.roukala@mupuf.org>
2 years ago