Commit graph

369 commits

Author SHA1 Message Date
tuxuser 93acf5457b Add SDL_UpdateYUVTexture
Add YUV specific UpdateYUVTexture function, available since SDL2 v2.0.1 (https://wiki.libsdl.org/SDL_UpdateYUVTexture)
2018-10-25 14:27:06 -04:00
Ethan Lee 48621907a2 SDL_system.h 2018-10-02 14:17:07 -04:00
Ethan Lee 292c0084a1 dmcs->mcs 2018-09-10 00:12:13 -04:00
Ethan Lee 9743aaef11 Remove .dll suffix from DllImports 2018-09-10 00:04:00 -04:00
Adam Becker 3672e94be5 gitlab-ci integration (#140) 2018-09-09 17:37:49 -04:00
Ethan Lee 0560581774 Missing event enums 2018-09-05 18:32:51 -04:00
shartte f5e19f2114 Add SDL_INIT_EVENTS for SDL_Init 2018-08-06 14:29:10 -04:00
smack0007 48e13433b3 Add overload to SDL_GL_SetAttribute which accepts the SDL_GLprofile enum to prevent having to cast. 2018-07-19 11:53:20 -04:00
Ethan Lee dd6f7face8 Use GetChars return value 2018-06-27 15:43:10 -04:00
Ethan Lee f26b55e8be stackalloc for UTF8_ToManaged 2018-06-27 14:45:27 -04:00
Nabile Rahmani a16e9951f7 Enable the optimise flag in Release configurations. 2018-06-17 10:10:52 -04:00
Ethan Lee 8e0cec49a0 Update PATCHLEVEL 2018-05-05 17:20:00 -04:00
Ethan Lee 03f0431995 __arglist is unsupported by BRUTE and .NET Native 2018-04-29 16:28:03 -04:00
Ethan Lee 99846d578c Fixes found by BRUTE 2018-04-25 11:51:21 -04:00
Ethan Lee 8e75771fca C# you idiot that struct is totally blittable 2018-03-30 11:15:48 -04:00
Ethan Lee 0f768e1c18 Fix SDL_GameControllerButtonBind layout 2018-03-30 10:43:46 -04:00
Ethan Lee bd3b64fe32 Fix for GetCallback function decls 2018-03-22 17:42:55 -04:00
Ethan Lee 9549b1c920 SDL_GL_GetProcAddress(IntPtr) 2018-03-22 17:00:23 -04:00
Ethan Lee 821c6aaf49 SDL_mixer 2.0.2 2018-02-25 11:12:06 -05:00
Ethan Lee c764309ae5 Dear CoreCLR team: Please fix this 2018-02-07 11:44:56 -05:00
Ethan Lee 5ec50891a3 Make ToNative null check similar to ToManaged null check 2018-01-15 21:57:30 -05:00
Keith Holman 77cffe2f92 When a null C# string is passed to UTF8_ToNative(), return a null pointer instead of an empty C string. 2018-01-15 14:18:50 -05:00
Ethan Lee ed4838b75d Typo fix (thanks @bplu4t2f!) 2017-12-16 12:35:32 -05:00
Keith Holman 64e2a93d55 Add bindings for the SDL_AUDIODEVICEADDED and SDL_AUDIODEVICEREMOVED events. 2017-12-05 21:10:32 -05:00
Ethan Lee 396299307f UnmanagedFunctionPointer attributes 2017-11-20 11:42:12 -05:00
Ethan Lee 41a2c5b93d Forgot that these are macros... :( 2017-11-18 20:55:37 -05:00
Ethan Lee 63aeac09ca SDL_image 2.0.2 2017-11-18 20:50:56 -05:00
Ethan Lee 14ef9e4643 WinRT hints 2017-11-14 20:02:35 -05:00
Ethan Lee d9bfc8b16a 2.0.7 2017-10-24 17:47:02 -04:00
Ethan Lee 2c3515f458 Core buildfix 2017-10-19 12:36:51 -04:00
Ethan Lee 795db4433d Replace LPUtf8StrMarshaler with internal UTF8 API 2017-10-19 12:30:01 -04:00
Ethan Lee 5785d3d464 Strip out the XML docs, replace with the basic IntPtr docs where appropriate.
Honestly this just got in the way and people know to refer to SDL's docs anyway.
2017-10-19 10:13:23 -04:00
Ethan Lee 11adade8c2 .NET Core 2.0 support! 2017-10-17 10:47:08 -04:00
Ethan Lee 912569d705 Remove junk from csproj 2017-10-17 10:45:46 -04:00
Ethan Lee 689dcf5342 SDL_WinRTRunApp 2017-10-11 09:15:17 -04:00
Ethan Lee f7dbc10af5 Revert "SDL_GL_SwapWindow now returns int"
This reverts commit cf7a5fa2a1.
2017-10-04 17:14:42 -04:00
Ethan Lee cf7a5fa2a1 SDL_GL_SwapWindow now returns int 2017-10-04 17:11:10 -04:00
Ethan Lee 0da7c81d81 2.0.6 Windows-only hints 2017-09-07 10:41:04 -04:00
Ethan Lee b9939c43e3 Fix TOUCH_MOUSE_EVENTS string 2017-09-07 10:38:49 -04:00
Ethan Lee 776b77c27f 2.0.6 pre-release changes 2017-09-07 10:37:23 -04:00
Ethan Lee 9cdd0079b4 Vulkan parameter type fixes 2017-08-31 20:56:29 -04:00
Ethan Lee dc98059905 ARB_create_context_robustness, KHR_no_error, Vulkan! 2017-08-31 16:21:39 -04:00
Ethan Lee 498a565eda SDL_Joystick/SDL_GameController updates from Hg 2017-07-28 13:21:20 -04:00
Jack Mott 705681d982 overload openaudio to allow null 2017-01-19 16:07:10 -05:00
Jack Mott d03071653d add SDL_UpdateTexture overload
Added an overload for SDL_UpdateTexture so that you can pass a null reference, which is allowed
by the SDL2 spec. Similar pattern already exists for SDL_RenderCopy
2017-01-19 09:45:45 -05:00
Ethan Lee 4ec65bc5a0 SDL_SetWindowInputFocus 2016-11-11 13:40:34 -05:00
Ethan Lee 8a51516de0 Add note about VS debugger silent exit 2016-10-24 17:12:49 -04:00
Ethan Lee a230993c4c 2.0.5 2016-10-20 10:25:04 -04:00
Ethan Lee 6f158b9f79 Fix SDL_BITSPERPIXEL 2016-08-17 15:19:22 -04:00
Ethan Lee cceef27e50 Removed QueryTexturePixels 2016-01-26 08:42:43 -05:00