summaryrefslogtreecommitdiff
path: root/firmware/export/lcd.h
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/lcd.h
parentee76cc3716267720025bab498aa9b8a136f89218 (diff)
downloadrockbox-1d6eeea1e196b6d7beefab70a6ee664340ab7bef.tar.gz
rockbox-1d6eeea1e196b6d7beefab70a6ee664340ab7bef.zip
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/lcd.h')
-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 bd9c49fee7..46f33d522a 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -135,6 +135,9 @@ extern void lcd_jump_scroll_delay(int ms);
135/* Low-level drawing function types */ 135/* Low-level drawing function types */
136typedef void lcd_pixelfunc_type(int x, int y); 136typedef void lcd_pixelfunc_type(int x, int y);
137typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits); 137typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits);
138#if LCD_DEPTH >= 8
139typedef void lcd_fastpixelfunc_type(fb_data *address);
140#endif
138 141
139#ifdef HAVE_LCD_BITMAP 142#ifdef HAVE_LCD_BITMAP
140 143
@@ -199,6 +202,9 @@ extern int lcd_getstringsize(const unsigned char *str, int *w, int *h);
199/* low level drawing function pointer arrays */ 202/* low level drawing function pointer arrays */
200extern lcd_pixelfunc_type* const lcd_pixelfuncs[8]; 203extern lcd_pixelfunc_type* const lcd_pixelfuncs[8];
201extern lcd_blockfunc_type* const lcd_blockfuncs[8]; 204extern lcd_blockfunc_type* const lcd_blockfuncs[8];
205#if LCD_DEPTH >= 8
206extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs[8];
207#endif
202 208
203extern void lcd_drawpixel(int x, int y); 209extern void lcd_drawpixel(int x, int y);
204extern void lcd_drawline(int x1, int y1, int x2, int y2); 210extern void lcd_drawline(int x1, int y1, int x2, int y2);