20c070d869
Android: better readibility for pollInputDevices() and move isDeviceSDLJoystick() test at first since there are always non-joystick devices present.
Sylvain Becker
2020-10-07 14:41:37 +02:00
003a16980c
wav: Make sure the data size is a multiple of blockalign, not an exact match.
Ryan C. Gordon
2020-10-06 11:07:50 -04:00
4627426994
url: WinRT actually works now (and has been tested, hooray!).
Ryan C. Gordon
2020-10-06 00:42:17 -04:00
fc05a696ad
url: Attempt #23235 at WinRT support...
Ryan C. Gordon
2020-10-05 18:08:58 -04:00
02addf135d
url: Another attempt at WinRT implementation.
Ryan C. Gordon
2020-10-05 18:01:47 -04:00
1f4b5d54ca
windows/SDL_syslocale.c: make it build against older SDKs.
Ozkan Sezer
2020-10-06 00:20:20 +03:00
6c6d2bdd35
url: Build WinRT-specific code as C++/CX instead of plain C++.
Ryan C. Gordon
2020-10-05 16:25:48 -04:00
7bec9df11a
url: Add to Xcode project files, iOS/mac fixes.
Ryan C. Gordon
2020-10-05 16:10:10 -04:00
57e3003d3f
url: Attempt at WinRT support.
Ryan C. Gordon
2020-10-05 15:47:47 -04:00
566479c8ef
url: ShellExecuteW returns an HINSTANCE, so deal with that more correctly.
Ryan C. Gordon
2020-10-05 15:37:37 -04:00
b7b2995fbe
url: Added to Visual Studio project files.
Ryan C. Gordon
2020-10-05 15:27:32 -04:00
ee56090d3d
url: Cleanups and compiler warning fixes.
Ryan C. Gordon
2020-10-05 15:03:44 -04:00
cc158f2983
url: removed "extern" from function declaration.
Ryan C. Gordon
2020-10-05 14:36:37 -04:00
a3802cc533
url: Patched to compile on C89 compilers.
Ryan C. Gordon
2020-10-05 14:30:33 -04:00
66d847bd5c
url: Patched to compile on OS/2.
Ozkan Sezer
2020-10-05 21:30:00 +03:00
0099e38a9a
url: More win32 fixes.
Ryan C. Gordon
2020-10-05 14:21:03 -04:00
3fe5ce7b9a
url: Patched to compile on OS/2.
Ryan C. Gordon
2020-10-05 14:08:45 -04:00
1f4fecc5c1
url: Patched to compile on Windows.
Ryan C. Gordon
2020-10-05 14:07:32 -04:00
777d0f19f8
url: patched to compile on macOS.
Ryan C. Gordon
2020-10-05 14:06:25 -04:00
d068d05aa5
url: Make sure Haiku's C++ implementation is flagged as 'extern "C"'
Ryan C. Gordon
2020-10-05 14:01:08 -04:00
bf9fcb539a
url: The function is "SDL_Unsupported" not "SDL_Unimplemented"
Ryan C. Gordon
2020-10-05 14:00:08 -04:00
2d82cf78e1
url: put the Android bits in core/android
Ryan C. Gordon
2020-10-05 13:59:03 -04:00
efd665e2c7
Backed out changeset a43cb4e54949
Ryan C. Gordon
2020-10-05 13:56:45 -04:00
913aa610b5
url: Include SDL_misc.h to get public function declaration.
Ryan C. Gordon
2020-10-05 13:53:15 -04:00
5f68812249
url: patched to compile on Android.
Ryan C. Gordon
2020-10-05 13:52:52 -04:00
84f1b95008
url: fixed wrong include.
Ryan C. Gordon
2020-10-05 13:39:39 -04:00
77c9d73b63
Removed SDL_AndroidOpenURL, added SDL_OpenURL.
Ryan C. Gordon
2020-10-05 11:30:33 -04:00
a70bb58d4b
Android: fix joystick allocation that can be never used
Sylvain Becker
2020-10-05 14:09:31 +02:00
2e38c94950
Fix bug 5303 - Touch/Mouse events simulation doesn't work on Android 11
Sylvain Becker
2020-10-05 09:56:03 +02:00
cd6670bff3
SDL_Surface refcount: fix memory leak when blitting between stack'ed surfaces (see bug 5226)
Sylvain Becker
2020-10-02 10:48:27 +02:00
883509fc84
ran gendynapi.pl after new (android-only) api additions.
Ozkan Sezer
2020-10-01 17:01:00 +03:00
0467e332af
Android: small change to access to device diagonal value
Sylvain Becker
2020-10-01 15:11:28 +02:00
62b029f33b
Android: missing import class Uri
Sylvain Becker
2020-10-01 14:43:59 +02:00
dd55bfe89c
Android: add helper function to open an URL/URI (see bug 2783)
Sylvain Becker
2020-10-01 14:41:09 +02:00
45c644cc99
Added support for the MOGA XP5-X Plus
Sam Lantinga
2020-09-28 21:19:45 -07:00
78c274cb5d
kmsdrm: merge patches from Ozkan Sezer for removing c-99'isms and raising libgbm version reqeriments.
Manuel Alfayate Corchete
2020-09-26 19:18:09 +02:00
7ad71563ce
Android: be sure shared libraries are loaded in onConfigurationChanged()
Sylvain Becker
2020-09-25 10:42:07 +02:00
955f3184f9
Fixed bug 5239 - Play audio on Android while backgrounded (Thanks Superfury)
Sylvain Becker
2020-09-25 10:14:42 +02:00
7ef188a1fb
jack: Fixed memory leak on device close.
Ryan C. Gordon
2020-09-19 14:01:57 -04:00
ebfc98377b
ac_check_define.m4: remove stray AC_DEFINE outside of the macro definition
Ozkan Sezer
2020-09-16 22:20:02 +03:00
01b0cf1c90
Backed out changeset 4a45d1a30d25
Manuel Alfayate Corchete
2020-09-12 00:47:00 +02:00
7b67654872
kmsdrm: don't fool SDL into thinking that changing the physical videomode is done.
Manuel Alfayate Corchete
2020-09-12 00:16:08 +02:00
a6d182d326
kmsdrm: no need to reconnect/reactivate things in SwapWindowDoubleBuffered().
Manuel Alfayate Corchete
2020-09-11 23:47:26 +02:00
47e2d0304e
kmsdrm: greatly improve comments in SwapBuffersFenced() for future reference.
Manuel Alfayate Corchete
2020-09-10 23:26:02 +02:00
3c6004feb7
kmsdrm: Choose how to swap buffers based on EGL extension availability.
Ryan C. Gordon
2020-09-10 15:07:23 -04:00
c7e761f872
kmsdrm: Patched to compile if EGL headers lack EGL_ANDROID_native_fence_sync.
Ryan C. Gordon
2020-09-10 15:05:55 -04:00
224aa45b59
kmsdrm: Implement GL_DefaultProfileConfig for Raspberry Pi compatibility.
Ryan C. Gordon
2020-09-10 15:04:35 -04:00
092162ede7
video: Set up default before calling GL_DefaultProfileConfig().
Ryan C. Gordon
2020-09-10 15:02:51 -04:00
e758dd53dc
egl: Make SDL_EGL_HasExtension() available outside of SDL_egl.c.
Ryan C. Gordon
2020-09-10 15:02:00 -04:00
055cad49b6
kmsdrm: no need to re-connect/reactivate things in SwapWindow() anymore because we use a dumb buffer on KMS buffers destruction now.
Manuel Alfayate Corchete
2020-09-10 02:15:53 +02:00
351219bfd8
kmsdrm: On VideoQuit(), only destroy dumb buffer if it exists.
Manuel Alfayate Corchete
2020-09-09 03:18:26 +02:00
8709f67ebc
Fixed bug 5215 - Fixing filenames passed to dlopen for OpenBSD
Sam Lantinga
2020-09-08 08:42:30 -07:00
1b6de9a987
Fix SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH=1 on Metal windows
Cameron Gutman
2020-09-05 15:01:45 -07:00
244d0ad854
kmsdrm: Tell SDL that mouse has entered the window via artificial event. Fixes sticky mouse in Scummvm.
Manuel Alfayate Corchete
2020-09-08 15:30:45 +02:00
550e153365
kmsdrm: No need to test for display driverdata when freeing a plane.
Manuel Alfayate Corchete
2020-09-08 02:42:32 +02:00
6e03fab982
kmsdrm: add temporary RPI4_COMPAT define to try RPI4+current Rasbian compatibility.
Manuel Alfayate Corchete
2020-09-07 23:15:33 +02:00
0f807fd607
kmsdrm: use a black dumb buffer for keeping the PRIMARY PLANE occupied when we destroy the KMS buffers, instead of using the TTY buffer, to avoid flickering.
Manuel Alfayate Corchete
2020-09-07 22:54:15 +02:00
ebc12a2fd2
SDL_Surface refcount: destination surface keep track of surfaces that are mapped to it and automatically invalidate them when it is freed
Sylvain Becker
2020-09-07 18:50:30 +02:00
cce6c60518
kmsdrm: fix errors when trying to free up videomode driverdata pointers on quit.
Manuel Alfayate Corchete
2020-09-07 01:33:04 +02:00
9501b1c698
kmsdrm: fix scaling for SDL_WINDOW_FULLSCREEN windows.
Manuel Alfayate Corchete
2020-09-07 00:18:13 +02:00
daa752b10e
kmsdrm: fix first frame display: no need to wait for SwapWindow() for EGL surface creation.
Manuel Alfayate Corchete
2020-09-06 23:19:54 +02:00
68ac9349aa
kmsdrm: more coherent returns for SwapWindow.
Manuel Alfayate Corchete
2020-09-06 12:48:39 +02:00
d3d9d432ac
kmsdrm: Remove debug printfs in SwapWindow.
Manuel Alfayate Corchete
2020-09-06 12:17:27 +02:00
d7aebbd58f
kmsdrm: Don't create surfaces until EGL context is available.
Manuel Alfayate Corchete
2020-09-06 12:08:22 +02:00
f4e02a5c1b
kmsdrm: Do NOT modify window size manually from the backend: doing so caused renderer scaling params miscalculation.
Manuel Alfayate Corchete
2020-08-31 19:17:17 +02:00
c09d1cee95
kmsdrm: Apply window reconfiguration in SetWindowSize(), too.
Manuel Alfayate Corchete
2020-08-28 23:04:00 +02:00
31b1794534
kmsdrm: use PLANE and CRTC to do hardware-driven window scaling and AR-correction.
Manuel Alfayate Corchete
2020-08-28 22:38:26 +02:00
fe3f97961b
kmsdrm: unload EGL and GL lib only if using them.
Manuel Alfayate Corchete
2020-08-26 01:37:30 +02:00
9b43464d81
kmsdrm: Add programmer credits to the Atomic KMSDRM driver.
Manuel Alfayate Corchete
2020-08-25 16:30:23 +02:00
9316a8d979
kmsdrm: move FENCE FD props setting to SwapWindow(), where it belongs.
Manuel Alfayate Corchete
2020-08-25 16:18:49 +02:00
3f38009b2f
kmsdrm: comment out atomic commit fast-debugging printf.
Manuel Alfayate Corchete
2020-08-25 15:40:36 +02:00
0d16761cbe
kmsdrm: fix segfault on quit beacuse of freed _this->egl_data.
Manuel Alfayate Corchete
2020-08-25 05:53:13 +02:00
d43e666eed
kmsdrm: Buffer management refactoring. Fixes for compatibility with more video drivers.
Manuel Alfayate Corchete
2020-08-25 04:05:36 +02:00