mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-22 07:02:29 +02:00
gmenu2x, temporary repository for gmenu2x port to Owrt on Ben NanoNote
http://projects.qi-hardware.com/index.php/p/gmenu2x/
1229ef32e5
The way the caching was implemented was rather problematic. Also I'm not convinced caching is useful at all. So I removed it. If at some point we decide that caching is a good idea, it would be best to re-implement it from scratch, so nothing of value is lost by removing the existing caching code. One problem was that the prepare method would check the existence of a screenshot file for every file in the directory, which adds to the noticable delay before showing a directory which holds many files. Another problem is there was no upper limit to the number of screenshots that would be cached. On directories with many screenshots the memory use could rise to several hundred megabytes, which can be problematic on some of the systems we want to support. Also there was a rather nasty hack present to ensure screenshots were loaded without an alpha channel. My main doubt about the usefulness of screenshot caching is that caching will only speed up the showing of an image from the second time onwards. In typical use, the average screenshot is displayed at most once. If the image load time is long enough to annoy the user, any real solution would have to work also for the first showing. For example, background (asynchronous) loading could be implemented. |
||
---|---|---|
data | ||
src | ||
.gitignore | ||
acinclude.m4 | ||
AUTHORS | ||
autogen.sh | ||
autorun.gpu | ||
configure.in | ||
COPYING | ||
INSTALL | ||
Makefile.am | ||
NEWS | ||
README |
[Introduction] GMenu2X is a replacement for the official frontend for the gp2x released under the GNU GPL license. [Installation] Copy the file autorun.gpu and the directory gmenu2x/ to the root of your sd card. Verify that the autorun option in the standard gp2x interface is enabled. (Re)Boot your gp2x and enjoy GMenu2X. [Controls] X, Stick left: Goes up one directory in file browser. X: Cancel action. B, Stick press: Launch selected link / Confirm action. L, R: Switch between sections - PageUp/PageDown on lists. Y: Bring up the manual/readme. VOLDOWN: Decrease cpu clock. VOLUP: Increase cpu clock. VOLDOWN+VOLUP: Reset clock. A+VOLDOWN: Decrease volume for the selected link. A+VOLUP: Increase volume for the selected link. A+VOLDOWN+VOLUP: Reset volume for the selected link. SELECT: Bring up the contextual menu. START: GMenu2X options. [Contacts] Developed by Massimiliano Torromeo <massimiliano.torromeo@gmail.com> Visit the homepage at http://gmenu2x.sourceforge.net for more info.