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 /apps/plugins/test_fps.c | |
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 'apps/plugins/test_fps.c')
-rw-r--r-- | apps/plugins/test_fps.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index e8ceaed7a1..7c86fabdc0 100644 --- a/apps/plugins/test_fps.c +++ b/apps/plugins/test_fps.c | |||
@@ -192,7 +192,7 @@ static void time_main_yuv(void) | |||
192 | time_start = *rb->current_tick; | 192 | time_start = *rb->current_tick; |
193 | while((time_end = *rb->current_tick) - time_start < DURATION) | 193 | while((time_end = *rb->current_tick) - time_start < DURATION) |
194 | { | 194 | { |
195 | rb->lcd_yuv_blit(yuvbuf, 0, 0, YUV_WIDTH, | 195 | rb->lcd_blit_yuv(yuvbuf, 0, 0, YUV_WIDTH, |
196 | 0, 0, YUV_WIDTH, YUV_HEIGHT); | 196 | 0, 0, YUV_WIDTH, YUV_HEIGHT); |
197 | frame_count++; | 197 | frame_count++; |
198 | } | 198 | } |
@@ -208,7 +208,7 @@ static void time_main_yuv(void) | |||
208 | time_start = *rb->current_tick; | 208 | time_start = *rb->current_tick; |
209 | while((time_end = *rb->current_tick) - time_start < DURATION) | 209 | while((time_end = *rb->current_tick) - time_start < DURATION) |
210 | { | 210 | { |
211 | rb->lcd_yuv_blit(yuvbuf, 0, 0, YUV_WIDTH, | 211 | rb->lcd_blit_yuv(yuvbuf, 0, 0, YUV_WIDTH, |
212 | part14_x, part14_y, part14_w, part14_h); | 212 | part14_x, part14_y, part14_w, part14_h); |
213 | frame_count++; | 213 | frame_count++; |
214 | } | 214 | } |
@@ -260,7 +260,7 @@ static void time_remote_update(void) | |||
260 | } | 260 | } |
261 | #endif | 261 | #endif |
262 | 262 | ||
263 | #if LCD_DEPTH < 4 | 263 | #if (LCD_DEPTH < 4) && !defined(IAUDIO_M3) |
264 | 264 | ||
265 | GREY_INFO_STRUCT_IRAM | 265 | GREY_INFO_STRUCT_IRAM |
266 | static unsigned char greydata[LCD_HEIGHT][LCD_WIDTH]; | 266 | static unsigned char greydata[LCD_HEIGHT][LCD_WIDTH]; |
@@ -357,7 +357,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
357 | log_text("Main LCD YUV"); | 357 | log_text("Main LCD YUV"); |
358 | time_main_yuv(); | 358 | time_main_yuv(); |
359 | #endif | 359 | #endif |
360 | #if LCD_DEPTH < 4 | 360 | #if (LCD_DEPTH < 4) && !defined(IAUDIO_M3) |
361 | log_text("Greyscale library"); | 361 | log_text("Greyscale library"); |
362 | time_greyscale(); | 362 | time_greyscale(); |
363 | #endif | 363 | #endif |