Commit Graph

  • 1f7a7fd931 haiku: Combine HAIKU_ColorSpaceToBitsPerPixel and HAIKU_BPPToSDLPxFormat Cameron Cawley 2022-09-17 21:30:40 +01:00
  • dd51787e07 Fix SDL_PIXELFORMAT_INDEX1LSB test case Cameron Cawley 2022-09-08 15:53:25 +01:00
  • 43fc6d593f Fix incorrect return value in X11_GetPixelFormatFromVisualInfo Cameron Cawley 2022-09-08 15:53:54 +01:00
  • 202dfea502 Vita: drop memory defines Ivan Epifanov 2022-09-17 14:12:13 +03:00
  • 7115ceb775 Vita: restore sceClibMemcmp Ivan Epifanov 2022-09-17 11:52:19 +03:00
  • 45362dfe31 SDL_windows.h: guard WIN32_LEAN_AND_MEAN and STRICT macro defines. Ozkan Sezer 2022-09-16 17:28:20 +03:00
  • 0df4d123db SDL_offscreenwindow.c: swap include order of SDL_egl_c.h/SDL_sysvideo.h Ozkan Sezer 2022-09-16 17:05:02 +03:00
  • 2e9f5b5989 Added support for the HORI Fighting Commander OCTA (Xbox Series X and PS versions) Sam Lantinga 2022-09-16 15:41:35 -07:00
  • 5fba31f6fb SDL_HasPrimarySelectionText: fix -Wunreachable-code-return warning. Ozkan Sezer 2022-09-17 00:51:00 +03:00
  • efe01faa8e Replaced Blit4to4CopyAlpha() with optimized SDL_BlitCopy() Sam Lantinga 2022-09-16 10:08:31 -07:00
  • c0baa6bf5e move SDL_windowstaskdialog.h contents into SDL_windowsmessagebox.c Ozkan Sezer 2022-09-16 20:03:50 +03:00
  • 82b40f097b Fixed runaway CPU usage in the metal renderer when the window is minimized Sam Lantinga 2022-09-16 09:55:20 -07:00
  • 5892ed4373 Fixed Xcode warnings on macOS Sam Lantinga 2022-09-16 09:44:39 -07:00
  • 910d499c54 Fixed comment typo Sam Lantinga 2022-09-16 09:19:20 -07:00
  • 172865ff13 Don't enumerate HID devices on macOS if we don't have input monitoring permissions Sam Lantinga 2022-09-16 09:16:18 -07:00
  • eb046958da Fixed build warning Sam Lantinga 2022-09-16 08:19:45 -07:00
  • 8fc133ac2c Updated Xcode project with new offscreen video driver files Sam Lantinga 2022-09-16 08:18:42 -07:00
  • e2753e19e8 Calculate simulated vsync interval based on display refresh rate Sam Lantinga 2022-09-15 08:02:14 -07:00
  • 208964f038 Reset the simulated vsync presentation timeline if it's been too long since the last present Sam Lantinga 2022-09-15 07:05:55 -07:00
  • 1663cb4196 Reset simulated presentation timeline when vsync status changes Sam Lantinga 2022-09-15 06:30:19 -07:00
  • d744aafb05 Added support for simulated vsync in the renderer Sam Lantinga 2022-09-15 01:00:12 -07:00
  • 339f7a2f6b SDL_windows.h: guard WIN32_LEAN_AND_MEAN and STRICT macro defines. Ozkan Sezer 2022-09-16 17:28:20 +03:00
  • c23fb235c8 SDL_render_d3d12.c: Fix uninitialized warning for CreateEventExFunc Ozkan Sezer 2022-09-16 17:20:56 +03:00
  • d86cb8ec9e SDL_offscreenwindow.c: swap include order of SDL_egl_c.h/SDL_sysvideo.h Ozkan Sezer 2022-09-16 17:05:02 +03:00
  • 5bc85d6788 Only advertise the SDL_PIXELFORMAT_EXTERNAL_OES format if we can build the shader for it Sam Lantinga 2022-09-16 06:15:45 -07:00
  • 6de15ffcd6 Fixed building offscreen video driver without EGL support Sam Lantinga 2022-09-15 12:04:08 -07:00
  • cc9638f2f7 Regenerated configure Sam Lantinga 2022-09-15 11:08:00 -07:00
  • 37effc7700 Build the offscreen video driver by default. quyykk 2022-09-15 19:39:35 +02:00
  • 2970710b5d Pretty print shaders for debugging purposes Sam Lantinga 2022-09-15 07:41:29 -07:00
  • bc57d3e35c Fixed OpenGL ES shader compilation on Linux Sam Lantinga 2022-09-15 06:57:41 -07:00
  • 8a15a738f3 Fixed uninitialized variable warning Sam Lantinga 2022-09-15 06:21:19 -07:00
  • 61201e06ef Removed obsolete extension definitions Sam Lantinga 2022-09-15 06:17:49 -07:00
  • 6dec78ed11 fix permissions of SDL_opengl_glext.h Ozkan Sezer 2022-09-15 11:55:04 +03:00
  • 2e24708af2 Makefile.w32: silence lots of W202 warnings from new vulkan headers Ozkan Sezer 2022-09-15 11:23:50 +03:00
  • c49faabb6d Sync SDL wiki -> header SDL Wiki Bot 2022-09-14 16:29:16 +00:00
  • ac5b9bc4ee Add support for X11 primary selection (#6132) DS 2022-09-14 18:28:35 +02:00
  • 72fe6cc8f1 Updated to the latest version of OpenGL and Vulkan headers from the Khronos registry Sam Lantinga 2022-09-14 09:14:47 -07:00
  • b5102a551b Fixed OpenGLES shaders failing after renderer has been created Sam Lantinga 2022-09-14 08:03:46 -07:00
  • 228b9fb517 Update SDL_windowswindow.c (#6225) xeonmc 2022-09-14 03:43:16 +08:00
  • 929d5b80c6 wayland: Use the backbuffer size for determining if a resize event is required Frank Praznik 2022-09-12 22:39:44 -04:00
  • 4f1b408a72 Fixed button mapping for PS5 controllers Sam Lantinga 2022-09-12 18:19:02 -07:00
  • ffcf32b4ff Fixed building with libusb not dynamicaly loaded Sam Lantinga 2022-09-12 23:55:56 +03:00
  • eb0bf2c29d vita: Drop memcmp redirect to sceClibMemcmp. Rinnegatamante 2022-09-12 21:52:39 +02:00
  • 531ddf5eb5 Fixed macOS framework detection in sdl2.m4 Sam Lantinga 2022-08-26 09:12:56 -07:00
  • abac672a2d Fixed crash if there are no devices available (cherry picked from commit 679582e702) Sam Lantinga 2022-08-25 11:07:20 -07:00
  • 782862b95c apply commit d0a3570300 to cmake side too. Ozkan Sezer 2022-09-12 20:28:00 +03:00
  • 525e201728 regenerated configure script. Ozkan Sezer 2022-09-12 20:20:04 +03:00
  • 0680314c2a configure.ac: fix configure tests broken with Clang 15 (implicit function declarations) Sam James 2022-09-12 18:02:21 +01:00
  • 5b2884cb02 apply commit d0a3570300 to cmake side too. Ozkan Sezer 2022-09-12 20:28:00 +03:00
  • d936499670 regenerated configure script. Ozkan Sezer 2022-09-12 20:20:04 +03:00
  • d0a3570300 configure.ac: fix configure tests broken with Clang 15 (implicit function declarations) Sam James 2022-09-12 18:02:21 +01:00
  • 7f415ce587 android: fix some compiler warnings Amir 2022-09-12 20:09:00 +04:00
  • 6dfd7a17e1 cmake: forward HAVE_LIBUSB to HAVE_HIDAPI_LIBUSB Anonymous Maarten 2022-09-10 15:53:11 +02:00
  • c3495ec6ea Fix value of SDL_HIDAPI_DISABLED Anonymous Maarten 2022-09-10 14:11:19 +02:00
  • 19b13aab98 cmake: mark hidapi as disabled when not found Anonymous Maarten 2022-09-10 13:41:29 +02:00
  • edfb00c25e wayland: Only commit on move if the display was changed Frank Praznik 2022-09-09 14:26:44 -04:00
  • 97a5e74449 wayland: Remove duplicate code Frank Praznik 2022-09-06 17:08:27 -04:00
  • 78f843f741 wayland: Remove unnecessary function parameter Frank Praznik 2022-09-06 13:19:23 -04:00
  • 69e4c770f3 video: Make the mode switching function a NOP if mode switching is disabled Frank Praznik 2022-09-04 12:18:38 -04:00
  • 768b6728bd wayland: Compare against the old scale when resizing Frank Praznik 2022-09-04 23:39:05 -04:00
  • 07aea476ba wayland: Ignore content sizes from libdecor when hiding a window Frank Praznik 2022-09-03 13:30:49 -04:00
  • 6de12b4a0d wayland: Update the internal state when the compositor moves a fullscreen window Frank Praznik 2022-09-06 13:30:19 -04:00
  • a7d345958d wayland: Trigger a commit on fullscreen update Frank Praznik 2022-09-03 13:11:29 -04:00
  • 707b561f97 wayland: Enable compositor fullscreen toggling Frank Praznik 2022-09-03 12:37:02 -04:00
  • 31979e2d98 wayland: Add missing static qualifiers Frank Praznik 2022-09-02 18:41:21 -04:00
  • 1c88a0522f Update Wayland cursors to match X11 cursors Taiko2k 2022-09-09 16:03:17 +12:00
  • 9f4baeea53 Clean up thread local storage when quitting SDL Sam Lantinga 2022-09-08 20:08:20 -07:00
  • a3900a751e Lock joysticks when removing a controller on the WGI thread Sam Lantinga 2022-09-08 13:59:25 -07:00
  • 12413ab31f Lock joysticks while attaching a virtual one Sam Lantinga 2022-09-08 13:33:04 -07:00
  • 787cd580ee silence unused function warning for SDL_endswith() on non-linux. Ozkan Sezer 2022-09-08 23:00:04 +03:00
  • 4071573241 Don't try to second guess DS4Windows, let it remap things as expected. Sam Lantinga 2022-09-08 11:50:56 -07:00
  • a0f169603d Fixed the CRC in the mappings for PS2, PSP, and Vita controllers Sam Lantinga 2022-09-08 09:53:24 -07:00
  • 90a480a100 Fixed bug #6199 - Broken clip behaviour on a render target (metal) Sylvain 2022-09-08 05:44:39 +02:00
  • 0ad8d9d292 SDL_IsXInputDevice() shouldn't return true if XInput isn't enabled Sam Lantinga 2022-09-07 15:31:24 -07:00
  • d93f9a778b The new Wii Remote shares the same VID/PID as the Wii U Pro controller Sam Lantinga 2022-09-07 12:33:43 -07:00
  • f398d8a424 Note that the Logitech Extreme 3D is a flight stick Sam Lantinga 2022-09-07 11:53:13 -07:00
  • 0a05b281f2 Make sure we hold the joystick lock when updating the device state while opening it Sam Lantinga 2022-09-07 11:51:16 -07:00
  • d4e0d27c1c Added Wii Remote controller mappings for Linux Sam Lantinga 2022-09-07 02:02:04 -07:00
  • a7fde3f835 Allow mapping a controller other than the first one Sam Lantinga 2022-09-07 01:58:42 -07:00
  • 42cf6d6c56 Don't treat the Wii extension controls as a separate game controller on Linux Sam Lantinga 2022-09-07 01:41:11 -07:00
  • 87f8b6ff0f Don't mess with the state of the Motion Plus extension on Linux Sam Lantinga 2022-09-07 01:21:01 -07:00
  • c28da4892a Fixed build Sam Lantinga 2022-09-07 00:52:40 -07:00
  • 638452ecf7 Assert that continuous reporting is enabled, so input timeout is a reliable way of detecting Bluetooth connection problems. Sam Lantinga 2022-09-07 00:44:13 -07:00
  • 8dfe0e4beb Removed checks not needed for the Wii U Pro Controller Sam Lantinga 2022-09-07 00:41:29 -07:00
  • 4018f35ef2 Added left and right sensors for Nintendo Joy-Con and Wii controllers Sam Lantinga 2022-09-07 00:00:27 -07:00
  • 30f55a5d59 Added initial support for the Wii Motion Plus extension Sam Lantinga 2022-09-06 23:33:55 -07:00
  • 29f4a5ba0e Add GLES2 shader prologue infrastructure. (by @eloj) Sam Lantinga 2022-09-06 15:55:27 -07:00
  • 4fd6bba257 Refactored for similarity to surrounding code Sam Lantinga 2022-09-06 12:29:42 -07:00
  • 7be77f0b3d Fix https://github.com/libsdl-org/SDL/issues/6191 (cherry picked from commit 5ffede35d9) Ozkan Sezer 2022-09-06 19:56:29 +03:00
  • 5ffede35d9 Fix https://github.com/libsdl-org/SDL/issues/6191 Ozkan Sezer 2022-09-06 19:56:29 +03:00
  • e70db38d60 Fix compatibility with Windows XP (cherry picked from commit 10e1ef00e2) Cameron Cawley 2022-09-06 11:21:57 +01:00
  • 10e1ef00e2 Fix compatibility with Windows XP Cameron Cawley 2022-09-06 11:21:57 +01:00
  • 911524da45 fix DYLIB version inconsistencies and test failures after #6188. Ozkan Sezer 2022-09-06 03:15:02 +03:00
  • d1fea10c0f Added support for the accelerometer in the Wii Remote Sam Lantinga 2022-09-05 16:08:15 -07:00
  • a61b823da8 Added support for the Wii Remote with the Classic Controller Pro extension Sam Lantinga 2022-09-05 14:31:25 -07:00
  • a0f143fc93 Add build target to Xcode project to create an xcframework for iOS (#6188) tjpadula 2022-09-05 13:10:15 -07:00
  • 08e8824372 cmake: fix location of SDL2::SDL2test imported library Anonymous Maarten 2022-09-05 21:53:50 +02:00
  • 8a08d62ff7 cmake: fix location of SDL2::SDL2test imported library Anonymous Maarten 2022-09-05 21:53:50 +02:00
  • 181265ba71 Removed unused variable Sam Lantinga 2022-09-05 11:36:20 -07:00
  • 23be3ccc2f Note that we should regenerate configure before running test/versioning.sh Sam Lantinga 2022-09-05 11:25:10 -07:00