aboutsummaryrefslogtreecommitdiff
path: root/backends
AgeCommit message (Collapse)Author
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-26BASEBACKEND: Remove resetGraphicsScale() hackdhewg
All backends that derive from BaseBackend are consoles and/or portables without any connection from graphics modes to scalers. The default implementation of resetGraphicsScale() is now a noop, which seems correct for all current backends. This fixes unwanted mode changes since 93fdcbfa.
2011-02-26OPENGL: Fix 16bit cursorsdhewg
2011-02-25OPENGL: Reset the scale on mode changesdhewg
Resets defaultTo1XScaler when going back to the launcher
2011-02-25OPENGL: Cleanup cursor refresh code a bit.Johannes Schickel
2011-02-25OPENGL: Implement support for non CLUT8 cursor.Johannes Schickel
Currently all the cursor data is converted to RGBA8888 to allow for easy colorkeying.
2011-02-25OPENGLSDL: Add RGB555 to the supported format list.Johannes Schickel
2011-02-25OPENGL: Add support for RGB555 output format.Johannes Schickel
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-24SDL: Prevent graphics manager hotswapping on startup. (This time for real)Johannes Schickel
2011-02-24SDL: Prevent unnecessary gfx manager hotswapdhewg
2011-02-24SYMBIAN: Changed sound path to audio.anotherguest
Signed-off-by: anotherguest
2011-02-24OPENGL: Set _gameTexture to 0 after deleting it.Johannes Schickel
This fixes a segfault when trying to use the OpenGL backend with 16bpp games, however this does not make Last Express nor Loom PC-Engine Japanese work for me. They now fail with a "Pixel format not supported" error.
2011-02-24OPENGL: Prefer single operation texture updates.Johannes Schickel
When doing glTexSubImage2D we do not need to assure that the source data has the same width as the texture when we want to update the data, we just need to assure that the width * Bpp cound matches the pitch.
2011-02-24OPENGL: Properly setup pixel data alignment.Johannes Schickel
If we do not do this, we might end up with a default alignment of 4, which will fail (as in the graphics will be messed up) in case the screen resolution is not divisible by 4. Thanks to digitall for noticing this problem and finding out about GL_UNPACK_ALIGNMENT.
2011-02-24SDL: Use the SDL_Surface's pitch in copyRectToScreen.Johannes Schickel
This fixes messed up graphics, when SDL decides to add padding bytes to the lines of an SDL_Surface. Formerly the code always calculated the pitch via w*bpp, which of course does not work in all cases.
2011-02-20DS: Disable symbol garbage collectiondhewg
Only applies when using loadable modules. This requires a second compile run or black voodoo linker tricks. Not implemented at this time. Disable it, so we get DS build failure reports from buildbot (which are useful with all the DISABLE_EVERYTHING defines). The resulting binary might be too big to be usable.
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-19OPENGLSDL: Avoid warping in warpMouse when the logical coordinates did not ↵Johannes Schickel
change. This fixes a slight move of the mouse cursor when the hardware mouse position is at a subpixel from the logical coordinates.
2011-02-19OPENGL: Get rid of adjustMouseEvent.Johannes Schickel
Rather than that I introduced a function which converts hardware screen coordinates to overlay / game screen coordinates. The logic which converts mouse movement events with hardware screen coordinates to overlay / game screen coordinates is now inside notifyEvent. This is still broken design, since one should not abuse an observer for that.
2011-02-19OPENGL: Fix documentation of OpenGLGraphicsManager::MousePos.Johannes Schickel
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