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

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

#158 in Video

Download history 311/week @ 2024-06-18 230/week @ 2024-06-25 115/week @ 2024-07-02 271/week @ 2024-07-09 296/week @ 2024-07-16 411/week @ 2024-07-23 317/week @ 2024-07-30 305/week @ 2024-08-06 440/week @ 2024-08-13 189/week @ 2024-08-20 251/week @ 2024-08-27 223/week @ 2024-09-03 192/week @ 2024-09-10 348/week @ 2024-09-17 365/week @ 2024-09-24 290/week @ 2024-10-01

1,252 downloads per month
Used in 10 crates (9 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