summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2007-05-15 14:26:44 +0000
committerDave Chapman <dave@dchapman.com>2007-05-15 14:26:44 +0000
commite22b33ec72abbcc71df30a38328311dd68a178c7 (patch)
tree0818bcd82df7a5f252d391d04b70394696a9d659 /firmware/export
parent4bf27eccdd91c9999e1bcbfe6350193498e30e96 (diff)
Gigabeat LCD driver cleanup: Revert the DMA optimisations to the gigabeat LCD driver - they are both buggy (the wrong background colour was often seen, e.g. in the USB screen after using a plugin) and significantly slower than the standard implementations (which use the ARM-optimised mem* functions) in lcd-16bit.c. lcd_clear_update was 4.5 times slower with DMA when a backdrop is in use, and 12 times slower with DMA when no backdrop is in use.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13392 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/lcd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/export/lcd.h b/firmware/export/lcd.h
index 40e5129ad3..077664040e 100644
--- a/firmware/export/lcd.h
+++ b/firmware/export/lcd.h
@@ -346,10 +346,8 @@ extern void lcd_set_drawinfo(int mode, unsigned foreground,
unsigned background);
void lcd_set_backdrop(fb_data* backdrop);
#if defined(TOSHIBA_GIGABEAT_F) && !defined(SIMULATOR)
-void lcd_device_prepare_backdrop(fb_data* backdrop);
bool lcd_enabled(void);
#else
-#define lcd_device_prepare_backdrop(x) ;
#define lcd_enabled() true
#endif