diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-30 16:17:07 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2016-03-30 16:17:07 +0200 |
commit | 6b54359f371edab9f6165757aabcfe823b77ccd4 (patch) | |
tree | 8902d2d3adc9b8bcc1cd52b4c82d36b9ab0667a2 /gfx.h | |
parent | 23c102eb5272d3c2199cb5d952c3ad4b15a03cf6 (diff) | |
download | fbida-6b54359f371edab9f6165757aabcfe823b77ccd4.tar.gz |
fbpdf: pageflip
Diffstat (limited to 'gfx.h')
-rw-r--r-- | gfx.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,3 +1,4 @@ +#include <stdbool.h> #include <inttypes.h> 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); }; |