Skip to content
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

Linux framebuffer driver? #714

Open
icefoxen opened this issue Nov 28, 2022 · 3 comments
Open

Linux framebuffer driver? #714

icefoxen opened this issue Nov 28, 2022 · 3 comments

Comments

@icefoxen
Copy link

Description of the problem/feature request/other

Is there a driver for drawing directly on the Linux kernel framebuffer device /dev/fb0? If not, do you want one, perhaps as a shim for the framebuffer crate or such?

Inspired by ggez/ggez#1141 . This issue got me wondering because I expected this to exist but couldn't find one.

@jamwaffles
Copy link
Member

Not to my knowledge, no. I took a quick look through the reverse dependencies and didn't see mention of Linux FB stuff there. I don't know where else to look so maybe it's not implemented, but it's also worth asking in the chatroom (if you're partial to Matrix) to see if anyone else has already implemented it.

@icefoxen
Copy link
Author

Yeah I managed to find https://crates.io/crates/embedded_graphics_framebuffer/0.1.1 but it's only seven commits in. I think that's the best there is right now. Seems an odd omission; I might try to make one of my own. Thanks!

@shulltronics
Copy link

Hi guys,

I know this conversation is from about a year ago, but I did implement this in a very rudimentary way in my repo here. The DrawTarget trait is implemented at the bottom of the library code. It's also for version 0.7 of this library.

If there is still interest I could update the code! Let me know :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants