diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2010-08-04 01:03:25 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2010-08-04 01:03:25 +0000 |
| commit | 594110e962831b0d8ae2ded7efc49d48e4a6c3eb (patch) | |
| tree | b167636938ed249fb61ccd62e9873ef5481ee8af /firmware/export | |
| parent | f66a233bdbbf5c772903a744938d7333da1b53bf (diff) | |
| download | rockbox-594110e962831b0d8ae2ded7efc49d48e4a6c3eb.zip rockbox-594110e962831b0d8ae2ded7efc49d48e4a6c3eb.tar.gz rockbox-594110e962831b0d8ae2ded7efc49d48e4a6c3eb.tar.bz2 rockbox-594110e962831b0d8ae2ded7efc49d48e4a6c3eb.tar.xz | |
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
Diffstat (limited to 'firmware/export')
| -rw-r--r-- | firmware/export/config/application.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/export/config/application.h b/firmware/export/config/application.h index 988f0d5..71ee623 100644 --- a/firmware/export/config/application.h +++ b/firmware/export/config/application.h @@ -53,6 +53,10 @@ #define LCD_DEPTH 16 #define LCD_PIXELFORMAT 565 +#if (CONFIG_PLATFORM & PLATFORM_ANDROID) +#define HAVE_LCD_ENABLE +#endif + /* define this to indicate your device's keypad */ #define HAVE_TOUCHSCREEN #define HAVE_BUTTON_DATA |