summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2009-04-11 01:45:11 +0000
committerThomas Martitz <kugel@rockbox.org>2009-04-11 01:45:11 +0000
commit464e6a140598743ade31105fe78c22b8480a4761 (patch)
tree3c22a8b80353f44d4fc4a75b20bda1f7d56aab67 /apps/plugins
parentaeddacbd14ec3acd839dc9bd0bab34883dd6e6c0 (diff)
downloadrockbox-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')
-rw-r--r--apps/plugins/SOURCES1
-rw-r--r--apps/plugins/test_fps.c9
2 files changed, 9 insertions, 1 deletions
diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES
index d9ed9ac24f..9317ab6657 100644
--- a/apps/plugins/SOURCES
+++ b/apps/plugins/SOURCES
@@ -1,4 +1,5 @@
1/* plugins common to all models */ 1/* plugins common to all models */
2test_fps.c
2chessclock.c 3chessclock.c
3credits.c 4credits.c
4cube.c 5cube.c
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();