The manual
ginnOS
The reference: libc, the libraries and the kernel
Loading...
Searching...
No Matches
fb_mode_t Struct Reference

FBIOGET_MODE: one video mode. More...

#include <sys/fb.h>

Data Fields

uint32_t index
uint32_t width
uint32_t height
uint32_t bpp
uint32_t current
uint32_t preferred

Detailed Description

FBIOGET_MODE: one video mode.

the caller sets index (0, 1, ...); the kernel fills in the rest, or fails with EINVAL past the last mode. with a display driver the list is the sizes it can set, the preferred one first; without one it is the firmware's list from the bootloader (or only the current mode).

Field Documentation

◆ index

uint32_t fb_mode_t::index

◆ width

uint32_t fb_mode_t::width

◆ height

uint32_t fb_mode_t::height

◆ bpp

uint32_t fb_mode_t::bpp

◆ current

uint32_t fb_mode_t::current

◆ preferred

uint32_t fb_mode_t::preferred

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