Commit Graph

1476 Commits (simple-image-loader)

Author SHA1 Message Date
jackun 92844d63ac
Fix disabling logging in release build
[skip ci]
4 days ago
jackun 901470146c
WIP Fix descriptor teardown order 4 days ago
jackun 53ff070c5c
fix vulkan 4 days ago
jackun c6bc12bf98
Option to use vulkan 4 days ago
Nicolas Adenis-Lamarre 3b9908b0d2
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 days ago
Nicolas Adenis-Lamarre d94e9085ea
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>
5 days ago
Nicolas Adenis-Lamarre 64b0803028
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>
5 days ago
Nicolas Adenis-Lamarre db3bff572b
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>
5 days ago
flightlessmango 63eaf1489a Revert "amdgpu: rework convertion of endian"
This reverts commit dc7ec94549.
1 week 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
2 weeks ago
flightlessmango dc7ec94549 amdgpu: rework convertion of endian
We convert to host endian as we fetch the values from gpu_metrics
2 weeks 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.
2 weeks ago
Alex Maese 872a564889 Set current_preset to first preset when use_existing_preset is false 2 weeks 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
2 weeks ago
Alex Maese 6ab4624cfb Use 'debug' log level when presets.conf doesn't exist 2 weeks ago
Alesh Slovak 5d744d328a add various additional stats to log summary 3 weeks ago
Arias800 32c6cf0ebd Add nvidia shield 2017 controller 3 weeks ago
flightlessmango 55712618fa presets: 4: disable gpu_fan for steamdeck 3 weeks ago
flightlessmango a0a31b4f64 x11: check that DISPLAY env exists 1 month ago
Etaash Mathamsetty 4cad060334 fix locking in device_info 1 month ago
Błażej Szczygieł 121cf54d9b hud elements: clear ordered_functions when legacy_layout is disabled
fixes #1236
1 month ago
Alessandro Toia 7497b1da3f device: Use LOGI MOUSE/KB instead of device_name 1 month ago
Etaash Mathamsetty 0e92ec4790 fix device_data race condition with mutex 1 month ago
Milos Tijanic 44eb25e10e nvml: only query params that will actually be used 1 month ago
flightlessmango 046b6cecdd winesync: small font 2 months ago
flightlessmango b6291a51e6 refresh_rate: small font 2 months ago
flightlessmango ba220022d0 network: remove header and add arrow indicators 2 months ago
flightlessmango 8491ff5aa9 preset: 4: add network and remove present_mode 2 months ago
flightlessmango c363c96cd5 network: color: change to #e07b85 2 months ago
flightlessmango 23a2d53a3b time_no_label: don't enable with full 2 months ago
flightlessmango 4f43b260cc gamescope frame timing: app was not displaying correctly 2 months ago
Etaash Mathamsetty 6ec1f8c80e run angle check before regular dlsym 2 months ago
Etaash Mathamsetty d23b4cde8c promote debug statement to error 2 months ago
Sefa Eyeoglu 4d0b1e1fb8 blacklist: add monado-service
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2 months ago
Etaash Mathamsetty 366c1a233f use simpler method to detect angle 2 months ago
Etaash Mathamsetty 86668eeb96 HACK: check EGL load directory and only hook the first loaded libEGL 2 months ago
Etaash Mathamsetty e99284aadd fix electron apps like minecraft-launcher 2 months ago
Etaash Mathamsetty 5912cce19f fix exception with std::stoi 2 months ago
flightlessmango 291ffd263c shell: fix spdlog error typo for writing 2 months ago
flightlessmango ffff9b83b2 Revert "fix exception with std::stoi"
This reverts commit 054f4cc9e3.
2 months ago
flightlessmango 14b1d87ad8 Revert "fix electron apps like minecraft-launcher"
This reverts commit a65d1d8a2b.
2 months ago
flightlessmango f7d291bbe9 Revert "HACK: check EGL load directory and only hook the first loaded libEGL"
This reverts commit c39984da9e.
2 months ago
Etaash Mathamsetty c39984da9e HACK: check EGL load directory and only hook the first loaded libEGL 2 months ago
Etaash Mathamsetty a65d1d8a2b fix electron apps like minecraft-launcher 2 months ago
Etaash Mathamsetty 054f4cc9e3 fix exception with std::stoi 2 months ago
flightlessmango 66b103ac55 config: mutex: forgot brackets in render 2 months ago
flightlessmango 33b8924384 config: add a mutex for config
We want to wait to render before config has been fully loaded.
Otherwise this can sometimes cause a crash when we access config
options while they are being assigned.
2 months ago
flightlessmango 4aa92187a7 logging: fixed a crash when reloading config while logging 2 months ago
flightlessmango 976ae0f75a shell: fix more unused warnings 2 months ago
flightlessmango 77d6244cea cpu: temp: check that input gives a non-zero value 2 months ago