From 6b54359f371edab9f6165757aabcfe823b77ccd4 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 30 Mar 2016 16:17:07 +0200 Subject: fbpdf: pageflip --- gfx.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'gfx.h') diff --git a/gfx.h b/gfx.h index b328d49..16d25fa 100644 --- a/gfx.h +++ b/gfx.h @@ -1,3 +1,4 @@ +#include #include typedef struct gfxstate gfxstate; @@ -8,6 +9,7 @@ struct gfxstate { uint32_t vdisplay; uint32_t stride; uint8_t *mem; + uint8_t *mem2; uint32_t bits_per_pixel; uint32_t rlen, glen, blen, tlen; @@ -16,5 +18,5 @@ struct gfxstate { /* calls */ void (*restore_display)(void); void (*cleanup_display)(void); - void (*flush_display)(void); + void (*flush_display)(bool second); }; -- cgit