PatchworkOS  da8a090
A non-POSIX operating system.
Loading...
Searching...
No Matches
Framebuffer device

Framebuffer device header. More...

Collaboration diagram for Framebuffer device:

Detailed Description

Framebuffer device header.

The sys/fb.h header defines structs and constants used by framebuffer devices, for example /dev/fb0. The primary way to use a framebuffer device is to first use IOCTL_FB_INFO to retrieve its width and height, then factoring in its format to get the total size in bytes of the framebuffer and finally using mmap to map it to the currently running processes address space.

Data Structures

struct  fb_info_t
 Framebuffer info struct. More...
 

Enumerations

enum  fb_format_t { FB_ARGB32 }
 Framebuffer format enum. More...
 

Enumeration Type Documentation

◆ fb_format_t

Framebuffer format enum.

The fb_format_t enum specified the format of the pixel data in a framebuffer. All byte orders are specified in little-endian.

Enumerator
FB_ARGB32 

Definition at line 27 of file fb.h.