aboutsummaryrefslogtreecommitdiff
path: root/lib/gdi/fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gdi/fb.h')
-rw-r--r--lib/gdi/fb.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/gdi/fb.h b/lib/gdi/fb.h
index c83e7571..2b0d95b5 100644
--- a/lib/gdi/fb.h
+++ b/lib/gdi/fb.h
@@ -14,7 +14,8 @@ class fbClass
__u16 red[256], green[256], blue[256], trans[256];
static fbClass *instance;
int locked;
-
+
+ int m_manual_blit;
int m_number_of_pages;
#ifdef SWIG
fbClass(const char *fb="/dev/fb/0");
@@ -23,6 +24,8 @@ public:
#else
public:
unsigned char *lfb;
+ void enableManualBlit();
+ void disableManualBlit();
int showConsole(int state);
int SetMode(unsigned int xRes, unsigned int yRes, unsigned int bpp);
int Available() { return available; }
@@ -31,6 +34,7 @@ public:
int setOffset(int off);
int waitVSync();
+ void blit();
unsigned int Stride() { return stride; }
fb_cmap *CMAP() { return &cmap; }