2d10a3f2b9
The dummy video driver check is now covered by explicitly checking for cocoa above.
Sam Lantinga
2017-08-29 22:24:59 -07:00
92bf608527
Fixed bug 3616 - SDL_GL_CreateContext fails with SDL_GL_CONTEXT_DEBUG_FLAG and ANGLE/GLES 2.0
Sam Lantinga
2017-08-29 22:04:43 -07:00
8fc1fb0805
Fixed bug 3719 - Cocoa - Incorrect window size when leaving fullscreen
Sam Lantinga
2017-08-29 21:42:22 -07:00
846a9ab95e
test: forgot to change a variable.
Ryan C. Gordon
2017-08-29 18:25:55 -04:00
4fc0163853
test: Fix for negative int that was now a size_t (thanks, Ozkan!).
Ryan C. Gordon
2017-08-29 18:16:38 -04:00
21e32bac10
egl: Cast to size_t, in case platform's NativeDisplayType isn't a pointer.
Ryan C. Gordon
2017-08-29 16:30:49 -04:00
eb3c66d3c8
A few more compiler warnings fixed.
Ryan C. Gordon
2017-08-29 16:05:03 -04:00
ae667da638
Fixed a bunch of compiler warnings.
Ryan C. Gordon
2017-08-29 15:52:49 -04:00
629f8abab4
Updated documentation, you don't need to initialize the audio subsystem to do in-place format conversion. (Thanks Simon Hug!)
Sam Lantinga
2017-08-29 09:02:04 -07:00
abf8fc4c01
Fixed check for Mac OS X 10.11+ SDK (thanks Edward Rudd!)
Sam Lantinga
2017-08-29 08:27:23 -07:00
2d655cd814
MAC_OS_X_VERSION_MAX_REQUIRED isn't actually set in recent Xcode versions
Sam Lantinga
2017-08-29 02:32:53 -07:00
737ed973cb
Removed Metal and QuartzCore frameworks which aren't needed for Vulkan support
Sam Lantinga
2017-08-29 01:04:48 -07:00
c684eb2cde
Add a way to set the context when other activities are active so many SDL API functions still work.
Sam Lantinga
2017-08-28 23:04:47 -07:00
130138fa59
Fixed bug 3785 - fix windows build after revision 11382
Sam Lantinga
2017-08-28 22:44:48 -07:00
c0530bcdf3
We removed QuartzCore link dependency in commit 5be6badaf7e1
Sam Lantinga
2017-08-28 22:42:41 -07:00
8ac85744cd
Fixed Vulkan configure check for Android and added one for Mac OS X
Sam Lantinga
2017-08-28 22:36:45 -07:00
90b38a5d61
Fixed bug 3786 - building against a Mac OS X SDK < 10.11 fails since the vulkan merge
Sam Lantinga
2017-08-28 22:13:45 -07:00
d619d88560
Fixed bug 3662 - Error message when using the audio conversion setup without an initialized audio subsystem is a bit vague
Sam Lantinga
2017-08-28 21:42:39 -07:00
b128e8802d
audio: A whole bunch of improvements to audio conversion (thanks, Solra!).
Ryan C. Gordon
2017-08-29 00:41:45 -04:00
620f5342b5
stdlib: An implementation of SDL_scalbn using ldexp() (thanks, Ozkan!).
Ryan C. Gordon
2017-08-29 00:36:17 -04:00
a0cd7d6bce
audio: Converting audio samples from int to float was using wrong equation.
Ryan C. Gordon
2017-08-29 00:02:04 -04:00
1067b528d3
Fixed building with an older Mac OS X SDK
Sam Lantinga
2017-08-28 20:52:05 -07:00
e8b114ecfc
Vulkan support on Mac OS X introduces a link time dependency (CAMetalLayer) on 10.11 and newer
Sam Lantinga
2017-08-28 19:32:08 -07:00
309474765b
We don't need the VULKAN_SDK to build SDL with Vulkan support anymore
Sam Lantinga
2017-08-28 19:30:59 -07:00
09e43d450f
Added missing Visual Studio 2010 project for testvulkan
Sam Lantinga
2017-08-28 17:28:09 -07:00
aa85436ec7
Fixed compile warning
Sam Lantinga
2017-08-28 14:45:19 -07:00
da84c3bf6e
Added a log message for nativeRunMain()
Sam Lantinga
2017-08-28 14:44:21 -07:00
60182eb71b
Allow overriding the main entry point on Android
Sam Lantinga
2017-08-28 14:40:21 -07:00
dbb0a2aa74
Removed the need for libSDL2main.a on Android, and separated JNI initialization out for other integrations
Sam Lantinga
2017-08-28 14:34:15 -07:00
9341589925
Removed unneeded Vulkan symbol definitions
Sam Lantinga
2017-08-28 13:40:32 -07:00
2a945b44cb
Fixed bug 2361 - [Android] Joysticks do not have unique IDs
Sam Lantinga
2017-08-28 10:03:39 -07:00
c45932ba7e
Fixed bug 2277 - Hardware keyboard control key sequences don't get reported
Sam Lantinga
2017-08-28 09:54:16 -07:00
0560544d1c
Fixed 3783 - Default libGL path for directFB on Linux differs from x11 path
Sam Lantinga
2017-08-28 09:51:25 -07:00
d28cb702e4
Fixed bug 3781 - unbalanced #pragma pack(pop) in close_code.h
Sam Lantinga
2017-08-28 09:41:00 -07:00
959ae9019d
Instantiate the CAMetalLayer so SDL_Vulkan_CreateSurface() doesn't fail Error message was: [mvk-info] MoltenVK version 0.18.2. Vulkan version 1.0.51. [***MoltenVK ERROR***] VK_ERROR_INITIALIZATION_FAILED: On-screen rendering requires a view that is backed by a layer of type CAMetalLayer. 2017-08-28 02:17:29.579 testvulkan[95627:1716939] ERROR: SDL_Vulkan_CreateSurface(): vkCreateMacOSSurfaceMVK failed: VK_ERROR_INITIALIZATION_FAILED
Sam Lantinga
2017-08-28 02:30:41 -07:00
6dd3f55d55
Fixed WinRT build after changing the header guard preprocessor symbol
Sam Lantinga
2017-08-28 01:59:53 -07:00
ff8d2e1493
Fixed build when Wayland is dynamically loaded
Sam Lantinga
2017-08-28 01:42:18 -07:00
edaa0ef53f
Fixed analyzer warning "Call to 'calloc' has an allocation size of 0 bytes"
Sam Lantinga
2017-08-28 00:54:02 -07:00
3c7f9d692a
Fixed redefinition of typedef warnings and errors on BSD
Sam Lantinga
2017-08-28 00:51:14 -07:00
50efbda736
Fixed mingw Windows build, since SDL_vulkan_internal.h includes windows.h
Sam Lantinga
2017-08-28 00:43:14 -07:00
0d011ec66d
Renaming of guard header names to quiet -Wreserved-id-macro
Sam Lantinga
2017-08-28 00:22:23 -07:00
ce2b16445e
Be clear that disabling Vulkan surface support disables the entire SDL Vulkan integration
Sam Lantinga
2017-08-28 00:11:38 -07:00
5cd1a95910
Fixed Android build with Vulkan support
Sam Lantinga
2017-08-27 23:53:09 -07:00
0cebef607b
Fixed code style for new Vulkan API functions
Sam Lantinga
2017-08-27 23:39:55 -07:00
ea91908e95
Fixed Android ABI check to match vulkan/vk_platform.h
Sam Lantinga
2017-08-27 23:39:38 -07:00
34bdee53c6
Make the androidbuildlibs.sh script executable
Sam Lantinga
2017-08-27 23:31:31 -07:00
37ce9f2773
Fixed typedef redefinition errors when including both SDL_vulkan.h and vulkan.h You should always include vulkan/vulkan.h first, then include SDL_vulkan.h
Sam Lantinga
2017-08-27 23:13:15 -07:00
9da4717d12
Fixed Windows warning
Sam Lantinga
2017-08-27 22:36:03 -07:00
82ffabc86a
Fixed Android build
Sam Lantinga
2017-08-27 22:34:15 -07:00
24a0d3bc6d
Don't define Vulkan types if vulkan.h has already been included
Sam Lantinga
2017-08-27 22:27:45 -07:00
1f2e151b44
Added Vulkan support to the Visual Studio 2010 solution
Sam Lantinga
2017-08-27 22:20:17 -07:00
213356cd6f
Don't need the Vulkan SDK for the Visual Studio 2008 project anymore
Sam Lantinga
2017-08-27 21:55:31 -07:00
ded5b3a4b4
Fixed crash at shutdown if the window couldn't be created
Sam Lantinga
2017-08-27 21:05:18 -07:00
071e101837
We use the SDL Vulkan headers
Sam Lantinga
2017-08-27 20:41:48 -07:00
eb5392ad61
Added the new Vulkan API functions to exported functions
Sam Lantinga
2017-08-27 20:41:29 -07:00
c722e58d1f
vulkan: Include a copy of vulkan.h and vk_platform.h.
Ryan C. Gordon
2017-08-27 23:25:12 -04:00
803fd6d526
Use SDL_Vulkan_GetDrawableSize() instead of SDL_GL_GetDrawableSize()
Sam Lantinga
2017-08-27 19:32:08 -07:00
25e3a1ec90
vulkan: Initial Vulkan support!
Ryan C. Gordon
2017-08-27 22:15:57 -04:00
8e7998e19d
Fixed bug 3710 - SDL_OpenAudio(desired, obtained) doesn't update desired's size when obtained is NULL
Sam Lantinga
2017-08-27 19:10:30 -07:00
003d491f86
Fixed bug 3724 - Allow Angle Static Link
Sam Lantinga
2017-08-27 19:05:57 -07:00
aad997fc9f
Fixed bug 3740 - atexit() in test/testime.c
Sam Lantinga
2017-08-27 19:00:03 -07:00
b7c5d15152
SDL_dynapi.c: add missing SDLCALL to macros.
Sam Lantinga
2017-08-27 18:53:30 -07:00
a38f127e88
Swapped conditional arguments for standard SDL readability
Sam Lantinga
2017-08-27 18:52:43 -07:00
30fe9a6799
SDL_dynapi.h: revert commit ee88fe3e353e in order to enable dynapi
Sam Lantinga
2017-08-27 18:49:36 -07:00
50d3fe21aa
SDL_dynapi_procs.h: adjust SDL_CreateThread for os/2
Sam Lantinga
2017-08-27 18:49:11 -07:00
bf1268287d
SDL_thread.h: fix os/2 defines (rev 11340:2688d85b817c was a missing patch)
Sam Lantinga
2017-08-27 18:48:51 -07:00
fe21a74763
Fixed bug 2266 - please add notifications for clipboard updates on Android
Sam Lantinga
2017-08-27 18:43:52 -07:00
6885bc88bf
Fixed bug 2265 - Voice to text feature on Android repeats some text via SDL_TEXTINPUT
Sam Lantinga
2017-08-27 18:36:54 -07:00
5ca0152218
Fixed bug 3774 - Cmake build fails for Android
Sam Lantinga
2017-08-26 21:17:12 -07:00
bbd9acdddb
Add support for GameSir G4s
Patrice Mandin
2017-08-26 21:20:20 +02:00
73f866cf0a
windows: Attempt to make Visual Studio not hardcode a call to memset().
Ryan C. Gordon
2017-08-25 15:16:39 -04:00
e58c7920bf
x11: Patched to compile with DEBUG_XEVENTS defined.
Ryan C. Gordon
2017-08-25 12:51:42 -04:00
8c39d1d0b5
OS/2: fixed inverted logic bug (thanks, Ozkan!).
Ryan C. Gordon
2017-08-25 12:27:18 -04:00
2213077a95
OS/2: proper fix for dynapi (thanks, Ozkan!).
Ryan C. Gordon
2017-08-25 11:31:12 -04:00
685890a229
Fix KHR_no_error support
Ethan Lee
2017-08-24 22:57:42 -04:00
d8fc70ea1e
opengl: add support for GL_KHR_no_error.
Ryan C. Gordon
2017-08-24 21:30:53 -04:00
a3890ff6d7
dynapi: fill in OS/2 loading code (thanks, Ozkan!).
Ryan C. Gordon
2017-08-22 15:50:39 -04:00
17453d495a
x11: Move screen_w/h inside the only ifdef they are referenced in to avoid compiler warnings
Brandon Schaefer
2017-08-21 23:44:46 -07:00
a6dc4ed568
kmsdrm: Remove moved file
Brandon Schaefer
2017-08-21 17:22:00 -07:00
f6ad070b82
SDL_dynapi.h: disable dynapi for os/2.
Sam Lantinga
2017-08-21 13:00:58 -07:00
b821ded96c
SDL_cpuinfo.c: add os/2 support to SDL_GetCPUCount() and SDL_GetSystemRAM().
Sam Lantinga
2017-08-21 13:00:40 -07:00
f807655b7d
Fixed bug 3761 - Windows non-MinGW cmake build defines HAVE_WCSLCPY and HAVE_WCSLCAT
Sam Lantinga
2017-08-21 11:25:04 -07:00
834ab350e5
Fixed bug 3644 - Wayland touch event support
Sam Lantinga
2017-08-21 11:19:38 -07:00
a78c20ae19
configury: check mmdeviceapi.h and audioclient.h before enabling wasapi.
Sam Lantinga
2017-08-21 11:17:38 -07:00
f5a38f234b
x11: specify event mask for buttons when grabbing pointer (thanks, Stas!).
Ryan C. Gordon
2017-08-21 00:42:06 -04:00
5574b43376
x11: Pass generic XEvents by pointer instead of copying to stack for XInput2.
Ryan C. Gordon
2017-07-31 12:22:18 -04:00
01e0d8fc85
opengl: Add support for [GLX|WGL]_ARB_create_context_robustness.
Ryan C. Gordon
2017-08-19 15:02:03 -04:00
18a6538507
add missing os/2 apientry defs to SDL_opengl.h
Sam Lantinga
2017-08-19 11:15:58 -07:00
30d554e3d6
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.
Sam Lantinga
2017-08-19 03:07:44 -07:00
12d33b33ca
Fixed building with Visual Studio 2017 and the Windows XP toolset if _USING_V110_SDK71_ accidentally gets undefined
Sam Lantinga
2017-08-19 02:23:50 -07:00
148ac5b3cf
Added Matt Styles' tutorial on building SDL for Android with Visual Studio
Sam Lantinga
2017-08-19 00:27:11 -07:00
3d0f521be5
iOS 10: Work around screen bounds orientation bug. Fixes bugs #3465 and #3505.
Alex Szpakowski
2017-08-18 23:23:30 -03:00
2dc5d32fab
Updated version to 2.0.6
Sam Lantinga
2017-08-18 18:16:37 -07:00
bcf0e07107
Added WASAPI audio target to autoconf build process
Sam Lantinga
2017-08-18 17:29:44 -07:00
5c4a45f1cc
cmake: some iOS fixes (don't link to Cocoa or Carbon frameworks).
Ryan C. Gordon
2017-08-18 20:25:14 -04:00
f4011bf081
cmake: added a FIXME for later.
Ryan C. Gordon
2017-08-18 20:00:29 -04:00
8816bb08f9
configure: Apple platforms don't need to build with -fpascal-strings anymore.
Ryan C. Gordon
2017-08-18 19:53:40 -04:00