diff options
author | Jens Arnold <amiconn@rockbox.org> | 2005-11-28 10:05:45 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2005-11-28 10:05:45 +0000 |
commit | 1d6eeea1e196b6d7beefab70a6ee664340ab7bef (patch) | |
tree | af9accecfd30ea4fab25e56c11ec243922229ba1 /firmware/export/lcd.h | |
parent | ee76cc3716267720025bab498aa9b8a136f89218 (diff) | |
download | rockbox-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.h | 6 |
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 */ |
136 | typedef void lcd_pixelfunc_type(int x, int y); | 136 | typedef void lcd_pixelfunc_type(int x, int y); |
137 | typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits); | 137 | typedef void lcd_blockfunc_type(unsigned char *address, unsigned mask, unsigned bits); |
138 | #if LCD_DEPTH >= 8 | ||
139 | typedef 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 */ |
200 | extern lcd_pixelfunc_type* const lcd_pixelfuncs[8]; | 203 | extern lcd_pixelfunc_type* const lcd_pixelfuncs[8]; |
201 | extern lcd_blockfunc_type* const lcd_blockfuncs[8]; | 204 | extern lcd_blockfunc_type* const lcd_blockfuncs[8]; |
205 | #if LCD_DEPTH >= 8 | ||
206 | extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs[8]; | ||
207 | #endif | ||
202 | 208 | ||
203 | extern void lcd_drawpixel(int x, int y); | 209 | extern void lcd_drawpixel(int x, int y); |
204 | extern void lcd_drawline(int x1, int y1, int x2, int y2); | 210 | extern void lcd_drawline(int x1, int y1, int x2, int y2); |