#framebuffer #fb

framebuffer

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

10 releases

✓ Uses Rust 2018 edition

0.2.0 Nov 26, 2019
0.1.8 Feb 10, 2019
0.1.7 Jul 24, 2018
0.1.6 Mar 19, 2017
0.1.3 Nov 24, 2015

#38 in Rendering

Download history 8/week @ 2019-08-13 79/week @ 2019-08-20 61/week @ 2019-08-27 60/week @ 2019-09-03 25/week @ 2019-09-10 45/week @ 2019-09-17 36/week @ 2019-09-24 21/week @ 2019-10-01 16/week @ 2019-10-08 21/week @ 2019-10-15 46/week @ 2019-10-22 11/week @ 2019-10-29 15/week @ 2019-11-05 21/week @ 2019-11-12 366/week @ 2019-11-19

243 downloads per month
Used in 2 crates

WTFPL license

93KB
222 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