Commit graph

319 commits

Author SHA1 Message Date
Jameson Ernst b5762af567 Bind touch API. Use frameworks on OS X 2013-10-28 13:09:42 -07:00
Ethan Lee 5b575f02a0 Fix EffectsExtension for lower-level TK. 2013-10-27 15:25:47 -04:00
Ethan Lee 3ce41e80ac Stick to AL.cs style for Buffer 2013-10-27 11:59:56 -04:00
Ethan Lee ac4ac4d299 AL_LOOP_POINTS_SOFT 2013-10-27 07:22:16 -04:00
Ethan Lee 1ffb95fa74 SDL_GetPlatform 2013-10-27 05:02:20 -04:00
Ethan Lee 4b61ff485a Merge pull request #45 from sulix/master
HighDPI support + odds and ends
2013-10-25 22:18:29 -07: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
Ethan Lee 1d1eebb5cc Merge pull request #43 from sulix/master
Add SDL_filesystem.h for SDL 2.0.1
2013-10-22 19:31:40 -07: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 1459270321 AL_EXT_MSADPCM support 2013-10-08 23:50:54 -04: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
Ethan Lee afdfc7e627 Merge pull request #39 from thefiddler/master
Added SDL_GLcontextFlags enumeration.
2013-09-27 05:23:28 -07: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
Ethan Lee 3f2eeba67f Merge pull request #37 from babelshift/sdl-locktexture-allow-null-rect
Adding overload for SDL_LockTexture to allow IntPtr.Zero for "rect" parameter
2013-09-02 13:55:41 -07: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
Ethan Lee 68b9cdcea9 Merge pull request #36 from babelshift/sdl-textureaccess-static-typo-fix
Fixing typo in SDL_TextureAccess enumeration for member SDL_TEXTUREACCES...
2013-09-01 21:22:31 -07: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
Ethan Lee 5b2d1c3aea Right. Like I said. Lunatic. 2013-08-28 06:39:52 -04:00
Ethan Lee 9b86627382 Doc cleanup. Because I am a lunatic. 2013-08-28 06:31:06 -04:00
Ethan Lee eaf552bad0 Merge pull request #33 from babelshift/RenderCopyOverload
Issue #32: Added overload for SDL_RenderCopy method
2013-08-28 03:25:11 -07:00
Justin Skiles ad6e7a7fa8 Added all source/destination null parameter overload variations for RenderCopy. Added function comments to explain their use. Fixed inconsistent tabbing. 2013-08-26 20:16:51 -04:00
Justin Skiles 796e0b9e54 Added overload to SDL_RenderCopy method to allow SourceRectangle to be passed as an IntPtr. This allows developers to pass IntPtr.Zero to take advantage of internal SDL default values for null rectangles. 2013-08-26 18:44:39 -04:00
Ethan Lee 10e0d51f85 Merge pull request #31 from gered/master
fixed reversed const definitions
2013-08-18 11:04:42 -07:00
gered 72dd621577 fixed reversed const definitions
See http://hg.libsdl.org/SDL/file/8f71b590aff6/include/SDL_events.h#l49
2013-08-18 14:01:55 -04:00
Ethan Lee 52931f5c4e Merge pull request #30 from jameson-ernst/master
Changed text input events to byte, added joystick background hint
2013-08-17 18:06:08 -07:00
Jameson Ernst 2d5f572ccf Changed text input events to byte instead of char
Added hint for background joystick events
2013-08-17 17:58:31 -07:00
Ethan Lee 482319f9b0 Grumble, C# structs... 2013-08-10 13:58:57 -04:00
Ethan Lee a9f3447df3 SDL_HapticLeftRight is in upstream! 2013-08-10 13:54:48 -04:00
Ethan Lee 65d95597bb Merge pull request #28 from ollipekka/master
Unified naming conventions with the native library and new enum for SDL_GLpofile.
2013-08-04 00:41:35 -07:00
ollipekka 82aae4d722 Fixed leading whitespace in indent. 2013-08-03 21:41:48 +03:00
ollipekka 70c4d742c8 Unified naming conventions with the native SDL2 library and introduced SDL_GLprofile. 2013-08-03 21:39:08 +03:00