diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2009-04-11 01:45:11 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2009-04-11 01:45:11 +0000 |
| commit | 464e6a140598743ade31105fe78c22b8480a4761 (patch) | |
| tree | 3c22a8b80353f44d4fc4a75b20bda1f7d56aab67 /apps/plugins/test_fps.c | |
| parent | aeddacbd14ec3acd839dc9bd0bab34883dd6e6c0 (diff) | |
| download | rockbox-464e6a140598743ade31105fe78c22b8480a4761.zip rockbox-464e6a140598743ade31105fe78c22b8480a4761.tar.gz rockbox-464e6a140598743ade31105fe78c22b8480a4761.tar.bz2 rockbox-464e6a140598743ade31105fe78c22b8480a4761.tar.xz | |
Fuze & e200v2: Put lcd framebuffer into iram, which saves 77k normal ram and gives 2.6%/7.6% (unboosted/boosted) lcd update speed up
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20682 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/test_fps.c')
| -rw-r--r-- | apps/plugins/test_fps.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index c688a54..f7027ff 100644 --- a/apps/plugins/test_fps.c +++ b/apps/plugins/test_fps.c @@ -349,12 +349,19 @@ enum plugin_status plugin_start(const void* parameter) #endif backlight_force_on(); /* backlight control in lib/helper.c */ - log_text("Main LCD Update"); + rb->cpu_boost(false); + log_text("Main LCD Update unboosted"); time_main_update(); + rb->cpu_boost(true); + log_text("Main LCD Update boosted"); + time_main_update(); + rb->cpu_boost(false); +/* #ifdef HAVE_LCD_COLOR log_text("Main LCD YUV"); time_main_yuv(); #endif +*/ #if LCD_DEPTH < 4 log_text("Greyscale library"); time_greyscale(); |