7 #include <linux/stmfb.h>
11 # define FB_DEV "/dev/fb0"
17 int xRes, yRes, stride, bpp;
19 struct stmfbio_output_configuration outcfg;
20 struct stmfbio_outputinfo outinfo;
21 struct stmfbio_planeinfo planemode;
22 struct stmfbio_var_screeninfo_ex infoex;
25 int topDiff, leftDiff, rightDiff, bottomDiff;
28 struct fb_var_screeninfo screeninfo;
30 uint16_t red[256], green[256], blue[256], trans[256];
35 int m_number_of_pages;
47 #if not defined(__sh__)
48 void enableManualBlit();
49 void disableManualBlit();
50 int showConsole(
int state);
52 int SetMode(
int xRes,
int yRes,
int bpp);
53 void getMode(
int &xres,
int &yres,
int &bpp);
63 unsigned int Stride() {
return stride; }
64 fb_cmap *
CMAP() {
return &cmap; }
75 int getFBdiff(
int ret);
76 void setFBdiff(
int top,
int right,
int left,
int bottom);
int getNumPages()
Definition: fb.h:56
unsigned int Stride()
Definition: fb.h:63
int PutCMAP()
Definition: fb.cpp:449
int lock()
Definition: fb.cpp:454
int SetMode(int xRes, int yRes, int bpp)
Definition: fb.cpp:210
fbClass(const char *fb=FB_DEV)
Definition: fb.cpp:41
static fbClass * getInstance()
Definition: fb.cpp:36
void unlock()
Definition: fb.cpp:487
void getMode(int &xres, int &yres, int &bpp)
Definition: fb.cpp:310
unsigned char * lfb
Definition: fb.h:43
fb_cmap * CMAP()
Definition: fb.h:64
~fbClass()
Definition: fb.cpp:427
int islocked()
Definition: fb.h:81
unsigned long getPhysAddr()
Definition: fb.h:58
int waitVSync()
Definition: fb.cpp:330
void blit()
Definition: fb.cpp:336
int Available()
Definition: fb.h:54
int setOffset(int off)
Definition: fb.cpp:323
#define FB_DEV
Definition: fb.h:11
instance
Definition: NavigationInstance.py:2