aboutsummaryrefslogtreecommitdiffstats
path: root/psplash-fb.h
diff options
context:
space:
mode:
Diffstat (limited to 'psplash-fb.h')
-rw-r--r--psplash-fb.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/psplash-fb.h b/psplash-fb.h
index edf1e99..16e2b20 100644
--- a/psplash-fb.h
+++ b/psplash-fb.h
@@ -21,6 +21,7 @@ enum RGBMode {
typedef struct PSplashFB
{
int fd;
+ struct fb_var_screeninfo fb_var;
struct termios save_termios;
int type;
int visual;
@@ -30,6 +31,11 @@ typedef struct PSplashFB
char *data;
char *base;
+ /* Support for double buffering */
+ int double_buffering;
+ char *bdata;
+ char *fdata;
+
int angle, fbdev_id;
int real_width, real_height;
@@ -85,5 +91,7 @@ psplash_fb_draw_text (PSplashFB *fb,
const PSplashFont *font,
const char *text);
+void
+psplash_fb_flip(PSplashFB *fb, int sync);
#endif