Commit graph

305 commits

Author SHA1 Message Date
George Nemes cd4064203f Remove obsolete unmanaged type (#154) 2019-02-16 09:26:08 -05:00
Axolotl Maid Service 859737b1e1 Add windowID to SDL_DropEvent. 2018-11-28 18:54:49 -05:00
Ethan Lee 65d719a058 Allow DropEvent users to access UTF8_ToManaged 2018-11-27 09:53:36 -05:00
Caleb Cornett 0cd8f85918 Small fix for DisplayEventID 2018-11-18 22:16:20 -05:00
Ethan Lee b5a66888f5 2.0.9 2018-11-11 13:29:58 -05:00
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 9743aaef11 Remove .dll suffix from DllImports 2018-09-10 00:04:00 -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
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 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 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
Ethan Lee 9b6f16a238 SDL_GetDisplayName 2016-01-14 09:52:27 -05:00
Daniel Ratcliffe e3e22902e7 Added bindings for SDL_PowerState and SDL_GetPowerInfo 2016-01-07 22:34:21 +00:00
Ethan Lee c6fa4d1457 Happy New Year! 2016-01-04 11:55:36 -05:00
Ethan Lee d77d831acb Merge from sdl2-hg (2.0.4) 2016-01-04 11:49:39 -05:00
Ethan Lee 23e25a3b2d 2.0.4 2016-01-04 11:49:00 -05:00
Ethan Lee 1efc47ee26 SDL_FillRect overload 2015-12-30 19:16:29 -05:00
Ethan Lee a44c92397d .NET 3.5 fix 2015-12-30 19:14:29 -05:00
Ethan Lee 1c03cdfb2c Minor spacing fixes 2015-12-01 11:13:18 -05:00
Johannes Jacobs c2d58d61d5 Added SDL_RenderCopyEx overloads 2015-12-01 17:03:25 +01:00
Ethan Lee 0532deb9a6 Fix a couple SDL_pixels macros 2015-09-13 16:03:16 -04:00
Ethan Lee c41fcf5b19 Flags type sizes 2015-09-02 07:12:10 -04:00
Ethan Lee 2e9752838d Fix Win32 UTF8 marshaling 2015-07-20 10:03:42 -04:00
Ethan Lee 7f3d91e2e5 Minor API change 2015-07-19 14:31:39 -04:00
Ethan Lee dbffbe778b SDL 2.0.4 RC1 2015-06-13 19:15:08 -04:00
Ethan Lee 83012b9866 Happy New Year, wait what month is it 2015-06-13 18:43:03 -04:00
Elisée 62a28724f2 Fix SDLK_DELETE value: 0177 (octal), 127 (decimal) 2015-06-13 18:43:03 -04:00
Ethan Lee f29dbb7e4d Happy New Year, wait what month is it 2015-05-21 12:54:41 -04:00
Elisée 2748a2f4e2 Fix SDLK_DELETE value: 0177 (octal), 127 (decimal) 2015-01-06 02:11:40 +01:00
Ethan Lee 6ca6862d7e A few SDL2_image RWops funcs 2014-12-27 22:15:02 -05:00
Ethan Lee 07d4d8a494 A few SDL2_image RWops funcs 2014-12-27 22:14:52 -05:00
Ethan Lee a273ea9a18 Render*Rect NULL overloads 2014-12-26 11:16:14 -05:00
David Barnett 7a248e2678 Added SDL_GetRendererOutputSize 2014-12-26 11:16:14 -05:00
Ethan Lee 784cda961f SDL_Render rendertarget funcs 2014-12-26 11:16:14 -05:00
Ethan Lee 9c475e36fa CreateSoftwareRenderer fix 2014-12-26 11:16:14 -05:00
David Barnett 818a5cb6e0 Fix SDL_GetScancodeFromKey signature 2014-12-26 11:16:14 -05:00
Ethan Lee 0834d434ec Render*Rect NULL overloads 2014-12-26 11:16:08 -05:00
David Barnett 19b00a2345 Added SDL_GetRendererOutputSize 2014-12-07 12:55:56 +13:00
Ethan Lee 99f2688d2b SDL_Render rendertarget funcs 2014-12-04 20:01:57 -05:00
Ethan Lee 847df8350b CreateSoftwareRenderer fix 2014-11-18 10:26:32 -05:00
David Barnett 471b3f9658 Fix SDL_GetScancodeFromKey signature 2014-10-26 15:36:18 +13:00
Ethan Lee 9a1f823bca 2.0.4 GUI backend additions 2014-10-18 12:50:39 -04:00
Ethan Lee e395a5114d 2.0.4 mouse additions 2014-10-18 12:39:00 -04:00
Ethan Lee 818830fc3a Overloads for GetMouseState 2014-10-18 12:36:44 -04:00
Ethan Lee df0b8c03d6 SDL_GetVersion can be public 2014-10-08 00:36:27 -04:00
Ethan Lee 92f293416d MiniTK has been removed. 2014-10-07 12:29:29 -04:00
Ethan Lee 34d66997f0 Finish SDL_timer.h 2014-07-16 10:23:25 -04:00
Ethan Lee f284899867 RWops doc fixes 2014-07-07 16:17:56 -04:00
Villermen 1b0674efbe Added comments to publicized method 2014-07-07 22:09:00 +02:00
Villermen 419a25e86d Make Mix_LoadWAV_RW public
It works just fine and other extension libraries have this RW function public too. Why does this one have to be private/internal?
2014-07-07 19:36:41 +02:00
Villermen 3a4bc35646 Added SDL_RenderGetScale and SDL_RenderSetScale
Now with tabs!
2014-06-26 01:16:22 +02:00
Villermen d26d719d76 Added SDL_RenderGetScale and SDL_RenderSetScale 2014-06-26 01:11:11 +02:00
Ethan Lee b8baa22a1b SDL_JoystickIndex was a 1.2 function. 2014-06-24 20:18:08 -04:00
Nick Gravelyn fbe2627fd4 Added SDL_Window[Get/Set]MinimumSize and SDL_Window[Get/Set]MaximumSize. 2014-06-12 22:51:38 -07:00
Ethan Lee ed8c91d2f3 Add Render[Get/Set]ClipRect (thanks Martin!) 2014-06-05 12:10:14 -04:00
Nick Gravelyn 37058ed972 Fixing comments. 2014-05-31 16:43:26 -07:00
Nick Gravelyn 07853258b4 Adding RWops comment 2014-05-31 16:42:33 -07:00
Nick Gravelyn 1c6261532c Added RWops versions of OpenFont to support loading TTFs from memory. 2014-05-31 16:16:28 -07:00
Ethan Lee 48bae22f0e Guid is a thing. Grumble. 2014-05-12 17:34:53 -04:00
Ethan Lee eb23cc18a7 Fix pszGUID string parameter 2014-05-12 15:47:41 -04:00
Ethan Lee a7fe72d17a Fix BlueLine merge 2014-05-05 10:24:26 -04:00
Sean Colombo 4ad42a1e9d Made it so that previous overloads were additional instead of replacements. Should be able to merge this upstream. 2014-05-01 11:44:27 -04:00