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.zip rockbox-68a21689aef3a81335456476d4d10860ef5bc6b3.tar.gz rockbox-68a21689aef3a81335456476d4d10860ef5bc6b3.tar.bz2 rockbox-68a21689aef3a81335456476d4d10860ef5bc6b3.tar.xz | |
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 e8ceaed..7c86fab 100644 --- a/apps/plugins/test_fps.c +++ b/apps/plugins/test_fps.c @@ -192,7 +192,7 @@ static void time_main_yuv(void) time_start = *rb->current_tick; while((time_end = *rb->current_tick) - time_start < DURATION) { - rb->lcd_yuv_blit(yuvbuf, 0, 0, YUV_WIDTH, + rb->lcd_blit_yuv(yuvbuf, 0, 0, YUV_WIDTH, 0, 0, YUV_WIDTH, YUV_HEIGHT); frame_count++; } @@ -208,7 +208,7 @@ static void time_main_yuv(void) time_start = *rb->current_tick; while((time_end = *rb->current_tick) - time_start < DURATION) { - rb->lcd_yuv_blit(yuvbuf, 0, 0, YUV_WIDTH, + rb->lcd_blit_yuv(yuvbuf, 0, 0, YUV_WIDTH, part14_x, part14_y, part14_w, part14_h); frame_count++; } @@ -260,7 +260,7 @@ static void time_remote_update(void) } #endif -#if LCD_DEPTH < 4 +#if (LCD_DEPTH < 4) && !defined(IAUDIO_M3) GREY_INFO_STRUCT_IRAM static unsigned char greydata[LCD_HEIGHT][LCD_WIDTH]; @@ -357,7 +357,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) log_text("Main LCD YUV"); time_main_yuv(); #endif -#if LCD_DEPTH < 4 +#if (LCD_DEPTH < 4) && !defined(IAUDIO_M3) log_text("Greyscale library"); time_greyscale(); #endif |