-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Images component, background image component #642
base: master
Are you sure you want to change the base?
Conversation
0e1a377
to
d771ed2
Compare
these libs (as single file) are used to load textures from files 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>
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>
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>
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
55a1aad
to
c77664d
Compare
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
Do you have a use case with vulkan to see if it works for you? :P Some stuff needs some more ironing out (reloading etc.) but should be usable already. |
it has worked on batocera.linux distribution (batocera.org) on the stable version for monthes on x86_64/rpi/odroids opengl/vulkans. i can give you a screenshot if you want. |
I mean if my changes work in |
is it ok for this pr with your changes ? Should i do somethinig ? |
Nah, I need to figure out how to deal with vulkan concurrency issues (destroying texture while it's still being used) |
hum. any update ? |
the branch pr-642 is becoming very far from master and tag 0.6.8 ; this branch is becoming complex to maintain. |
No description provided.