PatchworkOS
Loading...
Searching...
No Matches
fb_info_t Struct Reference

Framebuffer info struct. More...

#include <fb.h>

Data Fields

uint64_t width
 
uint64_t height
 
uint64_t stride
 
fb_format_t format
 
char name [MAX_NAME]
 

Detailed Description

Framebuffer info struct.

The fb_info_t struct stores information about a framebuffer and is retrieved by reading a /dev/fb/[id]/info file.

Definition at line 38 of file fb.h.

Field Documentation

◆ format

fb_format_t fb_info_t::format

Definition at line 43 of file fb.h.

Referenced by frontbuffer_init(), gop_init(), screen_swap(), and screen_transfer_frontbuffer().

◆ height

uint64_t fb_info_t::height

◆ name

char fb_info_t::name[MAX_NAME]

◆ stride

◆ width

uint64_t fb_info_t::width

Definition at line 40 of file fb.h.

Referenced by frontbuffer_init(), gop_init(), screen_init(), and screen_width().


The documentation for this struct was generated from the following file: