aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/android
AgeCommit message (Collapse)Author
2011-03-03ANDROID: Don't wipe paletted textures on reinitdhewg
The content of a paletted texture is in _surface.pixels. When recreating the surface, don't wipe its data unnecessarily. This fixes gfx garbage on CLUT8 games/cursors when leaving and going back to ScummVM
2011-03-03ANDROID: Implement surface resizesdhewg
Split surface code into helper functions to avoid code duplication, and distinguish between screen resizes and surface recreation. The former happens when toggling the softkeyb, where we just have to reset the viewport. Fixes garbled textures in those cases.
2011-03-03ANDROID: Rename member vars according to our styledhewg
2011-03-03ANDROID: Remove an indirection when pausingdhewg
2011-03-03ANDROID: Formatting/whitespacesdhewg
2011-03-02ANDROID: Respect the pause level.dhewg
2011-03-02ANDROID: Properly release texture resourcesdhewg
When calling glDeleteTextures() we need a valid surface.
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