|
ginnOS
The reference: libc, the libraries and the kernel
|
framebuffer geometry and pixel format, filled by fbinfo(). More...
#include <fb.h>
framebuffer geometry and pixel format, filled by fbinfo().
framebuffer geometry and pixel format, filled by fb_init().
mirrors the kernel's view; the channel size/shift pairs describe how r/g/b sit inside a pixel so a program can pack colours for any layout.
| uint32_t fb_info_t::width |
| uint32_t fb_info_t::height |
| uint32_t fb_info_t::pitch |
| uint32_t fb_info_t::bpp |
| uint8_t fb_info_t::red_size |
| uint8_t fb_info_t::red_shift |
| uint8_t fb_info_t::green_size |
| uint8_t fb_info_t::green_shift |
| uint8_t fb_info_t::blue_size |
| uint8_t fb_info_t::blue_shift |
| uint8_t fb_info_t::_pad[2] |
| uint8_t* fb_info_t::addr |
| phys_addr_t fb_info_t::phys |
| uint8_t fb_info_t::bpp |
| uint8_t fb_info_t::bytes_pp |