Commit Graph

2028 Commits (12620c91eaca0917a7939a92ec33915cadf24475)
 

Author SHA1 Message Date
Nicolas Adenis-Lamarre 12620c91ea
Implement drawing (background) image.
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>
4 months ago
Nicolas Adenis-Lamarre 44917b7efc
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>
4 months ago
Nicolas Adenis-Lamarre 88d34c3856
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>
4 months ago
Nicolas Adenis-Lamarre 82fc69be9a
Add stb_image.h and stb_image_resize2.h
These libs (as single file) are used to load textures from files.

Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
4 months ago
J Laari 41b8761590 Fix reference URL
Please double check whether this is the right file
4 months ago
flightlessmango 89a6f016a4 workflow: update mangohud version
this workflow will update the meson version in meson.build
when a new tag is created. This should cause less headache
for the developer who keeps forgetting to change the version manually
4 months ago
flightlessmango f8fb9aaa7d shell: unset LD_PRELOAD at init 4 months ago
flightlessmango 41f2cf74de shell: just unset LD_PRELOAD on all commands 4 months ago
flightlessmango 2937785446 params: fix read_cfg not overriding config options 4 months ago
flightlessmango eaa96ecfba shell: attempt to fix showing ld error 4 months ago
jackun 4a34502aeb
Add virtual dtor to CPUPowerData
ASan complains about allocated size mismatch in ctor/dtor.
Scott Meyers says: "Polymorphic base classes should declare virtual destructors. If a class has any virtual functions, it should have a virtual destructor."
4 months ago
flightlessmango 4307450c02 params: control: change errors to debug 4 months ago
flightlessmango a4393e0e42 Shell: read: only get last line 4 months ago
flightlessmango 511b7a6f2a Shell: add debug for cmd and output 4 months ago
Leopard1907 391c52271c Update blacklist.cpp 4 months ago
Leopard1907 e6b7304ec5 [blacklist] Add Ubisoft store 4 months ago
João Batista b217d75917 meson.build - v0.7.2 4 months ago
flightlessmango 7b80f733b6 workflow: build-package: actually fix bad credentials 4 months ago
flightlessmango 038478a96a workflow: build-package: create release if it doesn't exist 4 months ago
flightlessmango f22d3221a3 workflow: build-package: add auth debug 4 months ago
flightlessmango d8ed2331c3 workflow: build-package fix typo 4 months ago
flightlessmango 6312c46663 workflow: build-package: attempt to fix release upload 4 months ago
flightlessmango 78a892e1af Revert "test: amdgpu: convert metrics to host endian"
This reverts commit faa3b1c22f.
4 months ago
flightlessmango 63eaf1489a Revert "amdgpu: rework convertion of endian"
This reverts commit dc7ec94549.
4 months ago
flightlessmango 4cbcec30b8 intel: don't use of intel_gpu_top
It's too much of a hassle to use intel_gpu_top, let's just wait
until these values are exposed in sysfs and until then we will just
have gpu load
4 months ago
flightlessmango dc7ec94549 amdgpu: rework convertion of endian
We convert to host endian as we fetch the values from gpu_metrics
4 months ago
flightlessmango faa3b1c22f test: amdgpu: convert metrics to host endian 4 months ago
flightlessmango 0caded833e intel: don't disable if intel_gpu_top fails
Before we only had intel_gpu_top to rely on, but now
we can also get gpu load from fd.
4 months ago
Alex Maese 872a564889 Set current_preset to first preset when use_existing_preset is false 5 months ago
Alex Maese 5c1fe0a5e6 Fix issue where presets weren't applied when MANGOHUD_CONFIG is set
When MANGOHUD_CONFIG was set but didn't contain either read_cfg or
preset values, the preset was never applied
5 months ago
Alex Maese 6ab4624cfb Use 'debug' log level when presets.conf doesn't exist 5 months ago
Bill Li f0407636d3 pkgbuild: update source for sdplog to 1.14.1 5 months ago
Alesh Slovak 5d744d328a add various additional stats to log summary 5 months ago
Gonçalo Negrier Duarte 4ee8a9aac4 meson: verify if system lib are present before fallback to submodules
* if meson dosen't found spdlog with use_system_spdlog enabled
  meson will print a warning and fallback to the submodule
  instead of giving an error
* System vulkan-headers can't be use since mangohud don't use latest SDK
  The code is commented out for future use
* All the other submodules will use system dependency when found

Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
5 months ago
flightlessmango 31f2ca5e30 meson: spdlog: try to sort out proper fallback 5 months ago
Alessandro Toia 57cd928c63 spdlog-wrap: update to version 1.14.1 5 months ago
Arias800 32c6cf0ebd Add nvidia shield 2017 controller 5 months ago
flightlessmango ec1b9c017f meson: spdlog: check if system is disabled 5 months ago
flightlessmango 55712618fa presets: 4: disable gpu_fan for steamdeck 5 months ago
flightlessmango a0a31b4f64 x11: check that DISPLAY env exists 5 months ago
Etaash Mathamsetty 4cad060334 fix locking in device_info 5 months ago
Błażej Szczygieł 121cf54d9b hud elements: clear ordered_functions when legacy_layout is disabled
fixes #1236
5 months ago
Alessandro Toia 7497b1da3f device: Use LOGI MOUSE/KB instead of device_name 5 months ago
Etaash Mathamsetty 0e92ec4790 fix device_data race condition with mutex 5 months ago
Milos Tijanic 44eb25e10e nvml: only query params that will actually be used 5 months ago
flightlessmango 046b6cecdd winesync: small font 6 months ago
flightlessmango b6291a51e6 refresh_rate: small font 6 months ago
flightlessmango ba220022d0 network: remove header and add arrow indicators 6 months ago
flightlessmango 8491ff5aa9 preset: 4: add network and remove present_mode 6 months ago
flightlessmango c363c96cd5 network: color: change to #e07b85 6 months ago