summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-11-28 10:05:45 +0000
committerJens Arnold <amiconn@rockbox.org>2005-11-28 10:05:45 +0000
commit1d6eeea1e196b6d7beefab70a6ee664340ab7bef (patch)
treeaf9accecfd30ea4fab25e56c11ec243922229ba1 /firmware/export
parentee76cc3716267720025bab498aa9b8a136f89218 (diff)
downloadrockbox-1d6eeea1e196b6d7beefab70a6ee664340ab7bef.zip
rockbox-1d6eeea1e196b6d7beefab70a6ee664340ab7bef.tar.gz
rockbox-1d6eeea1e196b6d7beefab70a6ee664340ab7bef.tar.bz2
rockbox-1d6eeea1e196b6d7beefab70a6ee664340ab7bef.tar.xz
16bit LCD driver: faster drawing routines.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8098 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/lcd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index bd9c49f..46f33d5 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -135,6 +135,9 @@ extern void lcd_jump_scroll_delay(int ms);
/* Low-level drawing function types */
typedef void lcd_pixelfunc_type(int x, int y);
typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits);
+#if LCD_DEPTH >= 8
+typedef void lcd_fastpixelfunc_type(fb_data *address);
+#endif
#ifdef HAVE_LCD_BITMAP
@@ -199,6 +202,9 @@ extern int lcd_getstringsize(const unsigned char *str, int *w, int *h);
/* low level drawing function pointer arrays */
extern lcd_pixelfunc_type* const lcd_pixelfuncs[8];
extern lcd_blockfunc_type* const lcd_blockfuncs[8];
+#if LCD_DEPTH >= 8
+extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs[8];
+#endif
extern void lcd_drawpixel(int x, int y);
extern void lcd_drawline(int x1, int y1, int x2, int y2);