Update framebuffer driver for better information hiding

This commit is contained in:
inmarket 2016-04-25 14:55:54 +10:00
parent 25802124fb
commit 12757e4c9a

View File

@ -9,14 +9,15 @@
#if GFX_USE_GDISP #if GFX_USE_GDISP
#define GDISP_DRIVER_VMT GDISPVMT_framebuffer
#include "gdisp_lld_config.h"
#include "../../../src/gdisp/gdisp_driver.h"
typedef struct fbInfo { typedef struct fbInfo {
void * pixels; // The pixel buffer void * pixels; // The pixel buffer
coord_t linelen; // The number of bytes per display line coord_t linelen; // The number of bytes per display line
} fbInfo; } fbInfo;
#define GDISP_DRIVER_VMT GDISPVMT_framebuffer
#include "gdisp_lld_config.h"
#include "../../../src/gdisp/gdisp_driver.h"
#include "board_framebuffer.h" #include "board_framebuffer.h"
typedef struct fbPriv { typedef struct fbPriv {