aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android
AgeCommit message (Collapse)Author
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: Check for a surface in updateScreen()dhewg
2011-03-02ANDROID: Merge FIND_METHODsdhewg
2011-03-02ANDROID: Move swapBuffers to the native sidedhewg
2011-03-02ANDROID: cleanupdhewg
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-03-02ANDROID: Don't use warning()/error() in a threaddhewg
2011-02-27ANDROID: Prevent AudioTrack unpause on startupdhewg
2011-02-27ANDROID: Remove dead codedhewg
2011-02-27ANDROID: Remove unnecessary 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-27ANDROID: Formattingdhewg
2011-02-27ANDROID: Remove another weird workarounddhewg
2011-02-26ANDROID: Allow softkeybd on all devicesdhewg
2011-02-25ANDROID: Remove weird workaround in clearScreen()dhewg
This resulted in flickering all over the GUI
2011-02-24ANDROID: Check thread origin when debugging GLdhewg
2011-02-24ANDROID: Disable zoning for nowdhewg
2011-02-24ANDROID: Deuglify overlay gfxdhewg
Use the native surface resolution of the device if its not too big. If it is, use a clean scale factor of 2 to prevent eyecancer.
2011-02-24ANDROID: Let's not do that on the stackdhewg
2011-02-24ANDROID: We are not a text editordhewg
This was probably set to ensure onCreateInputConnection() gets called, but it is regardless of this flag. Now the soft keyboard doesn't show up on startup on devices without physical keyboard, which prevents unnecessary surface changes.
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
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: inline some GLESTexture membersdhewg
2011-02-19ANDROID: Supress warningdhewg
2011-02-19ANDROID: Formattingdhewg
2011-02-19ANDROID: Fix make dependencies for parallel buildsdhewg
2011-02-18ANDROID: Remove outdated build instructionsdhewg
See http://wiki.scummvm.org/index.php/Compiling_ScummVM/Android
2011-02-18ANDROID: Formattingdhewg
maybe now?
2011-02-18ANDROID: Formattingdhewg
and hoping for buildbot to pick up the toolchain now
2011-02-18ANDROID: dist target for buildbotdhewg
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: Use and reinit texture on screen changesdhewg
- EVENT_SCREEN_CHANGED must happen _after_ we have a new surface, not when the the old surface vanishes. fixes port on galaxy tab - textures have to be redefined with glTexImage2D() to make glTexSubImage2D() not fail on screen changes
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-14ANDROID: Allow out-of-src-tree builds, cleanupdhewg
- move all android specific make stuff from module.mk to android.mk - don't create automatically generated files in the source tree - don't fail when building outside of the source tree - clean android build files on "make clean" - cleanup
2011-02-14ANDROID: Allow monolithic builds to rundhewg
this gets rid of the "no plugins found, go to market, kthx" message, which doesn't make sense on monolithic builds (market only has ancient apk's anyway)
2011-02-09AUDIO: Rename sound/ dir to audio/Max Horn
svn-id: r55850