diff options
author | Jens Arnold <amiconn@rockbox.org> | 2008-01-04 23:42:38 +0000 |
---|---|---|
committer | Jens Arnold <amiconn@rockbox.org> | 2008-01-04 23:42:38 +0000 |
commit | feb5b15e9bf9292e3d4d82ea1e01ab3557fb1240 (patch) | |
tree | d854c9a6fbbb3263537071fb02df349fdfa62361 /apps/plugin.c | |
parent | d3586837fa9221a7ef104550b4c0aadc1a6ea77c (diff) | |
download | rockbox-feb5b15e9bf9292e3d4d82ea1e01ab3557fb1240.tar.gz rockbox-feb5b15e9bf9292e3d4d82ea1e01ab3557fb1240.zip |
All-new greyscale library, replacing the old one. Features: (1) Drawing/updating is faster than the old grayscale lib at full depth. (2) Always 129 shades instead of 2..33 shades. (3) No graininess caused by frequent updates (mpegplayer, doom, ...). (4) Needs less memory than the old grayscale lib at full depth. * The tradeoff is slightly higher CPU load in the ISR (frames are calculated 'live') and an extra function in the core. * Ported all plugins which used the graylib to use the new one. * Some slight optimisations for archos and H1x0 LCD update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15998 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
-rw-r--r-- | apps/plugin.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 78c3aa9370..6d48329111 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -583,6 +583,10 @@ static const struct plugin_api rockbox_api = { | |||
583 | sound_unit, | 583 | sound_unit, |
584 | sound_val2phys, | 584 | sound_val2phys, |
585 | #endif /* CONFIG_CODEC == SWCODEC */ | 585 | #endif /* CONFIG_CODEC == SWCODEC */ |
586 | |||
587 | #if defined(HAVE_LCD_BITMAP) && (LCD_DEPTH < 4) && !defined(SIMULATOR) | ||
588 | lcd_grey_phase_blit, | ||
589 | #endif | ||
586 | }; | 590 | }; |
587 | 591 | ||
588 | int plugin_load(const char* plugin, void* parameter) | 592 | int plugin_load(const char* plugin, void* parameter) |