QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
fbset.c File Reference

Macros

#define DEFAULT_FRAMEBUFFER   "/dev/fb0"
 
#define DEFAULT_MODEDBFILE   "/etc/fb.modes"
 
#define Die   Sys_Printf
 
#define printf   Sys_Printf
 
#define puts(s)   Sys_Printf("%s\n",(s))
 

Functions

void AddVideoMode (const struct VideoMode *vmode)
 
void ConvertFromVideoMode (const struct VideoMode *vmode, struct fb_var_screeninfo *var)
 
void ConvertToVideoMode (const struct fb_var_screeninfo *var, struct VideoMode *vmode)
 
int fbset_main (int argc, const char *argv[])
 
struct VideoModeFindVideoMode (const char *name)
 
void makeRGBA (struct VideoMode *vmode, const char *opt)
 
void ReadModeDB (void)
 

Variables

struct VideoMode Current
 
const char * Opt_modedb = DEFAULT_MODEDBFILE
 
struct VideoModeVideoModes = NULL
 

Macro Definition Documentation

#define DEFAULT_FRAMEBUFFER   "/dev/fb0"
#define DEFAULT_MODEDBFILE   "/etc/fb.modes"
#define Die   Sys_Printf
#define printf   Sys_Printf
#define puts (   s)    Sys_Printf("%s\n",(s))

Function Documentation

void AddVideoMode ( const struct VideoMode vmode)
void ConvertFromVideoMode ( const struct VideoMode vmode,
struct fb_var_screeninfo *  var 
)
void ConvertToVideoMode ( const struct fb_var_screeninfo *  var,
struct VideoMode vmode 
)
int fbset_main ( int  argc,
const char *  argv[] 
)
struct VideoMode* FindVideoMode ( const char *  name)
void makeRGBA ( struct VideoMode vmode,
const char *  opt 
)
void ReadModeDB ( void  )

Variable Documentation

const int change
struct VideoMode Current
const char* name
const char* Opt_modedb = DEFAULT_MODEDBFILE
const char** value
struct VideoMode* VideoModes = NULL