Commit Graph

  • 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
  • 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
  • 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
  • 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
  • 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
  • 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
  • 2a9480c815 wayland: Add null check for zenity version string Etaash Mathamsetty 2023-10-06 14:58:45 -04:00
  • f30392da5b Fix assertion in LINUX_JoystickSetSensorsEnabled() Mathieu Eyraud 2023-10-05 19:44:15 +02: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
  • 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
  • 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
  • 3abb464f10 ci: disable Intel compilers Anonymous Maarten 2023-10-02 09:13:35 +02: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
  • 0471a93706 alsa: Simplified PlayDevice and CaptureFromDevice. Ryan C. Gordon 2023-09-30 12:23:28 -04:00
  • 776d9d0ee3 alsa: Convert /* */ comments to // comments. Ryan C. Gordon 2023-09-30 12:02:51 -04:00
  • 64fee85c69 alsa: More efficient audio thread iteration. Ryan C. Gordon 2023-09-30 11:50:53 -04:00
  • 47cba08259 VisualC/pkg-support/cmake: remove subdir from public header include path Ozkan Sezer 2023-09-30 14:33:02 +03:00
  • 61e9a9dd56 pulseaudio: Just feed the device whenever it asks for any amount of data. Ryan C. Gordon 2023-09-29 22:34:11 -04:00
  • 4f76f9b0a7 pulseaudio: Use correct buffer size of stream, wait less between fills. Ryan C. Gordon 2023-09-29 22:13:20 -04:00
  • d95d2d7051 SDLTest_CompareSurfaces: Decode pixels correctly on big-endian platforms Simon McVittie 2023-09-29 14:23:36 +01:00
  • d65861f049 Do a better job of finding default ALSA devices Sam Lantinga 2023-09-28 21:25:11 -07:00
  • ba65ef5ce7 Recover from -EPIPE in snd_pcm_avail() Sam Lantinga 2023-09-28 20:16:59 -07:00
  • 5be5000fa1 cmake: make HEADERS_DIR a required argument of SDL_generate_manpages Anonymous Maarten 2023-09-29 03:42:33 +02:00
  • 5c1a91a4e1 ci: make sure perl is installed + build docs with MSVC toolchain Anonymous Maarten 2023-09-28 23:32:35 +02:00
  • 6248472c0c test: Accept small numerical differences in more mathematical tests Simon McVittie 2023-09-28 16:29:15 +01:00
  • a2c5dc6507 pulseaudio: Added typedef needed for compat with ancient Pulse installs. Ryan C. Gordon 2023-09-28 12:10:16 -04:00
  • f24551f6d1 pulseaudio: More workarounds for extremely old Pulse installs. Ryan C. Gordon 2023-09-28 11:53:00 -04:00
  • 441a5b707b audio: Adjusted const/static fields on some variables. Ryan C. Gordon 2023-09-28 10:24:42 -04:00
  • 280c2c1d7d pulseaudio: Revert "pulseaudio: Require PulseAudio 5.0 or later for SDL3." Ryan C. Gordon 2023-09-28 10:15:53 -04:00
  • 4db2b968af audio: simple-copy path should check if device is paused. Ryan C. Gordon 2023-09-27 16:24:33 -04:00
  • 505dc4c39c wasapi: Deal with device failures when we aren't holding the device lock. Ryan C. Gordon 2023-09-27 11:33:51 -04:00
  • ea5f59c234 Removed unused code Sam Lantinga 2023-09-27 09:16:25 -07:00
  • a6854098f7 Fixed stuttering on Android when using the AAudio driver Sam Lantinga 2023-09-27 09:08:08 -07:00
  • a5175e5ed0 audio: Fixed bug when setting up mixing formats. Ryan C. Gordon 2023-09-27 11:48:46 -04:00
  • 9667aa18e6 wayland: Check that the data device supports the release method before calling it Frank Praznik 2023-09-26 11:22:01 -04:00
  • 4454dc400b wayland: Null all Wayland manager objects after freeing Frank Praznik 2023-09-26 11:18:52 -04:00
  • e1789b320e video: Streamline a little deinit code. Ryan C. Gordon 2023-09-25 16:26:14 -04:00
  • 2a1058713c Bump libdecor feature check to look for 0.2.0 Frank Praznik 2023-09-25 12:02:06 -04:00
  • f5886f11d0 cmake: let every test depends on pretest Anonymous Maarten 2023-09-24 21:35:41 +02:00
  • f45761908a Move check for SDL_Delay upper bounds to testtimer Anonymous Maarten 2023-08-29 00:03:05 +02:00
  • a84389f6bb libm: use union for infinity Anonymous Maarten 2023-08-27 23:52:47 +02:00
  • 474c8d0073 testautomation: don't do float equality tests Anonymous Maarten 2023-08-27 23:42:23 +02:00
  • a6bc6b882c ci: always upload the artifacts Anonymous Maarten 2023-08-27 16:25:55 +02:00
  • 85e3099ba4 testautomation: only require accelated renderer with non-dummy video driver Anonymous Maarten 2023-08-27 03:04:23 +02:00
  • 26fd231151 ci: run tests on msvc workflow Anonymous Maarten 2023-03-14 19:51:52 +01:00
  • 0e955a9127 cmake: run testautomation with CTest Anonymous Maarten 2023-03-14 12:04:49 +01:00
  • 1375d2049d SDL_iconv_string() defaults to UTF-8 Sam Lantinga 2023-09-24 17:27:23 -07:00
  • 70a1bc6973 Check for NULL before dereferencing newly allocated memory Sam Lantinga 2023-09-24 17:17:49 -07:00