aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
AgeCommit message (Collapse)Author
2014-02-16SDL: Move debugging code to output SDL video driver name to initBackend.D G Turner
The initBackend() function is called later after the command line is parsed and thus debug() prints can be used, which are much less noisy.
2014-02-15Merge pull request #432 from klusark/raceAlyssa Milburn
ANDROID: Fix a race condition
2014-02-12SDL: Add debugging code to output SDL video driver name being used.D G Turner
2014-02-11OPENGL: Rename notifyContextChange to notifyContextCreate.Johannes Schickel
2014-02-11TIZEN: Notify OpenGL manager about context destruction.Johannes Schickel
2014-01-27ANDROID: Fix a race conditionJoel Teichroeb
setSurface is done in a different thread than the one that starts the scummvm main. The main thread would then wait until the setSurface thread notifies. The setSurface thread would notify before it actually calls setSurface, meaning if the thread is preemted before calling setSurface, initSurface will assert, causing the app to crash.
2014-01-24WINCE: Attempt to fix WinCE compilation.Johannes Schickel
2014-01-23Merge pull request #409 from lordhoto/rttiJohannes Schickel
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
2014-01-23ANDROID: Add 32bpp support.Alyssa Milburn
We still prefer 16bpp for performance reasons.
2014-01-21Merge pull request #421 from lordhoto/taskbar-cleanupJohannes Schickel
BUILD: Taskbar Cleanup/Fixes
2014-01-21Merge pull request #413 from AReim1982/masterDavid Turner
WII: Implement changes needed by DevKitPPC R26 and later
2014-01-21BUILD: Rename libunity support variable to "USE_UNITY" instead of ↵Johannes Schickel
"USE_TASKBAR_UNITY". This makes it consistent with other library support variables.
2014-01-21WII: Implement changes needed by DevKitPPC R26 and laterAReim1982
This changes makes ScummVM compilable with newer versions of DevKitPPC. ScummVM can be linked against the original libogc and libfat. That makes some newer WiiMotes work, improves audio-/video-playback and contains various improvements.
2014-01-10ANDROID: Set correct blending functionMarcus Comstedt
Overlays with alpha channel in ScummVM use pre-multiplied alpha. Thus, is it necessary to set the source blend function to ONE, not SOURCE_ALPHA. While there is no firm decision on the texture format to be used to cursors, make sure to set the key color to R=G=B=A=0.0, so that it can be used with either pre-multiplied or non-pre-multiplied blending.
2014-01-10DC: Silenced some stupid warningsMarcus Comstedt
2014-01-10DC: Workaround for usleep prototype mismatchMarcus Comstedt
2014-01-01JANITORIAL: Update copyright yearEugene Sandulenko
2013-12-06Merge branch 'master' of github.com:scummvm/scummvmanotherguest
2013-12-06SYMBIAN OS: Spelling correctionanotherguest
2013-12-06NULL: Fix compilation of null backend.Johannes Schickel
2013-12-02SYMBIAN OS:Added help files also in the split build installation file.anotherguest
2013-12-02SYMBIAN OS: Fedor created context sensitive help for ScummVM Symbian OS!anotherguest
2013-11-26SYMBIAN OS: README updated with Fedors name. Removed FLAC include from ↵anotherguest
base.mmp.in.
2013-11-26SYMBIAN OS: Add correct datafiles to installation scriptsanotherguest
2013-11-26SYMBIAN OS:Forgot to set Mpeg2Lib decoder lib.anotherguest
2013-11-26SYMBIAN OS: Add Sword25 and testbed engines. Perl script updatedanotherguest
2013-11-26SYMBIAN OS:Removed resolution fix from Symbian OS Backend, handle this in ↵anotherguest
SDL backend instead. Add more engines for the split build.
2013-11-25SYMBIAN OS:Added new engines, updated resolution support. Version number changesanotherguest
2013-11-14SDL: Fix bug where config file path could exceed maximum path length.D G Turner
The fix is the change in the MAXPATHLEN check, but have also migrated this to Common::String to make the fix easier. Thanks to klusark for pointing out this problem.
2013-11-11SDL: Remove misleading comments, based on incomplete information at MSDN. ↵Kirben
GetLocalInfo is supported on Windows 95 onwards, but MSDN fails to mention older Windows versions.
2013-11-03SDL: Fix invalid memory access in getSystemLanguage.Johannes Schickel
A call to setlocale can invalidate the string a previous setlocale call returned. Instead of saving a pointer we copy the returned string now. This, for example, fixes invalid memory access on my system. See de8da01b0e8a309b9ed3f5b0f152ebbcf8f4af37 for the commit introducing the invalid memory access.
2013-11-03SDL: Remove side effect of setlocale() call to get Language.D G Turner
This is to fix bug #3615148 - "ALL: sscanf("%f"), atof() etc. not portable due to Locale" The side effect of setlocale("") is to change the active locale from the default of "C" to the detected system locale, but this changes the behaviour of sscanf() and several other functions in a system dependent and non-portable way. This has caused bugs in the ZVISION engine when running Zork Nemesis. The solution is to restore the default "C" locale after the call to get the language. Thanks to criezy for working out this fix.
2013-10-24SDL: Make activateManager/deactivateManager SdlGraphicsManager specific.Johannes Schickel
We can do this now that we can use virtual inheritance and dynamic_cast because we enabled RTTI.
2013-10-23SDL: Reduce code duplication a bit.Johannes Schickel
Now instead of initializing this in OSystem_SDL::initSDL (and in subclasses overwriting this) we simply initialize it in OSystem_SDL::init.
2013-10-23SDL: Fix default graphics mode for switchable case.Johannes Schickel
The former code (incorrectly) assumed that the getDefaultGraphicsMode returns the index in the table returned by getSupportedGraphicsModes. Now the correct ID is searched and then used.
2013-10-23SDL: Do not require a static graphics mode list in OpenGL and SurfaceSDL.Johannes Schickel
2013-10-23SDL: Only allow switching of SurfaceSDL <-> OpenGL when no custom manager is ↵Johannes Schickel
used.
2013-10-23SDL: Make setupGraphicsModes non-virtual.Johannes Schickel
The logic of switching the managers is pretty much fixed at the same level and cannot be easily overwritten.
2013-10-23SDL: Simplify initial graphics manager selection for OpenGL.Johannes Schickel
2013-10-23SDL: Get rid of _glModesCount.Johannes Schickel
2013-10-23SDL: Get rid of loop in OSystem_SDL::setGraphicsMode.Johannes Schickel
2013-10-23SDL: Clean up graphics mode handling for OpenGL backend.Johannes Schickel
Instead of custom memory management Common::Array is used now.
2013-10-23SDL: Always initialize video subsystem in initSDL.Johannes Schickel
2013-10-23SDL: Clean up graphics manager switching slighty.Johannes Schickel
Sadly this also requires us to extend GraphicsManager for this SDL specific feature. However, since that's only used in the SDL backend and Tizen it should be fine for now...
2013-10-20Merge pull request #408 from lordhoto/opengl-replacementJohannes Schickel
OpenGL revamp
2013-10-19TIZEN: Add some further OpenGL related changes by Chris.Johannes Schickel
2013-10-19TIZEN: Adapt to new OpenGL code.Johannes Schickel
Thanks to Chris Warren-Smith for testing this a bit.
2013-10-19SDL: Add a OpenGL SDL backend and hook it into the SDL backend.Johannes Schickel
The hooking code is nearly exactly the old hooking code. Only the OpenGL SDL creation has been adapted since it uses a different constructor now.
2013-10-09ANDROID: Really fix compilation.D G Turner
The vanilla android toolchain even is unhappy when unknown folders are present in the resources directory, so have moved the ouya specific resources out to another directory.
2013-10-09ANDROID: Fix compilation.D G Turner
The aapt throws an "invalid resource directory name" if the resource directory name is not known to the tools. Unfortunately, "values-television" is an OUYA specific addition and thus breaks with the standard vanilla Android toolchain.