Sam Lantinga
ae48232ed1
Be clear that disabling Vulkan surface support disables the entire SDL Vulkan integration
2017-08-28 00:11:38 -07:00
Ryan C. Gordon
10d552ae31
vulkan: Initial Vulkan support!
...
This work was done by Jacob Lifshay and Mark Callow; I'm just merging it
into revision control.
2017-08-27 22:15:57 -04:00
Sam Lantinga
7cd440646f
Fixed building SDL applications with Visual Studio and the clang toolset
...
Also fixed building 64-bit SDL with clang. 32-bit doesn't build because of the inline assembly for C runtime support.
2017-08-19 03:07:44 -07:00
Sam Lantinga
44823377c0
Updated config headers to override the base SDL_config.h if both are included
2017-02-20 10:55:33 -08:00
Ryan C. Gordon
9a2896195b
wasapi: Initial WASAPI support, for Windows Vista and later.
...
This should remain binary compatible with Windows XP, as we dynamically
load anything we need and fall back to DirectSound/WinMM/XAudio2 if not
available.
2017-02-14 03:03:27 -05:00
Sam Lantinga
d77ab77a7a
Updated copyright for 2017
2017-01-01 18:33:28 -08:00
Sam Lantinga
9cc7ce9008
Renaming of guard header names to quiet -Wreserved-id-macro
...
Patch contributed by Sylvain
2016-11-20 21:34:54 -08:00
Sam Lantinga
255c182471
Updated copyright to 2016
2016-01-02 10:10:34 -08:00
Sam Lantinga
78f2198e6c
Updated the copyright year to 2015
2015-05-26 06:27:46 -07:00
Sam Lantinga
47f40262b5
Removed SDL_round() because the license wasn't compatible with zlib
2014-08-17 13:11:55 -07:00
Sam Lantinga
18fc7db9e2
Added SDL_round(), contributed by Benoit Pierre - thanks!
2014-08-16 23:23:15 -07:00
Sam Lantinga
6dd1e2f2f6
Split the XInput and DirectInput code so Windows RT can use the existing XInput support.
2014-07-03 15:39:55 -07:00
Sam Lantinga
e1683fad67
Added SDL_sqrtf(), SDL_tan(), SDL_tanf()
2014-06-07 18:20:01 -07:00
Ryan C. Gordon
a256776578
Fix build on Windows targets without dxgi.h, like MingW32.
2014-05-06 00:13:07 -04:00
Sam Lantinga
02d4d38830
Temporarily disabled the D3D11 renderer so we can get a build.
2014-03-10 19:11:50 -07:00
Sam Lantinga
6b5a5ea12a
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
dba255c1e5
Fixed bug 2374 - Update copyright for 2014...
...
Is it that time already??
2014-02-02 00:53:27 -08:00
Ryan C. Gordon
df9f367941
Added SDL_vsscanf().
2013-11-24 23:35:38 -05:00
Ryan C. Gordon
fac8b02737
Hook up SDL_acos and SDL_asin properly.
2013-12-09 15:17:20 -05:00
Gabriel Jacobo
3fcc35f5bb
OpenGL ES support for Windows
2013-11-22 13:24:53 -03:00
Sam Lantinga
15cb545eb3
Fixed function feature test for Visual Studio 2012
...
norfanin
Fixes the version check for some functions that are only present with the MSVC 2013 CRT libraries.
I did my testing wrong and failed to see that 2012 doesn't have these functions. Microsoft implemented them in their upcoming 2013 version, though. The attached patch changes it to the check for the next version.
I also removed the HAVE_ITOA because that would require linking with oldnames.lib and it's easier to just let the SDL implementation take over.
2013-10-13 19:51:58 -07:00
Sam Lantinga
4bfb868d6f
Fixed bug 1820 - building SDL as a static library with static runtime doesn't compile/link with visual studio
...
norfanin
Adds a condition so only the MSVC 2012 compiler defines the macros for the functions of its version.
Attaching a patch that adds a condition so that the HAVE_X supported by MSVC 2012 only get defined with that compiler. MSVC 2008 and 2010 will then build without any modification to the SDL source code.
Also moved HAVE_M_PI to a separate check. The Microsoft headers require _USE_MATH_DEFINES to be defined before they define the constants.
2013-09-28 10:30:51 -07:00
Ryan C. Gordon
8fe1cf47f2
Added SDL_GetBasePath() and SDL_GetPrefPath() in new filesystem module.
2013-08-20 19:57:11 -04:00
Sam Lantinga
85f91bdb30
Added a comment to say why C runtime is off by default
2013-05-26 16:08:15 -07:00
Sam Lantinga
c5701fe360
Don't use the C runtime library on Windows, to avoid C runtime dependencies and manifest issues.
2013-05-26 15:50:20 -07:00
Sam Lantinga
1e9722a016
Don't assume the XAudio2 APIs will never be available
2013-05-26 11:39:19 -07:00
Sam Lantinga
0d9b661db8
File style cleanup for the SDL 2.0 release
2013-05-18 14:17:52 -07:00
Sam Lantinga
019c60c1e8
Happy New Year!
2013-02-15 08:47:44 -08:00
Sam Lantinga
6265362318
The latest version of MinGW-w64 has the necessary headers and libraries: http://mingw-w64.sourceforge.net/
2012-12-22 11:23:18 -08:00
Sam Lantinga
9090fb9b4c
Make it possible to build a DLL with mingw that's ABI compatible with Visual C++ built applications
2012-10-20 00:14:58 -07:00
Ryan C. Gordon
b3b40aac16
Removed Windows CE support from SDL 2.0.
...
It's a long-dead platform, and we don't have any way to build for, test, or
maintain it, so there's no sense in doing acrobatics to support it.
If you need Windows CE support, use SDL 1.2. If you need Windows Phone support,
send SDL 2.0 patches for the newer Windows Mobile platform.
2012-09-15 10:59:39 -04:00
Sam Lantinga
e256711bb9
Happy New Year!
2011-12-31 09:28:07 -05:00
Ryan C. Gordon
854a2e9098
Implemented XAudio2 target for Windows (and Xbox360, theoretically!).
2011-08-04 01:07:09 -04:00
Ryan C. Gordon
7de8cc401e
Reworked Windows waveOut code.
...
Implemented multi-device support, changed name to "winmm".
2011-08-04 01:24:22 -04:00
Sam Lantinga
6196aa221e
SDL 1.3 is now under the zlib license.
2011-04-08 13:03:26 -07:00
Sam Lantinga
f0c424685b
SDL 1.3 requires a 64-bit type for the platform.
2011-03-25 13:47:49 -07:00
Sam Lantinga
a2cdcf5486
Happy 2011! :)
2011-02-11 22:37:15 -08:00
Sam Lantinga
f9ebc0527f
Removed more partially functional renderers
2011-01-31 22:53:45 -08:00
Sam Lantinga
096a6b8d79
Removed partially functional renderers
2011-01-31 22:21:29 -08:00
Sam Lantinga
57ac355cb5
Fixed bug #1100
...
Test the video features with #if instead of #ifdef
2011-01-24 17:38:18 -08:00
Sam Lantinga
ec39fffe84
Fixed compiling on Windows Mobile SDK 5.0 with Visual Studio 2008
2011-01-24 15:46:11 -08:00
Sam Lantinga
08ad787807
Fixed bug #925
...
Changed "win32" to "windows"
2011-01-20 18:04:05 -08:00