Commit Graph

  • c9ccf0670c Add unsupported functions to dynapi Anonymous Maarten 2023-09-27 19:54:00 +02:00
  • 25ce87979d Always provide an implementation for all SDL3 symbols Anonymous Maarten 2023-09-27 06:11:09 +02:00
  • 3a36433a3c cmake: test -Wl,--version-script with minimal version script Anonymous Maarten 2023-09-20 04:24:08 +02:00
  • 0efa196989 dynapi: implement SDL_DYNAPI_entry even when building SDL without dynapi support Anonymous Maarten 2023-09-27 05:14:14 +02:00
  • bf64fecf19 testffmpeg: allow resizing of the video window Sam Lantinga 2023-10-12 00:01:02 -07:00
  • efa9a45048 Clarified that testffmpeg will resize the window to the video size Sam Lantinga 2023-10-11 23:38:08 -07:00
  • 4368f70ff9 Added properties to various SDL objects Sam Lantinga 2023-10-11 16:59:51 -07:00
  • 973c8b3273 Added SDL properties API Sam Lantinga 2023-10-10 12:38:22 -07:00
  • 2bca4671a6 audio: Allow audio streams to be created when the subsystem isn't initialized. Ryan C. Gordon 2023-10-11 22:42:52 -04:00
  • 1ae33f6751 cmake: optionally install pdb's Anonymous Maarten 2023-10-12 00:49:43 +02:00
  • 0d5cad91b1 We need audio converters initialized in SDL_InitAudio() Sam Lantinga 2023-10-11 15:10:09 -07:00
  • 1c3a0ade74 audio: Whoops, this stream format change is only for capture devices. Ryan C. Gordon 2023-10-11 15:11:20 -04:00
  • 10fab3a39e pulseaudio: Stop the threaded mainloop before destroying the context. Ryan C. Gordon 2023-10-11 14:31:37 -04:00
  • 0b71898cb1 Make it clear that the string comparison isn't a boolean check Sam Lantinga 2023-10-11 10:18:12 -07:00
  • 6c8ad975c7 Like mutexes, operations on NULL rwlocks are no-ops Sam Lantinga 2023-10-11 09:49:44 -07:00
  • c552cc6847 We don't require the audio system to be initialized for audio format conversion Sam Lantinga 2023-10-11 09:23:23 -07:00
  • 9a5f7b17c6 Use SDL wrapped getenv function Frank Praznik 2023-10-11 11:23:24 -04:00
  • 044046bc50 audio: Fixed assertions when capture devices have wrong audio formats. Ryan C. Gordon 2023-10-11 10:37:28 -04:00
  • bb2f767f5d testaudio: Make program usable without a 3-button mouse. Ryan C. Gordon 2023-10-11 10:01:52 -04:00
  • 321fc18417 README-migration.md: Added note about SDL_HasRDTSC removal. Ryan C. Gordon 2023-10-11 01:20:18 -04:00
  • 5be746acbc x11: Properly check for XInput2 support before using it. Ryan C. Gordon 2023-10-11 00:50:53 -04:00
  • 2849ca404e x11: Properly check for XInput2 support before using it. Ryan C. Gordon 2023-10-11 00:50:53 -04:00
  • 82f54af617 x11: Properly check for XInput2 support before using it. Ryan C. Gordon 2023-10-11 00:50:53 -04:00
  • b654427537 Added support for the PowerA Nintendo Switch Nano Wired Controller Sam Lantinga 2023-10-10 17:04:00 -07:00
  • dc2a5f6ab2 Fixed error C2054: expected '(' to follow 'inline' Sam Lantinga 2023-10-10 16:38:12 -07:00
  • a7ae1de9a6 Fixed warning C4028: formal parameter different from declaration Sam Lantinga 2023-10-10 16:37:17 -07:00
  • 3a47fb7208 The sensor and joystick instance ID generator isn't guarded by a lock. Sam Lantinga 2023-10-10 15:46:15 -07:00
  • 2abefb1c16 ci: stop FreeBSD job after 30 minutes Anonymous Maarten 2023-10-11 00:22:30 +02:00
  • e417c6cffe ci: stop FreeBSD job after 30 minutes Anonymous Maarten 2023-10-11 00:22:30 +02:00
  • aee4862958 ci: stop FreeBSD job after 30 minutes Anonymous Maarten 2023-10-11 00:22:30 +02:00
  • 99fa0d6cae Disable low latency audio by default when using AAudio on Android Sam Lantinga 2023-10-10 15:17:58 -07:00
  • ebfbd7327b testffmpeg: use SDL_test to parse arguments and track memory Anonymous Maarten 2023-10-10 20:52:12 +02:00
  • ee53e4d319 cmake: check ffmpeg capability instead of version Anonymous Maarten 2023-10-10 20:36:58 +02:00
  • 2d62c65a75 Fixed build warning Sam Lantinga 2023-10-10 12:37:38 -07:00
  • bf72704bfd audio: Disable NEON sample conversion until test failures are fixed Simon McVittie 2023-10-10 17:38:23 +01:00
  • 0fe95cfba3 Sync wiki -> header Ryan C. Gordon 2023-10-10 10:49:24 -04:00
  • 32587bd7de Sync wiki -> header Ryan C. Gordon 2023-10-10 10:19:34 -04:00
  • adcace6f95 Added a "--software" option to testffmpeg Sam Lantinga 2023-10-10 04:06:44 -07:00
  • 86ada8a9f0 fix testffmpeg.c build. Ozkan Sezer 2023-10-10 14:02:40 +03:00
  • 303f4e965c testffmpeg works with ffmpeg 5.1.3 and newer Sam Lantinga 2023-10-10 03:58:57 -07:00
  • 2bd478ae65 Added SDL_GetTextureDXGIResource() to get the DXGI resource associated with a render texture. Sam Lantinga 2023-10-10 00:04:45 -07:00
  • a842446f62 Added support for 0-copy decode and display using D3D11 Sam Lantinga 2023-10-09 21:02:27 -07:00
  • d830cd140b Added support for 0-copy decode and display using Apple VideoToolbox Sam Lantinga 2023-10-09 17:55:06 -07:00
  • 1bf913b29a Added support for 0-copy decode and display using VAAPI and EGL Sam Lantinga 2023-10-09 12:27:56 -07:00
  • ce8161e0cf Make sure we're building with ffmpeg 6.0 or newer Sam Lantinga 2023-10-07 13:08:15 -07:00
  • ed6381b68d Allow setting any number of sprites over the video Sam Lantinga 2023-10-07 13:01:52 -07:00
  • ebf5e08fa1 cmake: use *_STATIC_* variables when linking to a static ffmpeg Anonymous Maarten 2023-10-07 18:20:24 +02:00
  • 88f2fb9dcf Added an example of video decoding with ffmpeg Sam Lantinga 2023-10-07 02:01:35 -07:00
  • d88bf687a8 surface: Document the in-memory layout of the pixels Simon McVittie 2023-09-29 15:54:32 +01:00
  • 3698630bbc pixels: Document the naming convention Simon McVittie 2023-09-29 15:49:24 +01:00
  • 04edb38cdf shape: Use SDL[Test]_ReadSurfacePixel Simon McVittie 2023-10-02 19:50:47 +01:00
  • f5745c3a67 surface: Add a private SDL_ReadSurfacePixel Simon McVittie 2023-10-02 19:45:49 +01:00
  • 0d68f45879 test: Extract SDLTest_ReadSurfacePixel Simon McVittie 2023-10-02 19:43:44 +01:00
  • b7a0ef6bdf artsaudio: revert bad arts_init return code check from commit ce5da5d. Ozkan Sezer 2023-10-10 10:40:20 +03:00
  • 6fc17b0e2b artsaudio: revert bad arts_init return code check from commit ce5da5d. Ozkan Sezer 2023-10-10 10:40:00 +03:00
  • 55a1458ed0 audio: Changes to one logical device must update all sibling logical devices. Ryan C. Gordon 2023-10-09 20:28:58 -04:00
  • 8e03ea4383 hashtable: Use Create/Destroy naming, in the SDL3 style. Ryan C. Gordon 2023-10-09 19:20:43 -04:00
  • 568902b64e hashtable: Added src/SDL_hashtable.[ch]. Ryan C. Gordon 2023-10-09 19:17:05 -04:00
  • 8745a9949b add-source-to-projects.pl: Fix adding files in the base src dir. Ryan C. Gordon 2023-10-09 19:15:54 -04:00
  • 7010452062 tests: Disable mouse warp test under Wayland Frank Praznik 2023-10-02 19:29:02 -04:00
  • e8c915dacc wayland: Try to skip the Wayland driver if not connecting to or in a Wayland session Frank Praznik 2023-10-09 11:44:32 -04:00
  • 836927edf8 wayland: Try to skip the Wayland driver if not connecting to or in a Wayland session Frank Praznik 2023-10-09 11:44:32 -04:00
  • 25b0081367 Backport #7697 to SDL 2 KWottrich 2023-10-02 13:45:34 -05:00
  • 2a9480c815 wayland: Add null check for zenity version string Etaash Mathamsetty 2023-10-06 14:58:45 -04:00
  • c4a169a6fc Fix automated video tests under X11/Wayland Frank Praznik 2023-10-06 13:50:10 -04:00
  • f30392da5b Fix assertion in LINUX_JoystickSetSensorsEnabled() Mathieu Eyraud 2023-10-05 19:44:15 +02:00
  • 1f7ec57d3b wayland: Unref the libdecor window when hiding Frank Praznik 2023-03-18 12:03:08 -04:00
  • 1d8dbb2896 wayland: Unref the libdecor window when hiding Frank Praznik 2023-03-18 12:03:08 -04:00
  • 4e59bf6cb9 SDLTest_CompareSurfaces: Output RGBA values of first differing pixel Simon McVittie 2023-09-29 13:00:43 +01:00
  • b2ddfbbec3 SDLTest_CompareSurfaces: If surfaces differ, log their formats Simon McVittie 2023-09-29 12:52:32 +01:00
  • b028fd9604 SDLTest_CompareSurfaces: Log better messages if NULL or different sizes Simon McVittie 2023-09-29 12:52:17 +01:00
  • 36eb4845b5 triangle: don't read destination pixel when you're going to discard it anyways Anonymous Maarten 2023-10-05 13:40:09 +02:00
  • 43c57e3239 triangle: don't read destination pixel when you're going to discard it anyways Anonymous Maarten 2023-10-05 13:40:09 +02:00
  • 183606d3d4 testdrawchessboard: clean up renderer and window Anonymous Maarten 2023-10-05 13:41:01 +02:00
  • 4f0642bf47 triangle: don't read destination pixel when you're going to discard it anyways Anonymous Maarten 2023-10-05 13:40:09 +02:00
  • d5ba5bb05f blit_slow: don't read destination pixel when you're going to discard it anyways Anonymous Maarten 2023-10-04 21:17:13 +02:00
  • 2d5c05a69c blit_slow: don't read destination pixel when you're going to discard it anyways Anonymous Maarten 2023-10-04 21:17:13 +02:00
  • 4cd0c13823 blit_slow: don't read destination pixel when you're going to discard it anyways Anonymous Maarten 2023-10-04 21:17:13 +02:00
  • 49abb9c1fa aaudio: Fixed a comment. Ryan C. Gordon 2023-10-04 14:06:16 -04:00
  • 0eb8651d5e Do not report gyro/accelerometer if we can't read axes info Mathieu Eyraud 2023-10-04 15:36:04 +02:00
  • ff57867516 audio: Fixed copy/paste error that was checking wrong variable. Ryan C. Gordon 2023-10-03 14:58:05 -04:00
  • d2d4914ac3 audio: WaitDevice/WaitCaptureDevice now returns a result. Ryan C. Gordon 2023-10-03 10:35:18 -04:00
  • a0820ed833 directsound: Cleaned up WaitDevice. Ryan C. Gordon 2023-10-03 09:54:30 -04:00
  • 6c33a05bdb audio: Removed unused AllowsArbitraryDeviceNames variable. Ryan C. Gordon 2023-10-02 23:07:00 -04:00
  • f1fc198278 audio: Destroy the logical audio device before sending DEVICE_REMOVED event. Ryan C. Gordon 2023-10-02 20:07:42 -04:00
  • 64ec208479 Fix log message spelling Frank Praznik 2023-10-02 19:47:39 -04:00
  • 9111c5e178 tests: Disable mouse warp test under Wayland Frank Praznik 2023-10-02 19:29:02 -04:00
  • de5068f4e4 audio: Commented out a currently-incorrect assert. Ryan C. Gordon 2023-10-02 19:41:29 -04:00
  • 321c2f8f24 ci: disable Intel compilers Anonymous Maarten 2023-10-02 09:14:29 +02:00
  • 3abb464f10 ci: disable Intel compilers Anonymous Maarten 2023-10-02 09:13:35 +02:00
  • cc016b0046 Updated to version 2.28.4 for release release-2.28.4 Sam Lantinga 2023-10-01 12:05:05 -07:00
  • 251f8fa272 Revert "Do a better job of finding default ALSA devices" Sam Lantinga 2023-10-01 08:49:14 -07:00
  • 8857b0f13a Use the device audio format for the lowest latency Sam Lantinga 2023-09-30 16:24:49 -07:00
  • 806e11ac00 Update sample processing bookkeeping when recovering the AAudio audio device Sam Lantinga 2023-09-30 15:04:21 -07:00
  • 482c238953 aaudio: Deal with device recovery. Ryan C. Gordon 2023-09-30 16:33:30 -04:00
  • a8813b58a6 aaudio: Change an int to an SDL_bool. Ryan C. Gordon 2023-09-30 15:43:22 -04:00
  • 8923305f34 We don't need to wait a full 10 ms, just delay a bit Sam Lantinga 2023-09-30 12:14:09 -07:00
  • 6a152676bb Wait a bit when snd_pcm_avail() returns 0 Sam Lantinga 2023-09-30 10:48:44 -07:00
  • b4372de186 alsa: Cleaned up remaining debug logging. Ryan C. Gordon 2023-09-30 12:35:46 -04:00
  • a063c943dc pulseaudio: Use pa_stream_begin_write to avoid an extra buffer copy. Ryan C. Gordon 2023-09-30 12:31:45 -04:00