Implement HAVE_LCD_ENABLE and lcd_update_rect(). When Rockbox runs in the background
commit57d5758821ae225296b0ba29babfbbfcf3e2626d
authorkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Wed, 4 Aug 2010 01:03:25 +0000 (4 01:03 +0000)
committerkugel <kugel@a1c6a512-1295-4272-9138-f99709370657>
Wed, 4 Aug 2010 01:03:25 +0000 (4 01:03 +0000)
treeb167636938ed249fb61ccd62e9873ef5481ee8af
parentc53984aab60c0f469c9aa3a0fed031255d434f63
Implement HAVE_LCD_ENABLE and lcd_update_rect(). When Rockbox runs in the background
this greatly reduces CPU load. lcd_update_rect shoves a bit as well.

CPU usage with Rockbox in background is between 3% (with a 200kbps vbr mp3) and 12% (320kbps cbr mp3), so it's low but still dependent on codecs and even particular files.
Driving a WPS with peakmeter, e.g. the builtin one, adds about 30% cpu usage.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27689 a1c6a512-1295-4272-9138-f99709370657
android/src/org/rockbox/RockboxActivity.java
android/src/org/rockbox/RockboxFramebuffer.java
firmware/export/config/application.h
firmware/target/hosted/android/lcd-android.c