aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android
AgeCommit message (Collapse)Author
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
2011-02-07COMMON: OSystem now has a PaletteManagerMax Horn
svn-id: r55806
2010-12-24ANDROID: Remove obsolete reference to ANDROID_TOP in build instructions.Angus Lees
svn-id: r55029
2010-11-29BACKENDS: Fix SVN keyword usage.Johannes Schickel
svn-id: r54584
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: Add --disable-timidity to the recommended flagsAngus Lees
svn-id: r53809
2010-10-25ANDROID: Don't trust eglChooseConfig and refilter/sort results manuallyAngus Lees
It seems some Android versions and devices (eg Droid) don't implement eglChooseConfig according to spec and the first result isn't the best choice. Implement our own filtering / scoring to workaround this. svn-id: r53808
2010-10-25ANDROID: Provide an alternate partial texture update for stride != widthAngus Lees
The new one copies into a temp buffer and only does one glTexSubImage2D. I'm led to believe that this is faster on some devices (but slower on others). Disabled for now, but someone might want to try both versions on their slow device. Also manually set glColor before calling DrawTexiOES, following mention of a bug in a discussion I stumbled across. DrawTexiOES-use is disabled for now, so this is a noop. svn-id: r53803