1
0
Fork 0
forked from len0rd/rockbox

lcd-16bit: Split out some functions to lcd-color-common.c

An upcoming lcd-24bit.c driver will re-use a lot of code from the 16bit
drivers, so prepare for that.

Change-Id: I7bc7f6b992e5e3f4e0a0aa54dc08103ebb05315f
This commit is contained in:
Thomas Martitz 2014-06-15 18:26:44 +02:00
parent e49dcbf190
commit 0250be1d67
3 changed files with 616 additions and 575 deletions

View file

@ -41,8 +41,18 @@
#define ROW_INC LCD_WIDTH
#define COL_INC 1
#include "lcd-16bit-common.c"
extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs_backdrop[];
extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs_bgcolor[];
static void ICODE_ATTR lcd_alpha_bitmap_part_mix(const fb_data* image,
const unsigned char *src, int src_x,
int src_y, int x, int y,
int width, int height,
int stride_image, int stride_src);
#include "lcd-color-common.c"
#include "lcd-bitmap-common.c"
#include "lcd-16bit-common.c"
/*** drawing functions ***/