patch by Pieter Grimmerink: use ext3 largefile option only for disks > 4G
[enigma2.git] / lib / gdi / fb.h
index f29c859573e0a9c02a786b52cae1740777ddc4ee..2b0d95b5d135ab2454d445d4f016ec67964f8274 100644 (file)
@@ -14,24 +14,37 @@ class fbClass
        __u16 red[256], green[256], blue[256], trans[256];
        static fbClass *instance;
        int locked;
        __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");
+       ~fbClass();
+public:
+#else
 public:
        unsigned char *lfb;
 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; }
        int showConsole(int state);
        int SetMode(unsigned int xRes, unsigned int yRes, unsigned int bpp);
        int Available() { return available; }
+       
+       int getNumPages() { return m_number_of_pages; }
+       
        int setOffset(int off);
        int waitVSync();
        int setOffset(int off);
        int waitVSync();
+       void blit();
        unsigned int Stride() { return stride; }
        fb_cmap *CMAP() { return &cmap; }
 
        fbClass(const char *fb="/dev/fb/0");
        ~fbClass();
        
        unsigned int Stride() { return stride; }
        fb_cmap *CMAP() { return &cmap; }
 
        fbClass(const char *fb="/dev/fb/0");
        ~fbClass();
        
-       static fbClass *getInstance();
-
-                               // low level gfx stuff
+                       // low level gfx stuff
        int PutCMAP();
        int PutCMAP();
+#endif
+       static fbClass *getInstance();
 
        int lock();
        void unlock();
 
        int lock();
        void unlock();