#framebuffer #fb

framebuffer

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

9 releases

✓ Uses Rust 2018 edition

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

#32 in Rendering

Download history 13/week @ 2018-12-13 73/week @ 2018-12-20 2/week @ 2018-12-27 15/week @ 2019-01-03 6/week @ 2019-01-10 3/week @ 2019-01-17 7/week @ 2019-01-24 2/week @ 2019-01-31 19/week @ 2019-02-07 9/week @ 2019-02-14 8/week @ 2019-02-21 26/week @ 2019-02-28 18/week @ 2019-03-07 4/week @ 2019-03-14 109/week @ 2019-03-21

78 downloads per month
Used in 1 crate

WTFPL license

91KB
225 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

~724KB