diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-03-24 00:35:53 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-03-24 00:35:53 +0000 |
commit | 68a21689aef3a81335456476d4d10860ef5bc6b3 (patch) | |
tree | a57b6c31e4edd13e178da276344d33b172796456 /firmware/target/arm/tcc77x/logikdax | |
parent | 99c0978faa94b0e2fabe5d06000a10c8d48e7a0c (diff) | |
download | rockbox-68a21689aef3a81335456476d4d10860ef5bc6b3.tar.gz rockbox-68a21689aef3a81335456476d4d10860ef5bc6b3.zip |
Consistent naming scheme the various blit functions. * Removed lcd_blit_mono() for colour targets. Plugin API became incompatible, so sort, clean up & bump. * Implemented lcd_blit_mono() for M3.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16775 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/tcc77x/logikdax')
-rw-r--r-- | firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c b/firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c index 973d4cb333..4101f6ab7d 100644 --- a/firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c +++ b/firmware/target/arm/tcc77x/logikdax/lcd-logikdax.c | |||
@@ -190,8 +190,8 @@ void lcd_init_device(void) | |||
190 | 190 | ||
191 | /* Performance function that works with an external buffer | 191 | /* Performance function that works with an external buffer |
192 | note that by and bheight are in 8-pixel units! */ | 192 | note that by and bheight are in 8-pixel units! */ |
193 | void lcd_blit(const unsigned char* data, int x, int by, int width, | 193 | void lcd_blit_mono(const unsigned char *data, int x, int by, int width, |
194 | int bheight, int stride) | 194 | int bheight, int stride) |
195 | { | 195 | { |
196 | /* Copy display bitmap to hardware */ | 196 | /* Copy display bitmap to hardware */ |
197 | while (bheight--) | 197 | while (bheight--) |
@@ -206,6 +206,20 @@ void lcd_blit(const unsigned char* data, int x, int by, int width, | |||
206 | } | 206 | } |
207 | 207 | ||
208 | 208 | ||
209 | /* Performance function that works with an external buffer | ||
210 | note that by and bheight are in 8-pixel units! */ | ||
211 | void lcd_blit_grey_phase_blit(unsigned char *values, unsigned char *phases, | ||
212 | int x, int by, int width, int bheight, int stride) | ||
213 | { | ||
214 | (void)values; | ||
215 | (void)phases; | ||
216 | (void)x; | ||
217 | (void)by; | ||
218 | (void)width; | ||
219 | (void)bheight; | ||
220 | (void)stride; | ||
221 | } | ||
222 | |||
209 | /* Update the display. | 223 | /* Update the display. |
210 | This must be called after all other LCD functions that change the display. */ | 224 | This must be called after all other LCD functions that change the display. */ |
211 | void lcd_update(void) ICODE_ATTR; | 225 | void lcd_update(void) ICODE_ATTR; |