aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/android.cpp
AgeCommit message (Collapse)Author
2011-02-27ANDROID: Prevent AudioTrack unpause on startupdhewg
2011-02-27ANDROID: Remove dead codedhewg
2011-02-27ANDROID: Check audio buffer for silencedhewg
Most games register a music channel, and when there is no music, they still stream silence (and run through all the Converter::flow code!). Scan the buffer for that to pause the AudioTrack. Ugly, but worth it - reduces CPU usage on many games and hence saves battery life.
2011-02-27ANDROID: Pause the AudioTrack when possibledhewg
Only works in situations without any registered channels (or all paused) at the mixer (like on the launcher or GMM). CPU usage before (Galaxy Tab): ~5% scummvm ~15% mediaserver After: ~2% scummvm 0% mediaserver ;)
2011-02-27ANDROID: Rework audio systemdhewg
Move the audio thread to the bright side
2011-02-24ANDROID: Check thread origin when debugging GLdhewg
2011-02-24ANDROID: Move rest of everything JNIdhewg
2011-02-24ANDROID: Wrap JNI code in a classdhewg
2011-02-24ANDROID: Move the global back reference to jni.cppdhewg
2011-02-24ANDROID: Split code into multiple filesdhewg
And get rid of unnecessary JNI calls to get a pointer to g_system
2011-02-19ANDROID: Fix cursor scalingdhewg
2011-02-19ANDROID: Fix cursor when hotspot coords > 0dhewg
2011-02-19Merge branch 'osystem-palette' of https://github.com/lordhoto/scummvm into ↵Johannes Schickel
master Conflicts: backends/platform/android/android.cpp engines/sci/graphics/screen.cpp engines/sci/graphics/transitions.cpp
2011-02-19ANDROID: Move helper defines in a new header filedhewg
- added a few macros for convinience - use them - replaced CHECK_GL_ERROR with GLCALL - spam GLCALL
2011-02-19ANDROID: Formattingdhewg
2011-02-18ANDROID: Formattingdhewg
maybe now?
2011-02-18ANDROID: Formattingdhewg
and hoping for buildbot to pick up the toolchain now
2011-02-14ANDROID: Adapt to [set|grab]Palette RGBA->RGB change.dhewg
2011-02-14ANDROID: Fix JNI calls for the timer threaddhewg
JNI calls can happen through the timer mechanism (hence from another thread). Attach the timer thread to the VM to prevent assert()s
2011-02-14ANDROID: Fix assert() to log outputdhewg
add bionic replacement __assert2(), so we actually see what's happening
2011-02-14ANDROID: Unify log prefixdhewg
adb logcat ScummVM:\* \*:S
2011-02-14ANDROID: Protect port files with our definedhewg
get rid of -DANDROID and -DANDROID_BACKEND
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-11-18BACKENDS: Implement logging API proposed by Max on -devel.Johannes Schickel
This commits a slightly modified patch from my patch tracker item #3104630 "OSYSTEM: Add logging API as proposed by Max on -devel". I was not able to test compilation on Android and SamsungTV, since there is no toolchain for those on buildbot (or I was too blind to find them). svn-id: r54339
2010-10-25ANDROID: Force extra screen update when updating overlay.Angus Lees
This appears to work around a blank screen bug Nexus1. I never tracked it down, but as far as I can tell it is triggered by multiple overlapping updates before flushing the texture to screen. This condition only happens in the overlay atm so an extra redraw isn't the end of the world. (Also remove an unused _full_screen_dirty property) svn-id: r53801
2010-10-12JANITORAL: Clean trailing whitespaces.Jordi Vilalta Prat
svn-id: r53160
2010-09-18JANITORIAL: Removed most punctuation at end of warning() and error()Torbjörn Andersson
Our warning() and error() functions always add an exclamation mark to the end of the message anyway. svn-id: r52791
2010-07-05Drop direct use of (private) libEGL.so and call EGL functions via Java.Angus Lees
This removes the final private library - we should be completely above board now. svn-id: r50677
2010-06-11Add support for setFocusRectangle - enabled on 'small' Android screens.Angus Lees
svn-id: r49594
2010-06-08Whitespace fixup in last submit. I'll get the hang of this eventually :/Angus Lees
svn-id: r49507
2010-06-08Provide a replacement for bionic's __assert().Angus Lees
The usual Android version doesn't actually print the assert message before aborting. svn-id: r49506
2010-06-08Remove obsolete ANDROID_VERSION_GE macroAngus Lees
svn-id: r49505
2010-06-06whitespace correctionsMax Horn
svn-id: r49453
2010-06-06Add Android backend from patch #2603856Max Horn
svn-id: r49449