Commit Graph

  • 2b203add29 Merge commit 'c54c16d353f206162cdbb125c0847b4645e096a3' into main Sam Lantinga 2021-05-07 12:28:38 -07:00
  • 1e208c6418 Merge commit '227021b6470d07f86e209d89f176ec8e6d952a17' into main Sam Lantinga 2021-05-07 12:28:37 -07:00
  • f1fa836b2e Merge commit '13472cec6764aec2e06a3c66ec1b139baa680aa3' into main Sam Lantinga 2021-05-07 12:28:35 -07:00
  • cf1e850303 Merge commit 'a74f888ff9ed1254e9b9965a27d68e0526e2c0f8' into main Sam Lantinga 2021-05-07 12:28:33 -07:00
  • 63015e44c7 Merge commit '8ac0fb52cb13e5856aa7f4a3fd0598d3ec58283f' into main Sam Lantinga 2021-05-07 12:28:32 -07:00
  • 0ebf56b5f1 Merge commit '1f3df900f919e7177e480e63c07447db232564a1' into main Sam Lantinga 2021-05-07 12:28:30 -07:00
  • 5a95ff8002 Merge commit 'fcbf19b764a9f6fed1db6a1d79a2f2f3fa1338d6' into main Sam Lantinga 2021-05-07 12:28:28 -07:00
  • 572dfb4f6e Merge commit 'c93e3b36074ddb2ed986cbacc5e9d4f3a60db343' into main Sam Lantinga 2021-05-07 12:28:27 -07:00
  • a734ccec9a Merge commit 'b62642974595976a0c47c5b854eea51b2703fbeb' into main Sam Lantinga 2021-05-07 12:28:25 -07:00
  • 4c7f8a7497 Merge commit 'f8695185331460106f34286ebe466cb605f85bb6' into main Sam Lantinga 2021-05-07 12:28:23 -07:00
  • 9cf1b39162 Merge commit '21349901ea250483600cbe4771d865cc06f6b538' into main Sam Lantinga 2021-05-07 12:28:22 -07:00
  • 889cebb7c2 Wayland touch inputs send normalized coords Henk Kalkwater 2021-05-05 14:08:30 +02:00
  • 31637ddeea Generic check for desktop GL and EGL on Linux systems Nicolas Caramelli 2021-05-04 14:59:29 +02:00
  • f309d0649d include: Document timing issue with SDL_GetWindowBordersSize Ethan Lee 2021-05-04 11:23:54 -04:00
  • 58884e4c1b SDL_audiocvt.c: fixed MSVC double->float conversion warnings. Ozkan Sezer 2021-05-04 00:23:40 +03:00
  • c69fde348f wayland: Maximize/Restore should set the relevant window flags. Ethan Lee 2021-05-02 16:43:01 -04:00
  • 006378b921 fix NULL frame_callback access Christian Rauch 2021-05-02 18:30:32 +01:00
  • 424bbaec06 wayland: destroy frame callback when window is destroyed Christian Rauch 2021-05-01 18:53:12 +01:00
  • 2092855035 wayland: Guard surface_frame_listener for OpenGL, document why it exists Ethan Lee 2021-05-01 09:00:24 -04:00
  • 3d47ddc422 wayland: Use refresh_rate to calculate max_wait in SwapWindow Ethan Lee 2021-05-01 08:57:37 -04:00
  • 7b284dbb34 EglChooseConfig: choose an accelerated configuration Sylvain 2021-04-30 22:01:48 +02:00
  • 9161f95166 egl: Reject attempts to set negative swap intervals Ethan Lee 2021-04-27 02:25:57 -04:00
  • c54c16d353 wayland: don't hang in SDL_GL_SwapBuffers if the compositor is ghosting us. Ryan C. Gordon 2021-04-30 13:19:36 -04:00
  • 227021b647 SDL_windowsmessagebox.c (MessageBoxDialogProc): fix calling convention. Ozkan Sezer 2021-04-30 11:25:20 +03:00
  • 13472cec67 Fixed bug #4228: move from jcenter() to mavenCentral() SDL can use relinker. If it's enabled on your project, you need to update to version 1.4.3 Sylvain 2021-04-30 09:48:29 +02:00
  • a74f888ff9 Fixed bug #4337 - compilation of 'SDL_vulkan_utils' fails with 'VK_ERROR_INCOMPATIBLE_VERSION_KHR' undeclared Sylvain 2021-04-29 22:25:00 +02:00
  • 8ac0fb52cb OpenSLES: CloseDevice() is called at higher level, if OpenDevice() fails - explicit initialization of static variables Sylvain 2021-04-29 09:29:02 +02:00
  • 1f3df900f9 Error missing 'flags' initialization (see bug #2881) Sylvain 2021-04-28 23:40:26 +02:00
  • fcbf19b764 AAudio: make sure stream is not null to prevent crash in RequestStop (see #3710) Sylvain 2021-04-28 21:04:47 +02:00
  • c93e3b3607 Fixed bug #2881 - SDL_RLEsurface may encode RGB888 if it has no color key (Thanks Simon Hug) To encode with BLEND mode, it needs a valid alpha channel Sylvain 2021-04-28 10:43:28 +02:00
  • b626429745 Merge remote-tracking branch 'refs/remotes/origin/main' Sylvain 2021-04-27 11:10:41 +02:00
  • f869518533 Audio: normalize conversion Stereo to 5.1, Quad to 7.1, 5.1 to 7.1 (bug #4104) Sylvain 2021-04-27 11:07:51 +02:00
  • 21349901ea Audio: convert 5.1 to 7.1, use right-surround for r-front and r-back (see #4104) Sylvain 2021-04-27 10:57:48 +02:00
  • 8527c583f4 cocoa: Fix recreated windows that are both borderless and resizable. Ryan C. Gordon 2021-04-27 01:36:23 -04:00
  • 40210f8945 winrt: Always use a thread for joystick support Ethan Lee 2021-04-26 15:54:14 -04:00
  • 2fdbae22cb cocoa: Remove mouse event tap. Ryan C. Gordon 2021-04-26 18:43:28 -04:00
  • 9727655b89 SDL_test_common: add other window flags: --shown, --hidden, --input-focus, --mouse-focus Sylvain 2021-04-26 14:22:19 +02:00
  • d62ebec260 SDL_test_common: replace 'resize' by 'resizable' Sylvain 2021-04-26 14:10:39 +02:00
  • 1f482174b5 x11: Mark backing_store as NotUseful when creating windows. Ryan C. Gordon 2021-04-25 12:44:35 -04:00
  • 9c063468d6 x11: call XSync before XSetInputFocus during SDL_ShowWindow. Ryan C. Gordon 2021-04-24 19:47:10 -04:00
  • 89a2980a6d CMake: fixes to pthreads detection. Ozkan Sezer 2021-04-23 01:56:10 +03:00
  • ca969eb2be Remove gles2 vita render Ivan Epifanov 2021-04-24 10:29:52 +03:00
  • 058bbe0286 Set volume on device open Ivan Epifanov 2021-04-24 10:17:03 +03:00
  • e3ea5b6468 Migrate to lightweight mutexes Ivan Epifanov 2021-04-24 10:16:21 +03:00
  • f1ad942a11 SDL_windows_main: use HeapAlloc/HeapFree for command line arguments Steven Noonan 2021-04-22 17:24:05 -07:00
  • 17d8479d98 hidapi/libusb: maintain in-memory cache of vendor/product strings Steven Noonan 2021-04-22 15:44:01 -07:00
  • 4535d65491 HIDAPI_UpdateDiscovery: only treat "add" and "remove" events as relevant Steven Noonan 2021-04-22 14:35:59 -07:00
  • b15bbd4e3f SDL_udev: check for NULL return value from udev_device_get_action Steven Noonan 2021-04-22 16:11:13 -07:00
  • cf05a5eb0c eglChooseConfig: only add EGL_DEPTH_SIZE if non 0 and fix static / shadowed variables warnings for dump configs Sylvain 2021-04-22 21:40:57 +02:00
  • 98a966d1c2 Android: don't need to set the SurfaceHolder format from java code It's already set with ANativeWindow_setGeometry, and eventually set/changed also by eglCreateWindowSurface. - avoid issues with older device where SurfaceView cycle create/changed/destroy appears broken: calling create/changed/changed, and leading to "deuqueBuffer failed at server side, error: -19", with black screen. - re-read the format after egl window surface is created, to report the correct one (sometimes, changed from RGBA8888 to RGB24) Sylvain 2021-04-22 18:06:17 +02:00
  • 8e3ec34d34 wayland: Refactor toplevel mapping, implement HideWindow Ethan Lee 2021-04-20 12:40:40 -04:00
  • 0838f53d5a Implement SDL_SetWindowAlwaysOnTop for X11 Cacodemon345 2021-04-21 11:41:08 +06:00
  • a5825576fb Fix error handling of wayland message box Mathieu Eyraud 2021-04-21 13:39:31 +02:00
  • 12dd412b0b Fix icon of wayland message box Mathieu Eyraud 2021-04-21 13:31:15 +02:00
  • d0cf3b7555 Return correct button id meyraud705 2021-04-20 18:26:02 +02:00
  • 1fd95c53b6 Disable pango markup in wayland massage box meyraud705 2021-04-20 18:15:09 +02:00
  • 0cd0e9ba98 Reimplement wayland message box function with execvp. meyraud705 2021-04-20 17:49:21 +02:00
  • 99ef03b96e KMSDRM: Only use OpenBSD-specific defines on pre-6.9 releases Cacodemon345 2021-04-21 01:22:22 +06:00
  • a0a5da5d91 Add SDL_SetWindowAlwaysOnTop() Joseph Lyncheski 2021-04-19 07:13:38 -04:00
  • 6be9c00970 Android: prevent error EGL_BAD_DISPLAY while getting egl version without display Sylvain 2021-04-20 13:46:25 +02:00
  • 03503423e9 filesystem: Better OpenBSD support for SDL_GetBasePath(). Ryan C. Gordon 2021-04-19 23:31:23 -04:00
  • de6d290266 Fix keymap updating for X11 backend ReNoM 2021-04-19 21:48:11 +03:00
  • 509228c423 wayland: Implement GetDisplayDPI Ethan Lee 2021-04-18 22:26:27 -04:00
  • fcbfe33ce5 wayland: Implement SetWindowModalFor Ethan Lee 2021-04-18 09:45:22 -04:00
  • 213bfc194e wayland: Implement RestoreWindow for xdg/zxdg Ethan Lee 2021-04-18 09:36:54 -04:00
  • 0f51800229 wayland: Removed unused GetDisplayModes/SetDisplayMode functions Ethan Lee 2021-04-18 09:33:57 -04:00
  • 46df195b2a wayland: Implement GetDisplayBounds Ethan Lee 2021-04-18 09:33:06 -04:00
  • ed24c3452a wayland: Implement basic window move events via wl_surface_listener. Ethan Lee 2021-04-16 21:35:50 -04:00
  • 859230ec82 Android: add AAudio entry in CMake SDL_config Sylvain 2021-04-16 13:04:36 +02:00
  • d4e96e1153 Android: enable audio driver OpenSLES when building with CMake Sylvain 2021-04-16 09:44:07 +02:00
  • b4f89c56c6 AAudio: add aaudio pause/resume function to android events loop Sylvain 2021-04-15 21:16:10 +02:00
  • 02b1ebc9e0 Android: add openslES and AAudio compilation to CMakeLists Sylvain 2021-04-15 21:13:17 +02:00
  • 146656cfe6 AAudio: add compilation to Android.mk, but not activated in SDL_config_android.h Sylvain 2021-04-15 21:03:10 +02:00
  • f1fab24e35 AAudio: add bootstrap in SDL_audio.c Sylvain 2021-04-15 21:00:00 +02:00
  • 04b2f5f6ec Android: add AAudio back-end, with playback and capture (see #3710) https://developer.android.com/ndk/guides/audio/aaudio/aaudio Sylvain 2021-04-15 20:54:58 +02:00
  • 4118fe62fe Android: OpenSLES, explicitly initialise the global variable 'bqPlayerPlay', it may be read even if OpenSLES back-end hasn't been intialized Sylvain 2021-04-15 20:52:43 +02:00
  • babd79b8ef bump minimum required autoconf version and revise autogen.sh Ozkan Sezer 2021-04-14 23:20:40 +03:00
  • 69203851dc rename PKG_CONFIG_LIBS_PRIV to PKGCONFIG_LIBS_PRIV Ozkan Sezer 2021-04-14 21:40:50 +03:00
  • 197cfcaf71 ran configure.ac through autoupdate-2.69 Ozkan Sezer 2021-04-14 21:10:40 +03:00
  • 499d31e9cd Cleanup Linux joystick code Sam Lantinga 2021-04-13 17:00:24 -07:00
  • 5c78df9c23 Support key composing (i.e. dead keys) in Wayland driver (#4296) Luis Cáceres 2021-04-14 00:56:50 +01:00
  • b04136e75e Fixed Xbox controller when using the default Linux gamepad mapping Sam Lantinga 2021-04-13 16:29:48 -07:00
  • 1aaafc2bd8 Show the real name of the Xbox controller when using the generic mapping on Linux Sam Lantinga 2021-04-13 16:29:46 -07:00
  • 1542300a89 joystick: linux: Avoid checking for gamepad mapping each frame Paul Cercueil 2021-03-24 22:37:08 +00:00
  • 401f485490 cmake: Weak link with CoreHaptics okuoku 2021-04-11 19:29:01 +09:00
  • dbedaeceb3 Adding checks to see if any ASAN flags are set, if so then we set(HAVE_ASAN ON) so the infomartion output will properly list ASAN as on. Kyle Schaefer 2021-04-11 15:10:28 -07:00
  • 70bd205bb1 Adding messages to output CMAKE_C_FLAGS_DEBUG and CMAKE_CXX_FLAGS_DEBUG, this way when using Debug builds you can see which debug flags are set Kyle Schaefer 2021-04-11 15:08:14 -07:00
  • 320666044e Moving ASAN macros and calls to macros above the information output section so we can display ASAN information properly. Kyle Schaefer 2021-04-11 15:05:58 -07:00
  • f88d91d596 wayland: Minor whitespace fix Ethan Lee 2021-04-12 23:47:23 -04:00
  • d785dab5fd wayland: Add unscaled resolutions to the display mode list Ethan Lee 2021-04-12 23:37:53 -04:00
  • b0178fe518 KMSDRM: Report correct window position to the application Cacodemon345 2021-04-14 00:52:53 +06:00
  • dfcd5fbcad wayland: Set the keymap in keyboard_handle_modifiers Ethan Lee 2021-04-08 21:57:58 -04:00
  • e87c7940f5 Fixed bug 3829 - Don't FOURCC format for target textures FOURCC isn't supported by renderer back-ends for target access So use a correct format and fallback to with native/yuv path Sylvain 2021-04-13 14:42:38 +02:00
  • 9ef0b97c6d Changes to macOS event handler to better interact with the running app Sam Lantinga 2021-04-12 11:25:44 -07:00
  • 2a20cc0f1d SDL: let through a SetLED command every 5sec to deall with situations where the controller loses power when a computer is suspended Sam Lantinga 2021-04-12 11:25:42 -07:00
  • c59d4dcd38 wayland: Dramatically lower the timeout when reading/writing pipes Ethan Lee 2021-04-08 15:32:33 -04:00
  • cf12496311 wayland: Fall back to clipboard source data if offer came up empty Ethan Lee 2021-04-08 15:29:54 -04:00
  • 282c052479 wayland: Another strlen->SDL_strlen Ethan Lee 2021-04-08 14:59:04 -04:00
  • bec133d77b wayland: Use SDL_strlen instead of strlen Ethan Lee 2021-04-08 14:16:32 -04:00
  • e28d978509 wayland: Minor whitespace cleanup in clipboard.c Ethan Lee 2021-04-08 14:16:21 -04:00