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>
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>
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>
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
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."
* 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>