-
Is there a way to render the slint ui directly on linux's /dev/fb0 while using rust's std ? I looked at the documentation, but couldn't find a tutorial or demo . please help |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Not out of the box ( #712 ) But this is possible if you use a custom platform and the software renderer. (unfortunately not the GL renderer at this point) The documentation on how to create a custom platform is here: https://docs.rs/slint/latest/slint/docs/mcu/index.html This would make for a good demo actually. |
Beta Was this translation helpful? Give feedback.
Not out of the box ( #712 )
But this is possible if you use a custom platform and the software renderer. (unfortunately not the GL renderer at this point)
The documentation on how to create a custom platform is here: https://docs.rs/slint/latest/slint/docs/mcu/index.html
This talks about no_std environment, but you can also use it with std environment (with the std feature of slint)
You'll have to use some library to draw the image on the frame buffer. Maybe there is a crate for that.
This would make for a good demo actually.