Commit graph

11847 commits

Author SHA1 Message Date
Ryan C. Gordon
bafcc3737f configure: Regenerate configure script with the ARM SIMD/NEON changes. 2019-10-24 21:51:55 -04:00
Ryan C. Gordon
91539a1f69 configure: warn about MIT-licensed code if using ARM SIMD/NEON optimizations. 2019-10-24 21:41:03 -04:00
Ben Avison
e11544c11b ARM: NEON assembly optimization for SDL_FillRect
--HG--
extra : histedit_source : 05adff24c257ab385f7d3887c3a7ff9bd7bd86ff
2019-10-24 21:17:52 -04:00
Ben Avison
0b04ebbcf7 ARM: NEON assembly optimization for function BlitARGBto565PixelAlpha
--HG--
extra : histedit_source : 020eebc551604aef16e5a21e92a9b23a969393af
2019-10-24 21:17:38 -04:00
Ben Avison
3f069f458c ARM: NEON assembly optimization for function BlitRGBtoRGBPixelAlpha
--HG--
extra : histedit_source : 0c4202e02cbd677a99c1606ac622ef27e28923c1
2019-10-24 21:17:19 -04:00
Ben Avison
7ddb7981d8 ARM: Create configure option --enable-arm-neon to govern assembly optimizations
--HG--
extra : histedit_source : ae8cebdb416b6b808acab37128921d82105079cc
2019-10-24 21:17:05 -04:00
Ben Avison
ea3d342c44 ARM: SIMD optimization for 4:4:4:4 to 8:8:8:8 normal blits
--HG--
extra : histedit_source : c47e6317d65d0045a8d001fd2d43be99424ff614
2019-10-24 21:15:50 -04:00
Ben Avison
0245b373e7 ARM: assembly optimization for SDL_FillRect
--HG--
extra : histedit_source : a59d74607d4133873e77d6f4b5f046f692d8d488
2019-10-24 21:15:35 -04:00
Ben Avison
38dfe93240 ARM: SIMD assembly optimization for BGR-to-RGB 32bpp normal blits
--HG--
extra : histedit_source : 2030ded3092783d6be7055a136000b3ba5fcfb24
2019-10-24 21:15:21 -04:00
Ben Avison
194b20bc56 SDL_blit: use a named enum for required hardware bits in dispatch tables
--HG--
extra : histedit_source : 21b83b72797307b338b44027826dca63883bac72
2019-10-24 21:15:09 -04:00
Ben Avison
7b74f8dff2 ARM: SIMD assembly optimization for function BlitARGBto565PixelAlpha
--HG--
extra : histedit_source : 5fe9e97bc4fec9a85a801ede31daa2b5b4677a87
2019-10-24 21:13:56 -04:00
Ben Avison
1362ca2643 ARM: SIMD assembly optimization for function BlitRGBtoRGBPixelAlpha
Much of the heavy lifting of this optimization is lifted from the Pixman
project, which is distributed under an MIT-style license. As far as possible,
these elements have been relicensed to the zlib license.

