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

the pixel format of a framebuffer, for gfx_present. More...

#include </home/runner/work/ginnOS-docs/ginnOS-docs/ginnOS/src/lib/gfx/include/gfx.h>

Data Fields

uint8_t bytes_per_pixel
uint8_t red_size
uint8_t red_shift
uint8_t green_size
uint8_t green_shift
uint8_t blue_size
uint8_t blue_shift

Detailed Description

the pixel format of a framebuffer, for gfx_present.

the sizes and shifts are those of the framebuffer's FBIOGET_VSCREENINFO.

Field Documentation

◆ bytes_per_pixel

uint8_t gfx_format_t::bytes_per_pixel

◆ red_size

uint8_t gfx_format_t::red_size

◆ red_shift

uint8_t gfx_format_t::red_shift

◆ green_size

uint8_t gfx_format_t::green_size

◆ green_shift

uint8_t gfx_format_t::green_shift

◆ blue_size

uint8_t gfx_format_t::blue_size

◆ blue_shift

uint8_t gfx_format_t::blue_shift

The documentation for this struct was generated from the following file:
  • src/lib/gfx/include/gfx.h