Commit graph

237 commits

Author SHA1 Message Date
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 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 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 34d66997f0 Finish SDL_timer.h 2014-07-16 10:23:25 -04: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
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
IntelOrca 713e25ab96 Fix SDL_GetKeyFromScancode signature. 2014-03-26 13:14:21 +00:00
Ethan Lee 67f4c81bb3 SDL 2.0.3 2014-03-15 20:37:47 -04:00
Ethan Lee 21ab9a5d69 Added some public RWops entry points. 2014-03-07 11:02:35 -05:00
Ethan Lee f7ba9ab3b7 Ryan added this back. 2014-03-04 11:21:04 -05:00
Ethan Lee a7b2d3de69 Whuh, we already got rid of this... 2014-03-02 17:41:21 -05:00
Ethan Lee 6d0456c99e Double click support from SDL 2.0.2 2014-03-02 07:42:17 -05:00
Ethan Lee 2e719b0650 SDL 2.0.2 update. Includes some extras as well. 2014-03-02 07:36:30 -05:00
babelshift 60454e8878 From libsdl 2.0.2 RC1 notes - The screensaver is now disabled by default, and there is a hint SDL_HINT_VIDEO_ALLOW_SCREENSAVER that can change that behavior. 2014-03-01 22:51:30 -05:00
babelshift a74f245fe6 From libsdl 2.0.2 RC1 notes - Added a hint SDL_HINT_MOUSE_RELATIVE_MODE_WARP to specify whether mouse relative mode should be emulated using mouse warping. 2014-03-01 22:46:13 -05:00
Ethan Lee cbf996466d Happy New Year, wait what day is it 2014-02-10 18:02:40 -05:00
Ethan Lee 6bf1984db9 SDL_BlitScaled name 2014-01-29 07:26:00 -05:00
Ethan Lee 4a37ca4387 Merge from babelshift 2014-01-12 15:18:50 -05:00
babelshift 078ef09a09 Adding missing hint to handle scale quality 2014-01-12 11:19:45 -05:00
Luís Reis 5caa264f85 Added SDL_RenderSetLogicalSize and SDL_RenderGetLogicalSize 2013-11-30 16:05:05 +00:00
Jameson Ernst b5762af567 Bind touch API. Use frameworks on OS X 2013-10-28 13:09:42 -07:00
Ethan Lee 1ffb95fa74 SDL_GetPlatform 2013-10-27 05:02:20 -04:00
David Gow acd92371fc HighDPI support + odds and ends
This patch adds support for the SDL HighDPI stuff (for MacOSX Retina
displays et al), as well as adding a few missing things from SDL 2.0.0
and SDL 2.0.1:
* HighDPI support (hint, window flag, SDL_GL_GetDrawableSize)
* SDL_TICKS_PASSED() macro
* SDL_GL_GetCurrentWindow()
* SDL_GL_GetCurrentContext()
* SDL_HINT_RENDER_DIRECT3D_THREADSAFE
* SDL_HINT_TIMER_RESOLUTION
2013-10-26 11:44:30 +08:00
Ethan Lee d1e5b4d1a0 2.0.1 2013-10-24 02:28:10 -04:00
Ethan Lee f154bab1d8 Add 2.0.1 remark to GetSystemRAM 2013-10-22 22:34:30 -04:00
David Gow cfec5bc59f Merge branch 'sdl2-hg' of https://github.com/flibitijibibo/SDL2-CS
Conflicts:
	src/SDL2.cs
2013-10-23 10:18:48 +08:00
David Gow 85dd4bbb6d Extend filesystem docs, remove LeaveAllocated 2013-10-23 10:16:27 +08:00
Ethan Lee 8facd9f0b0 Merge branch 'sdl2cs-system-ram' of git://github.com/babelshift/SDL2-CS into sdl2-hg 2013-10-22 20:26:23 -04:00
Justin Skiles 861f5b3df6 Fixed trailing space on line 3797. 2013-10-22 20:15:27 -04:00
Justin Skiles 29372e5fa4 Added binding to SDL_GetSystemRAM() in SDL_cpuinfo.h 2013-10-22 19:28:34 -04:00
David Gow 475b9b6787 Add SDL_filesystem.h for SDL 2.0.1 2013-10-22 15:06:27 +08:00
David Gow 15aa82b2df Add SDL_GL_FRAMEBUFFER_SRGB_CAPABLE (SDL bug 1985) 2013-10-21 10:14:24 +08:00
Ethan Lee e7f9b53796 Fix BlitSurface, add BlitSurfaceScaled 2013-09-29 05:45:58 -04:00
Melker Narikka 390a6c2cb3 Remember trailing whitespace? Me neither.
Doesn't touch MiniTK.
Went with a good ol'
	% git ls-files | grep -v MiniTK | xargs -d "\n" -r sed -i 's/[ \t]\+$//g'
2013-09-27 12:39:57 +00:00
thefiddler 58a8d318ac Normalized whitespace (spaces -> tabs) 2013-09-27 11:18:54 +02:00
thefiddler 95f0f58b84 Added SDL_GLcontextFlags enumeration.
The SDL_GLcontextFlags enumeration contains the values that are used in the SDL_GL_SetAttribute(SDL_GL_CONTEXT_FLAGS, ...). This is required for enabling the debug or robustness OpenGL profiles.
2013-09-26 23:03:10 +02:00
Justin Skiles 49f4419656 Forgot to save the file before pushing. Ugh. 2013-09-02 15:20:41 -04:00
Justin Skiles 552a8b5ead Adding overload for SDL_LockTexture to allow IntPtr.Zero in the "rect" parameter. SDL documentation states that passing NULL for this value will lock the entire texture." 2013-09-02 15:18:11 -04:00
Justin Skiles 080f4e6e2b Fixing typo in SDL_TextureAccess enumeration for member SDL_TEXTUREACCESS_STATIC (it was missing an 'S') 2013-09-02 00:16:46 -04:00
Ethan Lee 0b7cd87083 The union is a separate entity. 2013-09-01 16:37:48 -04:00
Ethan Lee 28ad7c171c SDL_GetWindowWMInfo() 2013-09-01 16:30:39 -04:00
Ethan Lee 657c78f956 Only disable 0169 warning where it is needed. And oh, look, it found a bug! 2013-09-01 16:24:44 -04:00
Ethan Lee 72735d2b8d SDL_syswm.h 2013-09-01 16:18:38 -04:00
Ethan Lee 29c51a3f9b Merge pull request #35 from babelshift/sdl2#-xml-docs
Started adding XML comments. This will be a long journey.
2013-08-31 14:54:10 -07:00
Justin Skiles c4bcd17f60 Started adding XML comments. This will be a long journey. 2013-08-31 15:37:23 -04:00
Ethan Lee 41885b1e80 SDL_systimer docs 2013-08-30 00:48:02 -04:00
Justin Skiles dbe1891988 Adding methods to map to SDL_Delay and SDL_GetTicks in SDL_systimer.h 2013-08-29 23:20:39 -04:00