--HG--
extra : histedit_source : c1e93e49cf2981be109d535558693e49452875bc
2019-10-24 21:13:05 -04:00
Ben Avison
fd7508ad61 ARM: Create configure option --enable-arm-simd to govern assembly optimizations
--HG--
extra : histedit_source : 12ab7dd2b55b3aea44b60ad153a73bd41d81f3fb
2019-10-24 21:12:08 -04:00
Alex Szpakowski
789caa7e85 macOS: Expose high dpi-capable display modes on macOS 10.13+.
Fixes an issue in macOS 10.15 where the displayed content would move up after entering, exiting and re-entering exclusive fullscreen when certain display modes were used (bug #4822).
Bug #3949 is also related to this change.
2019-10-24 20:15:54 -03:00
Sylvain Becker
5960887968 Fixed bug 2014 - Hardcoded srcA value in SDL_Blit_auto.c functions 2019-10-24 18:07:30 +02:00
Sylvain Becker
8bd87ca117 Fixed bug 4775 - Japanese on Android, remove inputtype PASSWORD (Thanks Tamo!) 2019-10-23 11:25:16 +02:00
Sylvain Becker
4cd69969d5 Android: remove eglGetProcAdded busted comment (bug #4040) 2019-10-23 11:07:11 +02:00
Sylvain Becker
00bccb9baf Fixed bug 4843 - Passing NULL to memset in SDL_PrivateLoadButtonMapping
(Thanks!)
2019-10-23 09:53:23 +02:00
Sylvain Becker
4f84eb70f2 Fixed bug 4842 - Redundant condition in MS_ADPCM_Decode and IMA_ADPCM_Decode
(Thanks!)
2019-10-23 09:36:41 +02:00
Sylvain Becker
71fd3d0433 Fixed bug 4840 - Read of uninitialized memory in DXGI_LoadDLL (Thanks!) 2019-10-23 09:26:27 +02:00
Sylvain Becker
a5f949624b Fixed bug 4839 - Read of uninitialized memory in Win32_ResizeWindowShape
(Thanks!)
2019-10-23 09:17:53 +02:00
Sylvain Becker
9112e9155b Fixed bug 4841 - Misplaced parenthesis WIN_WindowProc / WM_ACTIVATE / ClipCursor
(Thanks!)
2019-10-23 08:58:52 +02:00
Sylvain Becker
b9bcc1c105 Fixed bug 4838 - Use after free in SDL_JoystickUpdate (Thanks!) 2019-10-23 08:50:57 +02:00
Sylvain Becker
e2b5420f85 Fixed bug 4837 - Use after free in SDL_SensorUpdate (Thanks!) 2019-10-23 08:46:59 +02:00
Sam Lantinga
07141746e7 Fixed accidental whitespace 2019-10-22 15:43:58 -07:00
Sam Lantinga
87cff63608 Added support for the Power A Nintendo Switch Enhanced Wireless Controller 2019-10-22 10:57:07 -07:00
Sam Lantinga
e5f86fa1d6 Reordered Power A Switch controllers so they're grouped together 2019-10-22 10:28:51 -07:00
Sam Lantinga
c64f8c4d86 Added support for the PowerA - Super Mario Controller 2019-10-22 10:27:30 -07:00
Sam Lantinga
be53132dcd Fixed the location of controller_type.h in the Visual Studio project 2019-10-22 10:26:49 -07:00
Sam Lantinga
031a236456 Fixed the location of controller_type.h in the Visual Studio project 2019-10-22 10:25:55 -07:00
Ozkan Sezer
0841f17433 SDL_endian.h: Use endian.h for OpenBSD.
Patch from OpenBSD CVS, authored by Donovan Watteau.
2019-10-21 22:22:28 +03:00
Ozkan Sezer
c4ca9ebdfe Fix typo with __MIPSEB__ preprocessor check (bug #4836.)
Patch from Simon Howard
2019-10-21 10:20:25 +03:00
Ryan C. Gordon
4ead2b39e3 cpuinfo: Use a better default alignment value (thanks, Simon!).
Fixes Bugzilla #4835.
2019-10-20 22:17:59 -04:00
Sam Lantinga
3dc2e8c3e4 Don't try to use the Xbox HID protocol with the NVIDIA Shield controllers 2019-10-19 01:54:02 -07:00
Sylvain Becker
de4af62f3c remove warning prototype SDL_ExitProcess() 2019-10-19 09:23:40 +02:00
Ozkan Sezer
ab6cd0c600 updated includes for _exit() 2019-10-18 23:10:00 +03:00
Sylvain Becker
a149de6a0c Add internal function SDL_EGL_GetVersion() 2019-10-18 21:47:30 +02:00
Sam Lantinga
60332ec10f Fixed whitespace 2019-10-18 08:56:54 -07:00
Sylvain Becker
382e3d8ad2 Fixed bug 4829 - Sensor events incorrectly disabled 2019-10-18 14:23:37 +02:00
Sylvain Becker
8c775d077e Android: enable eglGetProcAddress (bug #4040, bug #4794) 2019-10-18 14:08:07 +02:00
Sylvain Becker
d6be3ee5f7 Add robustness getting the EGL version (see bug #4040) 2019-10-18 13:27:58 +02:00
Ryan C. Gordon
1cb064bf31 egl: adjust how we load symbols in SDL_EGL_GetProcAddress.
Use eglGetProcAddress for everything on EGL >= 1.5. Try SDL_LoadFunction first
for EGL <= 1.4 in case it's a core symbol, and as a fallback if
eglGetProcAddress fails. Finally, for EGL <= 1.4, fallback to
eglGetProcAddress to catch extensions not exported from the shared library.

(Maybe) Fixes Bugzilla #4794.

--HG--
extra : rebase_source : 8288f8901eaf2ddbcd6bfac126ddcc748df1078f
2019-10-18 00:07:32 -04:00
Sam Lantinga
a7975649c6 Added support for the BDA PS4 Fightpad 2019-10-17 18:07:52 -07:00
Sam Lantinga
4a36e96ef3 Build fix for the build fix 2019-10-17 17:51:36 -07:00
Sam Lantinga
2d0a540be2 Better fix for iOS build 2019-10-17 17:51:49 -07:00
Sam Lantinga
fc07d41949 Fixed build on iOS 2019-10-17 17:47:27 -07:00
Sam Lantinga
d6b20b4c53 Removed unused variable 2019-10-17 17:47:11 -07:00
Sam Lantinga
0fdabf6b9c Added the hint SDL_HINT_GAMECONTROLLER_USE_BUTTON_LABELS to control whether Nintendo Switch controllers use their button labels or button positions for game controller button reporting. 2019-10-17 17:32:47 -07:00
Sam Lantinga
616ae77ef2 Added support for third party Nintendo Switch controllers that don't support the full protocol 2019-10-17 16:59:05 -07:00
Sam Lantinga
1568d44648 Merged latest data from Steam 2019-10-17 16:14:17 -07:00