Ozkan Sezer
239c8f1f4c
testvulkan.c: fix -Wmissing-braces warnings. also fix whitespace.
2020-12-24 00:28:50 +03:00
Ozkan Sezer
20ca1192d2
testgesture.c: comment out unused drawLine()
2020-12-24 00:26:32 +03:00
Ozkan Sezer
b064028c2d
testatomic.c: fix warnings due to SDL_AtomicDecRef() use
2020-12-24 00:25:40 +03:00
Sylvain Becker
8e20376f1a
SDL_SoftStretchLinear: use SDL_INLINE (bug 5313)
2020-12-23 22:09:01 +01:00
Sylvain Becker
7b8d5b7dc3
SDL_SoftStretchLinear: fix implicit conversion (bug 5313)
2020-12-23 22:02:28 +01:00
Ozkan Sezer
15fea33915
ran gendynapi.pl after addition of SDL_SoftStretchLinear
2020-12-23 23:47:10 +03:00
Sylvain Becker
ae8a270f61
Add SDL_SoftStretchLowerLinear() (Bug 5313)
2020-12-23 21:37:40 +01:00
Sylvain Becker
050ee9a410
Split SDL_SoftStretch in Lower and Uppler functions (Bug 5313)
2020-12-23 21:32:01 +01:00
Manuel Alfayate Corchete
09fcc9ed17
[KMS/DRM][Vulkan] Fix small warning, thanks to Ozkan Sezer for spotting it.
2020-12-23 16:45:23 +01:00
Manuel Alfayate Corchete
a6dc838d52
[KMS/DRM][Vulkan] Only try to create a display mode when no suitable mode is found.
2020-12-23 16:22:46 +01:00
Sam Lantinga
0ed4d92938
Fixed setting player LEDs for PS5 controllers over Bluetooth
2020-12-23 04:53:23 -08:00
Sam Lantinga
6341bb35a5
Fixed controller disconnect detection for PS4 and PS5 controllers over Bluetooth
2020-12-22 21:51:59 -08:00
Sam Lantinga
a30adae567
Make it possible to turn on PS4 rumble effects at runtime using the hint
2020-12-22 20:58:32 -08:00
Sam Lantinga
390b2cf0d3
Enable PS5 enhanced functionality for testgamecontroller
2020-12-22 20:53:27 -08:00
Sam Lantinga
c93947a2cb
Make it possible to turn on PS5 rumble effects at runtime using the hint
2020-12-22 20:12:03 -08:00
Sam Lantinga
058a0ab47f
Set the pad lights on the PS5 controller corresponding to the player index
...
Also allow setting the player index from testgamecontroller using the number keys
2020-12-22 14:38:32 -08:00
Sam Lantinga
6a57072eef
Only add the touchpad and sensors to the PS5 controller if effects are enabled
2020-12-22 14:10:08 -08:00
Sam Lantinga
4ec776c334
Don't switch the PS5 controller out of DirectInput mode by default
2020-12-22 13:29:23 -08:00
Ozkan Sezer
b4b674dabb
CMakeLists.txt: sync DYLIB_CURRENT_VERSION to Xcode project
2020-12-22 22:10:50 +03:00
Sam Lantinga
350f1b0d16
Updated SDL to version 2.0.15 for development
2020-12-22 10:36:15 -08:00
Manuel Alfayate Corchete
13244de5c2
[Buildsystem] Only build KMSDRM support if EGL+OpenGL is detected by CMake.
2020-12-22 17:17:30 +01:00
Ozkan Sezer
a19c008a7f
use GetModuleHandleW() to retrieve kernel32.dll handle (bug #5390.)
...
SDL_systhread.c and SDL_syslocale.c used to call LoadLibrary() without
calling FreeLibrary() later. GetModuleHandleW() should always succeed
because GetModuleHandleW() itself is imported from kernel32.dll and we
don't need to bother releasing it.
2020-12-22 17:10:02 +03:00
Ozkan Sezer
9f655fe522
regenerated configure
2020-12-22 17:03:20 +03:00
Ozkan Sezer
5ad5645757
acinclude/pkg.m4: update from mainstream pkgconfig tree.
2020-12-22 17:01:50 +03:00
Ozkan Sezer
86191351c0
acinclude & sdl2.m4 updates:
...
- acinclude/alsa.m4, esd.m4: Ran through autoupdate to replace several
AC_TRY_[COMPILE|LINK|RUN] with corresponding AC_???_IFELSE , so that
autoconf-2.70 doesn't warn.
- sdl2.m4: Ditto.
- test/acinclude.m4 (sdl2): Ditto.
2020-12-22 17:00:28 +03:00
Ozkan Sezer
f117db5186
sdl2.m4 updates:
...
- remove HP/UX 9 (%@#!) support
- change fopen() mode from "a" to "w" in test code.
- bump its serial num to 2.
- test/acinclude.m4: same sdl2.m4 updates.
2020-12-22 17:00:11 +03:00
Ozkan Sezer
087de97b56
acinclude/esd.m4: update from mainstream esound tree,
...
- revise for better compatibility with new autoconf,
- remove HP/UX 9 (%@#!) support from it,
- replace system("touch conf.esdtest") with fopen/fclose in the
test code (see, e.g. glib-2.0.m4 -- sdl.m4 does the same.)
2020-12-22 17:00:00 +03:00
Ozkan Sezer
15abab9cf8
regenerated configure
2020-12-22 16:25:00 +03:00
Manuel Alfayate Corchete
2fc987c28f
[Buildsystem] Add guards for not building with KMSDRM support if EGL is not available.
2020-12-22 14:15:33 +01:00
Sam Lantinga
05dcec0ae1
Added tag release-2.0.14 for changeset 97dfa8874ea0
2020-12-21 14:43:38 -08:00
Sam Lantinga
4cd981609b
Fixed whitespace
2020-12-21 09:44:25 -08:00
Ozkan Sezer
537f824f38
test/Makefile.os2: wlib must run case-sensitively.
2020-12-21 20:40:10 +03:00
Manuel Alfayate Corchete
8766d6040b
[Video/KMSDRM] Fix potetial access to freed structure and complete errorchecks.
2020-12-21 17:29:24 +01:00
Manuel Alfayate Corchete
b06ef3a18c
[Video/KMSDRM] Manually re-show the cursor on window creation, if needed.
2020-12-21 01:53:11 +01:00
Ozkan Sezer
4198f0e52c
fix uninitialized warnings in KMSDRM_CreateCursor()
2020-12-21 01:20:30 +03:00
Manuel Alfayate Corchete
a8dbcab132
[Video/KMSDRM] Don't copy the cursor bitmap to the cursor GBM BO until we're showing it.
2020-12-20 21:48:05 +01:00
Sam Lantinga
67e9132dd5
Fixed circular dependency problem when building in the test directory
2020-12-20 12:22:28 -08:00
Sam Lantinga
ee180efda7
Fixed bug 5406 - Upstreaming DragonFlyBSD changes from DeltaPorts (patch from David Carlier)
2020-12-20 12:08:49 -08:00
Ozkan Sezer
22275b35e4
cmake: fix building for mac (bug #5407.)
2020-12-20 21:55:02 +03:00
Manuel Alfayate Corchete
2756b0f337
[Video/KMSDRM] Init and deinit mouse stuff at the same time that GBM stuff.
2020-12-20 14:29:58 +01:00
Ozkan Sezer
e91153f278
fix non-ARM h/w on FreeBSD builds (bug #5405 , patch from David Carlier.)
2020-12-20 03:03:21 +03:00
Manuel Alfayate Corchete
cf71e01734
[Video/KMSDRM] Remove auxiliary AMDGPU compatibility workarounds not needed anymore.
2020-12-19 23:32:09 +01:00
Manuel Alfayate Corchete
af1f91cb36
[Video/KMSDRM] Correct typo.
2020-12-19 20:21:07 +01:00
Manuel Alfayate Corchete
cf48955680
[Video/KMSDRM] Honor the device index in Vulkan. Add notes about the display index.
2020-12-19 20:15:50 +01:00
Manuel Alfayate Corchete
ab3a390e26
[Video/KMSDRM] Better ATOMIC caps testing: patch by Oskan Sezer.
2020-12-19 17:35:04 +01:00
Manuel Alfayate Corchete
436499f3ec
[Video/KMSDRM] Comment out some debug info, adjust comments for future work.
2020-12-19 02:08:59 +01:00
Ozkan Sezer
6b81cac420
remove duplicated SDL_SetError after calling check_atomic_modesetting()
2020-12-19 01:25:50 +03:00
Manuel Alfayate Corchete
8952a61324
[Video/KMSDRM] Re-arrange display members setup.
2020-12-18 23:17:42 +01:00
Manuel Alfayate Corchete
f60f8d5d84
[Video/KMSDRM]: Add Vulkan support to the KMSDRM backend.
2020-12-18 22:53:51 +01:00
Sam Lantinga
cbe13d232d
Fixed controller hotplug detection when joystick thread is not enabled
2020-12-18 13:10:36 -08:00