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.tar.gz rockbox-464e6a140598743ade31105fe78c22b8480a4761.zip |
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 c688a54de0..f7027ffd8d 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) | |||
349 | #endif | 349 | #endif |
350 | backlight_force_on(); /* backlight control in lib/helper.c */ | 350 | backlight_force_on(); /* backlight control in lib/helper.c */ |
351 | 351 | ||
352 | log_text("Main LCD Update"); | 352 | rb->cpu_boost(false); |
353 | log_text("Main LCD Update unboosted"); | ||
353 | time_main_update(); | 354 | time_main_update(); |
355 | rb->cpu_boost(true); | ||
356 | log_text("Main LCD Update boosted"); | ||
357 | time_main_update(); | ||
358 | rb->cpu_boost(false); | ||
359 | /* | ||
354 | #ifdef HAVE_LCD_COLOR | 360 | #ifdef HAVE_LCD_COLOR |
355 | log_text("Main LCD YUV"); | 361 | log_text("Main LCD YUV"); |
356 | time_main_yuv(); | 362 | time_main_yuv(); |
357 | #endif | 363 | #endif |
364 | */ | ||
358 | #if LCD_DEPTH < 4 | 365 | #if LCD_DEPTH < 4 |
359 | log_text("Greyscale library"); | 366 | log_text("Greyscale library"); |
360 | time_greyscale(); | 367 | time_greyscale(); |