summaryrefslogtreecommitdiff
path: root/firmware/target/sh
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-24 00:35:53 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-24 00:35:53 +0000
commit68a21689aef3a81335456476d4d10860ef5bc6b3 (patch)
treea57b6c31e4edd13e178da276344d33b172796456 /firmware/target/sh
parent99c0978faa94b0e2fabe5d06000a10c8d48e7a0c (diff)
downloadrockbox-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/sh')
-rw-r--r--firmware/target/sh/archos/lcd-archos-bitmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/sh/archos/lcd-archos-bitmap.c b/firmware/target/sh/archos/lcd-archos-bitmap.c
index 18d48f4ead..bc17bd3950 100644
--- a/firmware/target/sh/archos/lcd-archos-bitmap.c
+++ b/firmware/target/sh/archos/lcd-archos-bitmap.c
@@ -140,8 +140,8 @@ void lcd_init_device(void)
140 140
141/* Performance function that works with an external buffer 141/* Performance function that works with an external buffer
142 note that by and bheight are in 8-pixel units! */ 142 note that by and bheight are in 8-pixel units! */
143void lcd_blit(const unsigned char* data, int x, int by, int width, 143void lcd_blit_mono(const unsigned char *data, int x, int by, int width,
144 int bheight, int stride) 144 int bheight, int stride)
145{ 145{
146 /* Copy display bitmap to hardware */ 146 /* Copy display bitmap to hardware */
147 while (bheight--) 147 while (bheight--)
@@ -160,7 +160,7 @@ void lcd_grey_data(unsigned char *values, unsigned char *phases, int count);
160 160
161/* Performance function that works with an external buffer 161/* Performance function that works with an external buffer
162 note that by and bheight are in 8-pixel units! */ 162 note that by and bheight are in 8-pixel units! */
163void lcd_grey_phase_blit(unsigned char *values, unsigned char *phases, 163void lcd_blit_grey_phase(unsigned char *values, unsigned char *phases,
164 int x, int by, int width, int bheight, int stride) 164 int x, int by, int width, int bheight, int stride)
165{ 165{
166 stride <<= 3; /* 8 pixels per block */ 166 stride <<= 3; /* 8 pixels per block */