Commit Graph
8933 Commits
Author SHA1 Message Date
D G Turner c5e7aa8e93 SDL: Add warning if "waveout" driver is being used for audio.
This will help avoid bug reports like #6510 - "SDL: Audio delay
in daily builds" in future.
2014-02-14 15:34:22 +00:00
Johannes Schickel 5883f4cc3f OPENGL/SDL: Default to RGBA8888 (memory layout).
This makes sure the default mode also works for OpenGL ES contexts.
2014-02-12 18:06:29 +01:00
Johannes Schickel 5d78542ab8 OPENGL: Always support RGBA8888 (memory layout). 2014-02-12 18:06:29 +01:00
Johannes Schickel 2cab30ee80 OPENGL: Move RGBA8888 (logical layout) to OpenGL specific formats.
The reason here is that GL_UNSIGNED_INT_8_8_8_8 is not supported by the GLES
standard. Thus we cannot use it outside OpenGL specific code paths.
2014-02-12 18:06:29 +01:00
Johannes Schickel ac5907a804 OPENGL: Use frac_t for cursor scaling. 2014-02-12 17:15:07 +01:00
Johannes Schickel 6576dd758b OPENGL: Simplify shake offset application. 2014-02-12 17:15:07 +01:00
Johannes Schickel 1709486859 OPENGL: Use GLfloat for draw cooridnates in Texture. 2014-02-12 17:15:07 +01:00
Johannes Schickel 49dcd36e72 OPENGL: Use signed types for mouse coordinates.
This adjusts for the fact that our event handling also uses signed coordinates.
2014-02-12 17:15:07 +01:00
Johannes Schickel ddc70ed9ee OPENGL: Properly use signed types for cursor hotspot. 2014-02-12 17:15:07 +01:00
D G Turner 2589228329 SDL: Add debugging code to output SDL video driver name being used. 2014-02-12 12:11:53 +00:00
D G Turner a4ad32c5d9 SDL: Add debugging code to output SDL audio driver name being used.
This is to aid with investigation of bug #6510 - "SDL: Audio delay in
daily builds" and similar future issues.
2014-02-12 12:08:47 +00:00
Johannes Schickel abcadb5d87 OPENGL: Fix cursor regression when defaultFormat doesn't have an alpha channel. 2014-02-11 12:19:30 +01:00
Johannes Schickel 16898486fa OPENGL: Properly setup full game palette on video mode change if required. 2014-02-11 11:10:49 +01:00
Johannes Schickel 1f4638fe82 OPENGL: Refactor texture instantiation. 2014-02-11 11:10:49 +01:00
Johannes Schickel 0063568484 OPENGL: Rename notifyContextChange to notifyContextCreate. 2014-02-11 11:10:49 +01:00
Johannes Schickel 4d3eb4a45a TIZEN: Notify OpenGL manager about context destruction. 2014-02-11 11:10:49 +01:00
Johannes Schickel b5ca9f5f10 OPENGLSDL: Notify OpenGL manager about context destruction. 2014-02-11 11:10:49 +01:00
Johannes Schickel 8be41e4f2c OPENGL: Add notification function about context destruction. 2014-02-11 11:10:48 +01:00
Johannes Schickel 602d3034a9 OPENGL: Release old texture name before creating a new one.
This prevents any texture name leaks (and thus memory leaks) on
recreateInternalTexture calls.
2014-02-11 11:10:48 +01:00
Dries Harnie bd07459667 Merge pull request #825 from PoulpiFr/running-manny
ANDROID: Quick changement to the touchcontrols to let Manny run + Overlay buttons on screen
2014-02-09 23:02:21 +01:00
Dries Harnie e65d98801e ANDROID: Factor event pushing into pushEvent 2014-02-02 14:25:06 +01:00
Dries Harnie 24d679fa9d ANDROID: Remove unused htc_fail and shake_offset fields 2014-02-02 14:12:28 +01:00
Joel Teichroeb b6363dc4b7 ANDROID: Fix a race condition
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-28 22:50:39 -08:00
Joel Teichroeb 2d903d9668 ANDROID: Fix a race condition
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-27 18:29:00 -08:00
Joel Teichroeb 01459a674f ANDROID: Update the asset archive code to use AAssets 2014-01-27 12:09:18 -08:00
Joel Teichroeb 91667132f5 ANDROID: Use custom_rules.xml instead of build.xml
The build.xml was getting ignored, so we need to actually override rules
2014-01-27 10:13:25 -08:00
D G Turner b6e5865fce WII: Add missing dvd interface header for Gamecube build. 2014-01-26 11:19:53 +00:00
Joel Teichroeb cf642e9a3b Merge pull request #826 from klusark/unpacker
ANDROID: Remove Unpacker and plugin related things
2014-01-25 16:43:31 -08:00
D G Turner 08d3b5754a WII: Another fix for Gamecube build. Corrected Disc Interface object. 2014-01-25 21:32:07 +00:00
Pawel Kolodziejski 9098dfe9a2 ALL: sync with scummvm 2014-01-25 22:16:57 +01:00
D G Turner 417f755b90 WII: Fix Gamecube build. Missing ifdef guard for Wii DVD interface. 2014-01-25 18:50:20 +00:00
poulpi fb4135e505 ANDROID: Add an emulatedKeypress function in the main Activity 2014-01-25 18:19:41 +01:00
poulpi a50bf59195 ANDROID: Add control buttons on the Android screen
ANDROID: Removing some logging
2014-01-25 15:29:45 +01:00
poulpi 5cdebf9a01 ANDROID: Modify the touchscreen controls to make Manny run 2014-01-25 15:29:44 +01:00
Max Lingua 4592e0b586 Merge remote-tracking branch 'local/master' 2014-01-24 19:27:41 -05:00
Joel Teichroeb 0afc2b8e0b ANDROID: Remove Unpacker and plugin related things
Also remove the splash screen that happend during unpacking.
2014-01-24 11:51:20 -08:00
Johannes Schickel ce383aca1e MAEMO: Get rid of superfluous cast. 2014-01-24 03:28:45 +01:00
Johannes Schickel 495fa910d3 WINCE: Attempt to fix WinCE compilation. 2014-01-24 03:28:45 +01:00
Max Lingua 68836e00c9 PS2: Added README.PS2 2014-01-23 19:30:48 -05:00
Max Lingua 0f264e2d73 PS2: Added compact Makefile.ps2.dev for debug 2014-01-23 18:35:09 -05:00
Max Lingua 5e36716be5 PS2: Made it quieter unless -DLOGORRHEIC is set 2014-01-23 18:34:58 -05:00
Max Lingua 6487c362a1 PS2: Init Ps2Input after USB drivers are loaded 2014-01-23 18:34:51 -05:00
Max Lingua c16c6653a1 PS2: Improved support for profiling (gprof) build 2014-01-23 18:34:44 -05:00
Max Lingua ab3a1b5e0c PS2: commented "offending" free in startIrxModules
TODO: investigate stack corruption due to double free
TODO: review modules loader fallback logic
2014-01-23 18:34:37 -05:00
Max Lingua 487e642d00 PS2: Support for latest SDK with -D__NEW_PS2SDK__ 2014-01-23 18:34:26 -05:00
Max Lingua 4ccdb3e2a3 Merge branch 'master' of git://github.com/scummvm/scummvm 2014-01-23 18:33:15 -05:00
Johannes Schickel 2fe303ce3f Merge pull request #409 from lordhoto/rtti
Enable RTTI and clean up the code by exploiting the availability of dynamic_cast.
2014-01-23 15:23:12 -08:00
Alyssa Milburn 6927e570bb ANDROID: Add 32bpp support.
We still prefer 16bpp for performance reasons.
2014-01-23 23:00:00 +01:00
Dries Harnie 841d08db2e GRAPHICS: Distinguish between texture size and viewport size in Graphics::FrameBuffer 2014-01-23 21:51:54 +01:00
Joel Teichroeb 38c22e3c70 ANDROID: Don't install source files to apk
If ant is let loose on backends/platform/android it copies everything it can into the final apk file, which we obviously don't want. This changes it so that it will only see the java files which it compiles puts the results into the apk.
2014-01-23 10:08:13 -08:00