Salman Ahmed
e07402105e
Bump projects to .NET 6 and add DllImport
resolver for iOS
2023-03-08 11:51:55 +03:00
Emir Cengiz
56be43cd7b
Add SDL2_image.cs
2022-05-27 08:18:40 +03:00
Dean Herbert
36ca8b2802
Merge branch 'flibitijibibo/master'
2022-05-09 19:01:28 +09:00
Ethan Lee
34338dfab2
2.0.22
2022-05-01 11:55:31 -04:00
Ethan Lee
b35aaa494e
2.0.20 changes
2022-01-10 16:07:17 -05:00
Ethan Lee
f62950eae7
SDL2_gfx tabbing/license cleanup
2021-12-17 13:00:01 -05:00
Refrag
0a8a135a34
SDL2_gfx library bindings ( #230 )
2021-12-17 12:57:53 -05:00
Caleb Cornett
298a725adb
Update for 2.0.18 ( #229 )
2021-11-30 12:27:41 -05:00
Dean Herbert
0c6e7ac1a2
Merge branch '2.0.18'
2021-11-23 17:32:21 +09:00
Susko3
9a854009f0
Add SDL_HINT_IME_SHOW_UI
...
SDL 2.0.18 doesn't exist yet, but I'm guessing https://github.com/libsdl-org/SDL/pull/4707
will make it in.
That PR is already included in our current libs.
2021-11-20 20:53:30 +01:00
Caleb Cornett
80841ecef0
Update for 2.0.18
2021-11-19 14:01:58 -05:00
Jeremy Sayers
4e9088b49d
Add Mix_GetError, Mix_SetError, Mix_ClearError
...
Adding `Mix_GetError`, `Mix_SetError`, `Mix_ClearError` as per the SDL_mixer header file:
/* We'll use SDL for reporting errors */
#define Mix_SetError SDL_SetError
#define Mix_GetError SDL_GetError
#define Mix_ClearError SDL_ClearError
2021-11-14 12:51:37 -05:00
Jeremy Sayers
db935863bb
Add TTF_GetError and TTF_SetError
...
Adding some missing functions to SDL2_ttf that are just wrappers of the `SDL_GetError` and `SDL_SetError` as per the SDL_ttf header:
```
/* We'll use SDL for reporting errors */
#define TTF_SetError SDL_SetError
#define TTF_GetError SDL_GetError
```
2021-11-14 12:45:23 -05:00
s341507
ec5e8d8357
Fixed field type of ctouchpad and csensor in SDL_Event.
2021-11-03 10:09:07 -04:00
Caleb Cornett
5df88baf4b
Add missing EntryPoint for SDL_AndroidShowToast
2021-11-02 15:20:30 -04:00
Esme
904eed3cb0
Fix typo in version comment
2021-08-16 14:35:27 -04:00
Mary
931d5fc06e
Add multiple missing pointer overloads
...
THis adds some missing overloads that Ryujinx uses.
Changelog:
- Add a new overload of SDL_MixAudioFormat to allow passing raw pointers
as dest and src (useful for usage with SDL_AudioSpec's callback).
- Add a new overload of SDL_OpenAudioDevice to allow passing null for
the device parameter.
- Add a new overload of SDL_Vulkan_GetInstanceExtensions to allow
passing null for the pName parameter.
2021-08-14 06:24:16 -04:00
Dean Herbert
c94f27fa40
Merge branch 'flibitijibibo/master'
2021-08-11 11:59:58 +09:00
Caleb Cornett
09716fcbc2
Update to 2.0.16
2021-08-10 15:49:29 -04:00
wanderer06
d5e1e56983
Add NULL overload to SDL_SetWindowDisplayMode
2021-08-04 16:58:59 -04:00
Ethan Lee
b2ed029f11
Woops, an internal function was public
2021-07-13 16:46:43 -04:00
Ethan Lee
8c25be5b12
Free GameControllerMapping return values
2021-06-29 15:56:23 -04:00
Dean Herbert
42709cf78f
Merge branch 'flibitijibibo/master'
2021-06-06 23:24:51 +09:00
Ethan Lee
00c94a24eb
Allow Utf8EncodeHeap to return NULL, clean up Utf8Size
2021-05-15 09:58:00 -04:00
Ethan Lee
e316ae5cfd
Give the heap-allocated Utf8Encode a unique function name
2021-05-15 09:47:28 -04:00
Ethan Lee
a234470e39
Make all UTF8 conversions nullable.
...
Trying to avoid null strings was far too invasive and kept creating bugs in the wrapper, and the wrapper should not have enough code to create bugs in the first place.
2021-05-15 09:10:02 -04:00
Ethan Lee
e8bf894c31
Try to fix use of C long in TTF_FontFaces
2021-04-19 11:54:43 -04:00
Dean Herbert
186a34554d
Merge branch 'flibitijibibo/master'
2021-03-30 11:21:03 +09:00
Mary
800ae50c84
Add some missing hints from 2.0.14 and minor correctness updates
...
This is based on my update to 2.0.14 I did based on ppy's fork.
Even if what I did in the end was duplicate compared to upstream, I found some differences and missing bits.
This commit is here to address those missing bits.
2021-03-29 16:06:26 -04:00
Dean Herbert
dc028d0497
Merge branch 'flibitijibibo/master' into merge-upstream
2021-03-29 16:45:52 +09:00
Ethan Lee
53026deb22
Fix some native memory leaks in the newer functions
2021-03-13 16:13:27 -05:00
Ethan Lee
22301b61f4
Fix SDL_LoadFile signature
2021-02-03 11:00:31 -05:00
ameliadiedrich
21ec9cecad
Added SDL_VIDEO_X11_NET_WM_BYPASS_COMPOSITOR Hint
2021-01-27 10:34:02 -05:00
Ethan Lee
1e01bc8eeb
Happy New Year!
2021-01-01 11:32:54 -05:00
Ethan Lee
332667f37b
Fix return type for GameControllerGetSensorData
2020-12-22 02:01:34 -05:00
Caleb Cornett
4eab64f274
Updates for SDL 2.0.14 ( #210 )
2020-12-21 23:55:22 -05:00
Ethan Lee
0287457930
Fix my terrible LoadWAV signature
2020-11-15 10:46:01 -05:00
Jeremy Sayers
5966578e82
Added IMG_GetError and IMG_SetError wrapping calls to SDL_GetError and SDL_SetError to keep SDL2_image.cs consistent with SDL2_image.h
2020-10-29 09:07:30 -04:00
Chad Yates
e95ef4e98a
Fix buffer overflow.
2020-06-23 05:41:44 -04:00
Caleb Cornett
b253a810e0
Add padding to SDL_Event
2020-06-12 23:00:32 -04:00
Caleb Cornett
f4d713f651
ExternalStorageState -> ExternalStoragePath
2020-06-12 16:46:39 -04:00
Ethan Lee
a31694d145
F# keyword fix
2020-06-08 09:59:03 -04:00
Ethan Lee
3e7eaf9d5b
Added checks for null UTF8 inputs
2020-05-28 10:40:21 -04:00
Ethan Lee
c782115e7f
Minor style fixes, UTF8 update for mixer/ttf
2020-05-21 10:24:46 -04:00
Chad Yates
040d39b4a5
Avoid string and byte[] allocation when converting to UTF8 native string ( #192 )
2020-05-21 10:00:19 -04:00
Shane Woolcock
849d398070
Remove SDL2 extensions
2020-04-15 17:36:00 +09:30
Caleb Cornett
8d0760016b
SDL 2.0.12 Update ( #167 )
...
* Add SDL_Metal APIs
* Added LockTextureToSurface functions
* Add SDL_HasARMSIMD and SDL_GameControllerType enum/functions
* Updated enum names, added missing macros, added new hints
* Added Get/SetPlayerIndex functions
* Standardize comment format
* Added SDL_Get/SetTextureScaleMode
* TTF updates
* Added IMG_Animation API to SDL_image
* SDL_mixer updates
* Add SDL_BLENDMODE_MUL
* Added hints and SDL_GetAndroidSDKVersion
2020-03-10 16:41:58 -04:00
Todd York
11064cc128
Add SDL_SysWMinfo.info.win.hinstance
2020-03-10 09:57:44 -04:00
Ethan Lee
6cb034a649
Expose SDL_memcpy
2020-01-19 10:57:16 -05:00
Ethan Lee
6a28ae8594
Fix SDL_AndroidGetExternalStorageState EntryPoint
2020-01-08 12:46:35 -05:00