#fb #abstraction #ioctl #basic #necessary #devices

framebuffer

Basic framebuffer abstraction. Handles the necessary ioctls and mmaps the framebuffer device.

14 releases

0.3.1 Nov 13, 2021
0.3.0 Jun 16, 2021
0.2.2 Nov 8, 2020
0.2.0 Nov 26, 2019
0.1.3 Nov 24, 2015

#157 in Video

Download history 400/week @ 2023-11-19 758/week @ 2023-11-26 398/week @ 2023-12-03 297/week @ 2023-12-10 744/week @ 2023-12-17 603/week @ 2023-12-24 154/week @ 2023-12-31 553/week @ 2024-01-07 375/week @ 2024-01-14 412/week @ 2024-01-21 289/week @ 2024-01-28 444/week @ 2024-02-04 291/week @ 2024-02-11 658/week @ 2024-02-18 665/week @ 2024-02-25 560/week @ 2024-03-03

2,189 downloads per month
Used in 9 crates (8 directly)

WTFPL license

93KB
235 lines

rust-framebuffer

Basic framebuffer abstraction for Rust.

An example can be found in the examples directory. Use the following command to compile and run:

sudo cargo run --release --example rust-logo

To avoid having to run all commands as root, you can add yourself to the video group:

sudo usermod -aG video <username>

Make sure to check out the starfield example as well!

Basic documentation is available: http://roysten.github.io/rust-framebuffer/target/doc/framebuffer/. The documentation is a bit sparse, but I hope the examples can make up for that.


lib.rs:

Simple linux framebuffer abstraction. Examples can be found here.

Dependencies