Skip to content(if available)orjump to list(if available)

LibNSFB – Framebuffer (bitmap on screen) abstraction library, written in C

volemo

I believe fenster [1] is an alternative.

[1]: https://github.com/zserge/fenster

peter_d_sherman

>LibNSFB: "The overall idea of the library is to provide a

generic abstraction to a linear section of memory which corresponds to a visible array of pixel elements on a display [surface, context, software abstraction layer or] device

Different colour depths are supported and the library provides routines for tasks such as drawing onto the framebuffer and rectangle copy operations.

LibNSFB currently supports the following as framebuffer providers:

Linux framebuffer

X

SDL

VNC

ABLE framebuffer"

Absolutely beautiful -- and necessary!

I was looking for a library like this that was not tightly coupled to other extraneous and unnecessary software (aka "bloatware") but could work across multiple graphics context providers, providing the same abstraction to each (i.e., software that is written for one software stack, i.e., X, automatically works for another software stack, i.e., SDL).

Here we're not trying to be a game engine or a sound engine or anything else.

We (by which I mean the developers!) are only trying to do one thing and do it right, and that's to abstract a graphical drawing surface, a bitmap, a "graphical viewport on the screen" across all of the above lower-level implementations.

So, I was looking for something like this for some time...

Well done!