aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-27AUDIO: Make mixCallback return the sample countdhewg
The RateConverter::flow result was never used, pipe it through Channel::mix to MixerImpl::mixCallback, so backends can decide if they want to waste cpu cycles while playing empty buffers.
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-27HUGO: Better fix for graphics glitches in DOS versions, fix H3 ending animationstrangerke
2011-02-26SCI: Avoid hiding overloaded virtual methodsOri Avtalion
2011-02-26GOB: Avoid hiding overloaded virtual methodsOri Avtalion
2011-02-26SCI: Cleanupmd5
2011-02-26SCI: Removed the SCI32 version of kernelDrawCel() and placed its code inside ↵md5
the debug function cmdDrawCel, as it was hacked together to be used specifically in that command (thanks to salty-horse for spotting this)
2011-02-26SCI: Added a TODO concerning the workaround for SQ1EGA, as we don't know if ↵md5
it happens in the original version
2011-02-26SCI: Fixed a memory leak. Thanks to digitall for finding this using Valgrindmd5
2011-02-26SCI: Some slight fixes for the code that reads the LSL2 early MT32.DLL ↵md5
driver, thanks to waltervn
2011-02-26HUGO: Fix graphic glitches in DOS versionsstrangerke
2011-02-26AGOS: Respect the screen pitch for moviesdhewg
Fixes DXA and Smacker movies on Android
2011-02-26ANDROID: Allow softkeybd on all devicesdhewg
2011-02-26MOHAWK: Correction for uninitialized read in Myst Cabin Door State.D G Turner
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-26SCI2+: Mention that the actual problem with text wrapping happens because of ↵md5
the unimplemented kTextSize kernel call in SCI32
2011-02-26SCI: Added support for reading data off the MT32.DRV driver found in LSL2 ↵md5
early (bug #3192627)
2011-02-26SCI: Slight cleanup in the animate codemd5
2011-02-25OPENGL: Reset the scale on mode changesdhewg
Resets defaultTo1XScaler when going back to the launcher
2011-02-25ENGINES: We have resetGraphicsScale(), lets use itdhewg
If highres games pass defaultTo1XScaler=true to initGraphics(), use resetGraphicsScale() instead of hardcoding "1x" (which doesn't exist on the OpenGL backend) If an OpenGL mode is selected, it now doesn't switch back to plain SDL now for those games.
2011-02-25SCI: Changed the fix for the intro of Longbow (bug #3044844) into a hack for ↵md5
that scene. Fixes the freeze in LSL6 (bug #3192166). Fading in KQ5 is unaffected by this.
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-25Revert "GUI: Properly clear the screen buffer"dhewg
This reverts commit c8551b80dd917c35d367c1f15f4b9c2618da3684. Turns out the flicking comes from an updateScreen() call in android's clearScreen(). Besides, this broke GMM... a little
2011-02-24GUI: Fix two-step renderingdhewg
This is used when changing directories in the 'add game' dialog or when choosing another tab in the option dialog. Only blit to the overlay on the final pass. Gets rid of highly annoying flickers on androids
2011-02-24GUI: Properly clear the screen bufferdhewg
Don't operate on the overlay, it might be a pointer to a texture used by the hardware. This get's rid of some annoying flickers on androids
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-24GUI: Make the ThemeParser less dumbdhewg
Instead of running into assert()s due to dumb parser decisions, use 'less than' and 'greater than' width/height conditions on the 'resolution' tags. Seems better than listing >9000 different android resolutions.
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-24SCI: Added an initial implementation of RemapByPercent, which fixes the ↵md5
palette in the PQ:SWAT demo
2011-02-24SCI: Fixed video playing in the PQ:SWAT demomd5
2011-02-24SDL: Prevent unnecessary gfx manager hotswapdhewg
2011-02-24GIT: Simplify and improve filters for MSVCstrangerke