aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android/jni.cpp
AgeCommit message (Collapse)Author
2011-03-16ANDROID: Input system overhauldhewg
Rewritten input system with many new feature. Fixed related bugs and shortcomings on the way.
2011-03-13ANDROID: Add support for video feature flagsdhewg
kFeatureFullscreenMode and kFeatureAspectRatioCorrection are supported now. The former prevents scaling to the full display - it scales one axis and keeps the game AR.
2011-03-07ANDROID: Save the game when the process is pauseddhewg
The OS can kill the activity at will after onPause() or onStop() to free up memory for other application. Provide a parachute when the engine allows it.
2011-03-03ANDROID: Remove an indirection when pausingdhewg
2011-03-03ANDROID: Formatting/whitespacesdhewg
2011-03-02ANDROID: Respect the pause level.dhewg
2011-03-02ANDROID: On pause, put all threads in a comadhewg
Since not every engine respects pauseEngine(), or they're in a state where it simply gets ignored, put all threads in a group coma. Without this, code still kept looping and wasting cpu cycles, while the user might want to do use her/his droid for something else.
2011-03-02ANDROID: Implement pause/resumedhewg
Don't just kill the whole process when the Activity is stopped. Instead, use its events to pause or resume audio and the running engine (if any). Of course not every engines implements that... but at least an incoming call doesn't kill the game now (lol).
2011-03-02ANDROID: Merge FIND_METHODsdhewg
2011-03-02ANDROID: Move swapBuffers to the native sidedhewg
2011-03-02ANDROID: Untangle JNI interweavingdhewg
- make the startup sequence more linear - use SurfaceHolder events - get rid of the surface lock - remove unnecessary JNI calls - make the ScummVM class implement Runnable - cleanup
2011-03-02ANDROID: Don't use warning() in JNI functionsdhewg
2011-02-27ANDROID: Remove dead codedhewg
2011-02-27ANDROID: Remove unnecessary codedhewg
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: 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: Remove unused jmethod Object.wait()dhewg
2011-02-24ANDROID: Split code into multiple filesdhewg
And get rid of unnecessary JNI calls to get a pointer to g_system