Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-27 | ANDROID: Check audio buffer for silence | dhewg | |
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-27 | ANDROID: Pause the AudioTrack when possible | dhewg | |
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-27 | AUDIO: Make mixCallback return the sample count | dhewg | |
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-27 | ANDROID: Rework audio system | dhewg | |
Move the audio thread to the bright side | |||
2011-02-27 | ANDROID: Formatting | dhewg | |
2011-02-27 | ANDROID: Remove another weird workaround | dhewg | |
2011-02-27 | HUGO: Better fix for graphics glitches in DOS versions, fix H3 ending animation | strangerke | |
2011-02-26 | SCI: Avoid hiding overloaded virtual methods | Ori Avtalion | |
2011-02-26 | GOB: Avoid hiding overloaded virtual methods | Ori Avtalion | |
2011-02-26 | SCI: Cleanup | md5 | |
2011-02-26 | SCI: 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-26 | SCI: Added a TODO concerning the workaround for SQ1EGA, as we don't know if ↵ | md5 | |
it happens in the original version | |||
2011-02-26 | SCI: Fixed a memory leak. Thanks to digitall for finding this using Valgrind | md5 | |
2011-02-26 | SCI: Some slight fixes for the code that reads the LSL2 early MT32.DLL ↵ | md5 | |
driver, thanks to waltervn | |||
2011-02-26 | HUGO: Fix graphic glitches in DOS versions | strangerke | |
2011-02-26 | AGOS: Respect the screen pitch for movies | dhewg | |
Fixes DXA and Smacker movies on Android | |||
2011-02-26 | ANDROID: Allow softkeybd on all devices | dhewg | |
2011-02-26 | MOHAWK: Correction for uninitialized read in Myst Cabin Door State. | D G Turner | |
2011-02-26 | BASEBACKEND: Remove resetGraphicsScale() hack | dhewg | |
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-26 | OPENGL: Fix 16bit cursors | dhewg | |
2011-02-26 | SCI2+: Mention that the actual problem with text wrapping happens because of ↵ | md5 | |
the unimplemented kTextSize kernel call in SCI32 | |||
2011-02-26 | SCI: Added support for reading data off the MT32.DRV driver found in LSL2 ↵ | md5 | |
early (bug #3192627) | |||
2011-02-26 | SCI: Slight cleanup in the animate code | md5 | |
2011-02-25 | OPENGL: Reset the scale on mode changes | dhewg | |
Resets defaultTo1XScaler when going back to the launcher | |||
2011-02-25 | ENGINES: We have resetGraphicsScale(), lets use it | dhewg | |
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-25 | SCI: 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-25 | OPENGL: Cleanup cursor refresh code a bit. | Johannes Schickel | |
2011-02-25 | OPENGL: Implement support for non CLUT8 cursor. | Johannes Schickel | |
Currently all the cursor data is converted to RGBA8888 to allow for easy colorkeying. | |||
2011-02-25 | OPENGLSDL: Add RGB555 to the supported format list. | Johannes Schickel | |
2011-02-25 | OPENGL: Add support for RGB555 output format. | Johannes Schickel | |
2011-02-25 | ANDROID: Remove weird workaround in clearScreen() | dhewg | |
This resulted in flickering all over the GUI | |||
2011-02-25 | Revert "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-24 | GUI: Fix two-step rendering | dhewg | |
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-24 | GUI: Properly clear the screen buffer | dhewg | |
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-24 | ANDROID: Check thread origin when debugging GL | dhewg | |
2011-02-24 | ANDROID: Disable zoning for now | dhewg | |
2011-02-24 | ANDROID: Deuglify overlay gfx | dhewg | |
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-24 | ANDROID: Let's not do that on the stack | dhewg | |
2011-02-24 | GUI: Make the ThemeParser less dumb | dhewg | |
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-24 | ANDROID: We are not a text editor | dhewg | |
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-24 | ANDROID: Move rest of everything JNI | dhewg | |
2011-02-24 | ANDROID: Wrap JNI code in a class | dhewg | |
2011-02-24 | ANDROID: Move the global back reference to jni.cpp | dhewg | |
2011-02-24 | ANDROID: Remove unused jmethod Object.wait() | dhewg | |
2011-02-24 | ANDROID: Split code into multiple files | dhewg | |
And get rid of unnecessary JNI calls to get a pointer to g_system | |||
2011-02-24 | SDL: Prevent graphics manager hotswapping on startup. (This time for real) | Johannes Schickel | |
2011-02-24 | SCI: Added an initial implementation of RemapByPercent, which fixes the ↵ | md5 | |
palette in the PQ:SWAT demo | |||
2011-02-24 | SCI: Fixed video playing in the PQ:SWAT demo | md5 | |
2011-02-24 | SDL: Prevent unnecessary gfx manager hotswap | dhewg | |
2011-02-24 | GIT: Simplify and improve filters for MSVC | strangerke | |