fb_info_s Struct Reference

Video display context. More...

#include <able/fb.h>

Collaboration diagram for fb_info_s:

Collaboration graph
[legend]

Data Fields

const char * name
 Name of a framebuffer.
struct devdev
 Hardware device for framebuffer.
unsigned char * video_start
 Start of video memory.
unsigned long video_scroll
 Scroll offset from start.
unsigned long video_size
 Size of displayed screen.
unsigned long video_totsize
 Total size of video memory.
unsigned long hw_start
 Start in hardware's address form.
unsigned long line_len
 Length of a line in bytes.
struct fb_var_screeninfoscreeninfo
 Screen display mode.
argb_t cur_palette [256]
 The RGB values for the palette last set on this framebuffer.

Detailed Description

Video display context.

This holds the current state for a framebuffer, containing such items as display mode and video memory.


Field Documentation

const char* fb_info_s::name

Name of a framebuffer.

struct dev* fb_info_s::dev [read]

Hardware device for framebuffer.

unsigned char* fb_info_s::video_start

Start of video memory.

unsigned long fb_info_s::video_scroll

Scroll offset from start.

unsigned long fb_info_s::video_size

Size of displayed screen.

unsigned long fb_info_s::video_totsize

Total size of video memory.

unsigned long fb_info_s::hw_start

Start in hardware's address form.

unsigned long fb_info_s::line_len

Length of a line in bytes.

Screen display mode.

The RGB values for the palette last set on this framebuffer.

Note:
This is only valid and useful if the framebuffer is in an eight bits per pixel indexed colour code.


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

Generated on Tue Jan 20 14:29:01 2009 for ABLE LIBC by  doxygen 1.5.6