#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

#24 in Rendering

Download history 42/week @ 2018-10-28 38/week @ 2018-11-04 94/week @ 2018-11-11 15/week @ 2018-11-18 33/week @ 2018-11-25 35/week @ 2018-12-02 13/week @ 2018-12-09 14/week @ 2018-12-16 64/week @ 2018-12-23 4/week @ 2018-12-30 14/week @ 2019-01-06 7/week @ 2019-01-13 4/week @ 2019-01-20 6/week @ 2019-01-27 5/week @ 2019-02-03

104 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

~701KB