Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
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
;)
|
|
Move the audio thread to the bright side
|
|
|
|
|
|
|
|
This resulted in flickering all over the GUI
|
|
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
And get rid of unnecessary JNI calls to get a pointer to g_system
|
|
|
|
|
|
master
Conflicts:
backends/platform/android/android.cpp
engines/sci/graphics/screen.cpp
engines/sci/graphics/transitions.cpp
|
|
- added a few macros for convinience
- use them
- replaced CHECK_GL_ERROR with GLCALL
- spam GLCALL
|
|
|
|
|
|
|
|
|
|
See http://wiki.scummvm.org/index.php/Compiling_ScummVM/Android
|
|
maybe now?
|
|
and hoping for buildbot to pick up the toolchain now
|
|
|
|
|
|
JNI calls can happen through the timer mechanism (hence from another
thread). Attach the timer thread to the VM to prevent assert()s
|
|
add bionic replacement __assert2(), so we actually see what's happening
|
|
- 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
|
|
adb logcat ScummVM:\* \*:S
|
|
get rid of -DANDROID and -DANDROID_BACKEND
|
|
- 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
|
|
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)
|
|
svn-id: r55850
|
|
svn-id: r55806
|
|
svn-id: r55029
|
|
svn-id: r54584
|
|
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
|
|
svn-id: r53809
|
|
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
|
|
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
|