framebuffer-create

Synopsis

(framebuffer-create)

(framebuffer-create framebuffer-device)

Parameters

  • framebuffer-device (optional)

Description

(framebuffer-create framebuffer-device) creates a framebuffer object connected to the specified device. If the argument is omitted, /dev/fb0 is used as the default.

Side Effects

The screen associated with the framebuffer is cleared (set to all black) and the invisible graphical cursor is set to its origin 0,0.

Return Value

The framebuffer object is returned.

Example

> (framebuffer-create)
#<framebuffer device:/dev/fb0 width:1600 height:900 bpp:32 fd:3>
> (framebuffer-create "/dev/fb0")
#<framebuffer device:/dev/fb0 width:1600 height:900 bpp:32 fd:4>
>