diff options
| author | Thomas Martitz <kugel@rockbox.org> | 2011-02-19 01:13:38 +0000 |
|---|---|---|
| committer | Thomas Martitz <kugel@rockbox.org> | 2011-02-19 01:13:38 +0000 |
| commit | 144df92bfb3bde9d843363ac5ab537c4d5ee24e3 (patch) | |
| tree | 237abe424decc33b7c1e9c8caa89b5a18cf0dd88 /firmware/target/hosted/android/app | |
| parent | 6cbb0e4229225adc1a8222acd21f6ce01b88e472 (diff) | |
| download | rockbox-144df92bfb3bde9d843363ac5ab537c4d5ee24e3.zip rockbox-144df92bfb3bde9d843363ac5ab537c4d5ee24e3.tar.gz rockbox-144df92bfb3bde9d843363ac5ab537c4d5ee24e3.tar.bz2 rockbox-144df92bfb3bde9d843363ac5ab537c4d5ee24e3.tar.xz | |
Android: Rewrite lcd subsystem to use the SurfaceView API.
That enables drawing from outside the apps UI thread, i.e. from within the Rockbox native thread, without needing synchronization means, and adds determinism as to when the draw happens.
It simplifies the drawing routines and adds a convinient way of detecting whether drawing should happen or not (surfaceCreated/Destroyed).
It also restores max. fps on my phone which went down drastically with the gingerbread(CM7) update.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29333 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/hosted/android/app')
| -rw-r--r-- | firmware/target/hosted/android/app/button-target.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/hosted/android/app/button-target.h b/firmware/target/hosted/android/app/button-target.h index 6106b61..3b60287 100644 --- a/firmware/target/hosted/android/app/button-target.h +++ b/firmware/target/hosted/android/app/button-target.h @@ -58,6 +58,8 @@ void android_ignore_back_button(bool yes); #define BUTTON_BOTTOMMIDDLE 0x00080000 #define BUTTON_BOTTOMRIGHT 0x00100000 +#define BUTTON_FORCE_REDRAW 0x00200000 + /* No remote */ #define BUTTON_REMOTE 0 |