Sam Lantinga
c515b79423
Updated framework version to match dylib version.
...
Actually the dylib compatibility version is 3.0.0, but don't break compatibility with previous frameworks, which were compatibility version 1.0.0
2014-03-12 07:55:32 -07:00
Sam Lantinga
641ba09975
Fixed compiling Windows RT code on Visual Studio 2013
2014-03-12 07:26:07 -07:00
David Ludwig
36e7c8d92d
Fixed compiler errors in the D3D11 renderer when building for WinRT
...
Still TODO: fix other build errors, especially linker errors, when building
SDL/WinRT, then fix any runtime errors that pop up.
2014-03-11 12:40:31 -04:00
David Ludwig
ce3c5b842f
Made VS2012 build the D3D11 renderer
...
This change is currently limited to Win32/Windows-Desktop builds. Build fixes
for WinRT + VS2012 are still pending.
2014-03-10 22:53:03 -04:00
Ryan C. Gordon
b2fcdfca71
Disable Wayland/Mir again for 2.0.3; it's a quick, brown-paper-bag release.
...
We'll enable it by default for 2.0.4. Hopefully. :)
( http://www.catb.org/jargon/html/B/brown-paper-bag-bug.html )
2014-03-11 10:33:51 -04:00
Andreas Schiffler
7a36070a95
Fix bug/add test coverage for SDLTest_GenerateRunSeed helper; improve test harness adding output of repro steps for failures; improve negative test for SDL_GetError/SDL_SetError
2014-03-11 07:17:56 -07:00
Sam Lantinga
b677d1d883
Fixed Mac OS X OpenGL context creation to match other backends, where we only care about the actual version we request if it's 3.0 or newer or a special profile context.
...
Eventually we'll probably move the version checking to higher level code and report the actual version of context that got created, but to avoid breakage we'll leave it like this for now.
2014-03-10 19:59:06 -07:00
Sam Lantinga
e99dc1f1bd
Fixed binary compatibility with the new Windows RT support
2014-03-10 19:11:52 -07:00
Sam Lantinga
7d98754a72
Temporarily disabled the D3D11 renderer so we can get a build.
2014-03-10 19:11:50 -07:00
Sam Lantinga
28398109a1
Fixed regression causing the renderer to recreate its window since it's not getting an OpenGL 2.1 context anymore.
2014-03-10 18:45:07 -07:00
David Ludwig
e8eb142748
build fixes for most WinRT-related files
...
Still TODO: getting the D3D11 renderer back up and running in VC 2012.
2014-03-10 21:21:35 -04:00
Sam Lantinga
2c558ca24d
Fixed D3D9 initialization on Windows 8, which doesn't have D3DX
2014-03-10 17:19:19 -07:00
Sam Lantinga
9c2fb684af
Implemented fullscreen <-> windowed transition on Windows 8
2014-03-10 15:00:59 -07:00
Sam Lantinga
7e8b25534d
Fixed line endings
2014-03-10 14:35:37 -07:00
Sam Lantinga
3df586cef5
Fixed creating the rendering context on a specific device
2014-03-10 12:49:15 -07:00
Sam Lantinga
9aa5b1d457
Implemented YV12 and IYUV texture support for the D3D11 renderer
2014-03-10 05:44:34 -07:00
Sam Lantinga
cb7a408f47
testoverlay2 depends on SDL2, SDL2main, and SDL2test
2014-03-10 05:37:25 -07:00
Sam Lantinga
1e6ac69119
Added testoverlay2 to the Visual Studio 2013 solution
2014-03-10 03:59:47 -07:00
Sam Lantinga
965cdf10d4
Minor style tweaks
2014-03-10 02:13:44 -07:00
Sam Lantinga
1a35f32b68
Converted David Ludwig's D3D11 renderer to C and optimized it.
...
The D3D11 renderer is now slightly faster than D3D9 on my Windows 8 machine (testsprite2 runs at 3400 FPS vs 3100 FPS)
This will need tweaking to fix the Windows RT build.
2014-03-10 01:51:03 -07:00
Sam Lantinga
a8f540fe4a
Fixed renderer flags to include support for target textures after the renderer is created.
2014-03-09 22:48:38 -07:00
Ryan C. Gordon
8c7ee701a1
Removed unused variable.
2014-03-10 00:48:41 -04:00
Ryan C. Gordon
8d2dcbc1b7
Updated WinCE readme to note WinRT work.
2014-03-10 00:31:31 -04:00
Ryan C. Gordon
ea333d2e6b
Turn off Mir support in the buildbot Raspberry Pi script.
2014-03-10 00:26:40 -04:00
Ryan C. Gordon
89648a9a3c
Drop the default requested OpenGL version to 1.2.
...
Fixes default context creation on Mac OS X <= 10.6.
2014-03-10 00:01:14 -04:00
Sam Lantinga
1fe7b27a96
Fixed 64-bit warnings
2014-03-09 12:27:31 -07:00
Sam Lantinga
e58ee5403b
Fixed compiling with mingw64
2014-03-09 12:08:07 -07:00
Sam Lantinga
1367bf8748
Integrated David Ludwig's support for Windows RT
2014-03-09 11:36:47 -07:00
Sam Lantinga
05c23063bb
Fixed line endings on WinRT source code
2014-03-09 11:06:11 -07:00
Sam Lantinga
c167d1f6a8
Updated SDL to version 2.0.3
2014-03-09 10:38:30 -07:00
Sam Lantinga
360f1101c3
Visual Studio 2013 project updates
2014-03-09 10:37:45 -07:00
Ryan C. Gordon
db568d69d8
Patched to compile with MingW64 on case-sensitive systems (thanks, Martin!).
...
Fixes Bugzilla #2440 .
2014-03-09 11:52:52 -04:00
Ryan C. Gordon
5755fa4b9e
Patched to compile on C89 compilers.
2014-03-08 15:34:54 -05:00
Ryan C. Gordon
0f1a72c012
Enable Wayland and Mir in configure/cmake scripts, now that 2.0.2 has shipped.
2014-03-08 15:32:12 -05:00
Sam Lantinga
20dc4214e2
Added tag release-2.0.2 for changeset c20e24653d40
2014-03-07 23:16:24 -08:00
Ryan C. Gordon
2b92d9b431
CMake: Don't use /NODEFAULTLIB on Windows unless we're Visual Studio.
2014-03-07 00:18:37 -05:00
Sam Lantinga
e9eb7ecd08
Fixed bug 2430 - Missing initialization of the variable 'centroid' inside SDL_GestureAddTouch
...
klose
File: SDL_gesture.c
Method: SDL_GestureAddTouch
When a new SDL_GestureTouch element is added to the global SDL_gestureTouch array the variable 'centroid' of the new element is not initialized.
The problem is that this variable is read isndie SDL_GestureProcessEvent when a SDL_FINGERDOWN event occurs.
2014-03-06 20:02:17 -08:00
David Ludwig
61ae0c1b50
WinRT: emit SDL_APP_TERMINATING
2014-03-04 19:49:11 -05:00
David Ludwig
844ad50018
WinRT: emit SDL_APP_WILLENTER* and SDL_APP_DIDENTER* events
2014-03-04 19:30:36 -05:00
Ryan C. Gordon
9e67444a36
Mac: Added a hint to opt-out of new Spaces code.
2014-03-03 21:25:16 -05:00
Ryan C. Gordon
3889d47887
Removed unused variable.
2014-03-02 22:55:12 -05:00
Ryan C. Gordon
0e5cc8dff4
Mac: Don't lose the menu/dock when switching back to a resizable window Space.
2014-03-02 22:51:31 -05:00
Ryan C. Gordon
86be83215a
Mac: only programmatically create Spaces if we're FULLSCREEN_DESKTOP.
...
(coming back from fullscreen in any state is okay).
2014-03-02 22:16:49 -05:00
Ryan C. Gordon
460f97ff96
A bunch of fixes for the new Spaces code.
2014-03-02 16:36:40 -05:00
Sam Lantinga
da324233e2
Fixed dictionary initialization
2014-03-02 13:06:51 -08:00
Sam Lantinga
0f9bb0cda6
Updated to build on Mac OS X 10.7 with Xcode 4.6
2014-03-02 12:58:00 -08:00
Ryan C. Gordon
5eccbac4b9
Mac: Manage menubar and dock as FULLSCREEN_DESKTOP windows become/resign key.
2014-03-02 15:35:24 -05:00
Bastien Nocera
4ca76b3e59
Add support for the freedesktop.org Idle Inhibition specification,
...
as per:
http://people.freedesktop.org/~hadess/idle-inhibition-spec/
This makes screensaver inhibition work with GNOME 3 and other
desktop environments that implement the specification.
https://bugzilla.libsdl.org/show_bug.cgi?id=2169
2014-03-02 14:59:06 -05:00
Sam Lantinga
c2c08f68e4
Backed out changeset 9357a2ca3473
2014-03-02 11:10:00 -08:00
Sam Lantinga
2cf453dd3e
Make sure we return version 0 if XInput detection fails
2014-03-02 11:08:05 -08:00