Commit Graph

1721 Commits (simple-image-loader)
 

Author SHA1 Message Date
jackun 524899dc1b
Fix disabling logging in release build
[skip ci]
12 months ago
jackun 4fcedf4a20
WIP Fix descriptor teardown order 12 months ago
jackun dadcf041a6
fix vulkan 12 months ago
jackun 4d8b94c469
Option to use vulkan 12 months 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>
12 months 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>
12 months ago
Nicolas Adenis-Lamarre eea9d9c3fd
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>
12 months ago
Nicolas Adenis-Lamarre 6c979d8e7f
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>
12 months ago
jackun 5fde8749af
Use a "get" function to initialize X11 loader...
...so static init doesn't spam log before we got that set up properly.
12 months ago
FlightlessMango ea3ba7e30d system info: don't use glxinfo
It's not available in steam runtime and generates a lot of log spam
12 months ago
FlightlessMango 5754ca13ee vulkan manifest: set cpu_family in layer name 1 year ago
FlightlessMango 0b3904fd38 change config and upload logs to debug 1 year ago
dependabot[bot] af92f28da5 build(deps): bump actions/setup-python from 2 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 4.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v4)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
1 year ago
FlightlessMango 102b714c11 CI: add action for parameter test 1 year ago
FlightlessMango 0fbd55fa77 tests: params checker
This test check if the available parameters exist in the readme and if
the sample config has the same defaults as mangohud does
1 year ago
FlightlessMango 744f173298 params: set proper default values for font_size and table_columns 1 year ago
FlightlessMango c9e67ca573 params: set param defaults in it's own func 1 year ago
Alessandro Toia 2b5bf96b20 overlay: Fix non stretched horzitontal center position layout 1 year ago
Alessandro Toia 1be907ed93 overlay: simplify window_size even more for !horizontal_stretch 1 year ago
FlightlessMango 3f8f036ee8 params: add cstdint header 1 year ago
Alessandro Toia e77585d848 params: add missing bottom-center layout 1 year ago
Alessandro Toia 7b5c0a43c6 overlay: simplify window_size for !horizontal_stretch 1 year ago
Alessandro Toia ed85504dec overlay: fix spacing when not using horizontal_stretch 1 year ago
Bill Li 9b0aec0540 nvml: Do not include header nvctrl.h if not build with xnvctrl support 1 year ago
Bill Li 2101090f00 nvml: Use #ifdef HAVE_XNVCTRL to check if xnvctrl is available 1 year ago
Alessandro Toia 3daf7d73b3 param: horizontal_stretch 1 year ago
FlightlessMango 2ffc579b7f config: add /etc/MangoHud.conf as an option
[skip ci]
1 year ago
FlightlessMango 6c46794496 cpu: core mhz: if scaling isn't available, use /proc/cpuinfo instead 1 year ago
FlightlessMango 12a86ef36e meson: prefer system cmocka 1 year ago
FlightlessMango b2c88c2dfd param: engine_short_names 1 year ago
FlightlessMango cbf531e6c8 nvml: use xnvctrl if available to get fan speed 1 year ago
FlightlessMango 4161139597 amdgpu: run_thread default to true 1 year ago
FlightlessMango e2711b8059 hud elements: fix gamescope graphs size 1 year ago
FlightlessMango 7853af98d0 mangoapp: amdgpu: pause the polling thread when it's not needed 1 year ago
FlightlessMango 9bc90493be amdgpu: reduce polling period 1 year ago
Alessandro Toia 98c9897430 Fix layout for core_load 1 year ago
Alessandro Toia c534f33156 When using horizontal layout set table_columns param to current count of table_columns 1 year ago
Alessandro Toia a45816b8e1 Replace TableNextColumn() with ImguiNextColumnFirstItem() and ImguiNextColumnOrNewRow() 1 year ago
FlightlessMango f7a712110f intel: drm_dev use string instead 1 year ago
FlightlessMango 7ea1f33fa1 overlay: init_gpu: bring back checkNvidia 1 year ago
FlightlessMango ddfc32211f overlay: removed unused include 1 year ago
FlightlessMango 20b729cca4 Overlay: intel drm: change printf to spdlog 1 year ago
FlightlessMango 38a1328536 Overlay: find the correct drm for intel 1 year ago
FlightlessMango 1d8f9f6601 hud_elements: fix gamescope debug graphs width
The width was not calculated the same way as in frame_timing.
Leading the graphs to occupy different amounts of space
1 year ago
jackun 95b7b44b6f
Nuke `io_stats`, `io_read/write` params are enough 1 year ago
jackun e61321717e
[OpenGL] Use MESA_query_renderer if avail; GL "WSI" enum 1 year ago
jackun 85fd1c97fd
Nuke MANGOHUD_DLSYM also from man page
[skip actions]
1 year ago
jackun cac664bef1
Nuke MANGOHUD_DLSYM
[skip actions]
1 year ago
Arvind Doobary d41a74ca1a
Show amdgpu junction and memory temp, if available
Added config parameter `gpu_junction_temp` and `gpu_mem_temp`

Closes #841
1 year ago
FlightlessMango 1093de8c44 nvml: fan: get rpm instead of percentage 1 year ago