Commit graph

  • 88548070a5 OpenGLES: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 16:40:47 +0200
  • d192515428 OpenGL: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 16:33:49 +0200
  • b92056bbea OpenGLES2: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 16:33:03 +0200
  • 76f9fb96d9 Use RenderGeometry to implement RenderCopy and RenderCopyEx at higher level Sylvain 2021-09-20 16:32:08 +0200
  • 08797adaef opengles2: Attempt to batch RenderCopy calls into a single glDrawArrays call. Ryan C. Gordon 2021-09-19 00:39:28 -0400
  • 1f0eb03a76
    Fix PS5 mapping with HID-PLAYSTATION driver (#4675) Tanuj Bagaria 2021-10-24 23:54:26 +0100
  • f499168c2c x11: Use SDL_IOReady() instead of calling select() directly Cameron Gutman 2021-10-24 15:54:57 -0500
  • ba4ef461ea macOS: Fix implicit integer downcast warnings Alex Szpakowski 2021-10-23 15:28:13 -0300
  • d9d8f51eec
    wikiheaders.pl: Add support for deprecated functions. Ryan C. Gordon 2021-10-23 14:37:47 -0400
  • dbe55350ce
    include: Improve doxygen text on SDL_GetRevisionNumber(). Ryan C. Gordon 2021-10-23 14:38:32 -0400
  • a76b73dd2c kmsdrm: Use SDL_PremultiplySurfaceAlphaToARGB8888() for cursor surface David Gow 2021-10-22 19:04:32 +0800
  • b528d48446 wayland: Wayland cursors should use premultiplied alpha David Gow 2021-10-22 16:59:46 +0800
  • 84808ea4bb video: Add SDL_PremultiplySurfaceAlphaToARGB8888() David Gow 2021-10-22 17:48:32 +0800
  • 007b5463e8 video/uikit: Do not use setNeedsUpdateOfPrefersPointerLocked on iOS SDKs older than 14 uyjulian 2021-10-21 22:50:33 -0500
  • 8f58bb9cf8 Added SDL_USE_BUILTIN_OPENGL_DEFINITIONS to avoid system OpenGL headers Sam Lantinga 2021-10-21 20:48:08 -0700
  • b360965d0d Added a hint for alternate OpenGL NV12 data format Sam Lantinga 2021-10-21 20:48:05 -0700
  • 6c134cf148 Sync wiki -> header SDL Wiki Bot 2021-10-22 00:39:04 +0000
  • 19dee1cd16
    Add SDL_GetWindowICCProfile(). (#4314) Cacodemon345 2021-10-22 06:37:20 +0600
  • a34fe8161f Added the ability to bind NV12 textures in the OpenGL renderer Sam Lantinga 2021-10-21 12:28:35 -0700
  • f3fd1ffb99 Fixed crash if SDL API functions are called on a disconnected controller on iOS Sam Lantinga 2021-10-20 15:18:03 -0700
  • a43d3f6931 Don't detect the ROG Chakram mouse as a joystick Sam Lantinga 2021-10-20 15:19:22 -0700
  • bfd2f8993f Fixed grab handling when focus changes between windows in the same application Sam Lantinga 2021-10-19 17:29:23 -0700
  • d9c44b6537 Allow Cocoa_VideoInit to succeed when current display mode has invalid flags James Howard 2021-10-19 10:49:17 -0700
  • 649a33ae47
    X11: remove redundant 'wakeup_lock' mutex creation Sylvain 2021-10-18 23:00:43 +0200
  • c4bac66b74 os2, geniconv: replaced many uses of libc calls with SDL_ counterparts. Ozkan Sezer 2021-10-18 14:11:20 +0300
  • 0a0f685473 SDL_os2video.c: missed replacing a use of libc function Ozkan Sezer 2021-10-18 14:10:56 +0300
  • 8e9ea2e362 SDL_os2joystick.c: missed replacing a use of libc function Ozkan Sezer 2021-10-18 14:10:37 +0300
  • 8b1a2fe860
    backout SDL_AndroidSetInputType() Sylvain 2021-10-17 23:47:59 +0200
  • 6ef3bc5688
    Add Dynapi for SDL_AndroidSetInputType() Sylvain 2021-10-17 23:40:36 +0200
  • ccb12457f9
    Fixed bug #4843 - Can not get the ime candidatelist like chinese/japaness input method Sylvain 2021-10-17 23:17:54 +0200
  • 7fb4364391 Don't process WM_INPUT when handling relative mode by warping the mouse cursor Sam Lantinga 2021-10-17 13:56:31 -0700
  • 06824b18fd Cleanup windows events after recent changes DomGries 2021-10-17 19:50:39 +0200
  • 50f969c1b2
    Fixed bug #4841 - Out of bounds read (by 1 byte) in yuvnv12_rgb24_sseu Sylvain 2021-10-17 22:02:19 +0200
  • ea97ab6164 Add mapping for HORI Fighting Commander OCTA controller on Linux shaquan-omari 2021-10-13 16:31:05 -0400
  • 1c5b3e0e16 Don't center the mouse when gaining focus unless we're using relative mode warping Sam Lantinga 2021-10-15 18:12:18 -0700
  • a70a94e0b3 Don't send a mouse leave event if the mouse is outside the window when gaining focus and in relative mode. Sam Lantinga 2021-10-15 18:11:19 -0700
  • c583055acb SDL_windowsevents.c (WIN_WindowProc): remove SAFE_AREA_X and SAFE_AREA_Y Ozkan Sezer 2021-10-15 10:11:24 +0300
  • d5700ed20b Don't log SDL_POLLSENTINEL, it's purely for internal bookkeeping Sam Lantinga 2021-10-15 00:01:39 -0700
  • dd5d89505d Fixed whitespace Sam Lantinga 2021-10-14 23:53:25 -0700
  • 7f728f3eb6 enabled os2 joystick code (if anyone has actually a use for it...) Ozkan Sezer 2021-10-15 08:51:02 +0300
  • 8a48ce00c8 Sync wiki -> header SDL Wiki Bot 2021-10-15 05:28:04 +0000
  • 8bf32e12d8
    Improved SDL_PollEvent usage (#4794) Brick 2021-10-15 06:26:10 +0100
  • 43da35b567 Back out documentation changes in favor of https://github.com/libsdl-org/SDL/pull/4794 Sam Lantinga 2021-10-14 22:22:59 -0700
  • 0dc57b0f08 Remove slightly misleading comment in the example code Sam Lantinga 2021-10-14 19:42:36 -0700
  • ddf1d5c553 Update documentation to reflect that a single SDL_PumpEvents() each frame is the recommended way to handle events Sam Lantinga 2021-10-14 19:10:30 -0700
  • 88e9f7765c Fixed relative mouse mode using warping after 82793ac279 Sam Lantinga 2021-10-14 18:37:27 -0700
  • a1fabca162 Removed mouse warping for local mice and improved warp handling for mouse over RDP Sam Lantinga 2021-10-14 16:52:21 -0700
  • 82793ac279 Fixed mouse warping while in relative mode Sam Lantinga 2021-10-14 14:26:21 -0700
  • 072e3fdfc4
    Fixed bug #4534: NEON implementation of Convert51ToStereo (Thanks Ryan!) Sylvain 2021-10-14 23:17:08 +0200
  • 5e89b3c89e Don't need to use raw input to track the mouse during mouse capture (thanks Brick!) Sam Lantinga 2021-10-14 11:46:07 -0700
  • 0b6a821188 Messages posted on the same tick are not new Brick 2021-10-12 14:08:20 +0100
  • 0789610cfb Add SDL_HINT_WINDOW_NO_ACTIVATION_WHEN_SHOWN Rémy Tassoux 2021-10-14 00:52:05 +0200
  • 227c33b8ec Add note about SDL_TICKS_PASSED hitting int overflow problems with large timeouts Sam Lantinga 2021-10-13 09:33:57 -0700
  • 1fa154fda3 Fix weak enforcement of timeouts in SDL_WaitEventTimeout_Device. This will loop pumping events and waiting for a system event to come in. However not all system events will turn into an SDL event. It's not unusual for a Windows message to be some internal thing that SDL doesn't convert into a message. In that case the loop will simple circle but not exit. As long as such messages are coming in the loop will continue to run regardless of the timeout. When messages finally stop it'll still wait for the full timeout so you can have arbitrarily long delays. Sam Lantinga 2021-10-13 09:33:54 -0700
  • 2423c51471 Work around hang in AAudioStream_write() during extended shared object loading while running in a debugger. Observed on a OnePlus 8T (KB2005) running Oxygen OS 11.0.10.10.KB05AA. The observed behavior is that any nonzero timeout value would hang until the device was paused and resumed. And a zero timeout value would always return 0 frames written even when audio fragments could be heard. Making a manual timeout system unworkable. None of the straightforward systems imply that there's a detectable problem before the call to AAudioStream_write(). And the callback set within AAudioStreamBuilder_setErrorCallback() does not get called as we enter the hang state. I've found that AAudioStream_getTimestamp() will report an error state from another thread. So this change codifies that behavior a bit until a better fix or more root cause can be found. Sam Lantinga 2021-10-13 09:33:51 -0700
  • 325ae5c35d
    Android: getCurrentOrientation uses getContext() to retrieve the activity (see bug #4825) Sylvain 2021-10-13 08:35:56 +0200
  • 0e294e90ae
    Ensure that SDL_InitSubSystem quits subsystems after an error. (#4834) Erik Soma 2021-10-12 18:55:31 -0400
  • 6149e60136 remove IsWin10FCUorNewer() -- not used since commit 40ed9f75c9 Ozkan Sezer 2021-10-13 00:03:56 +0300
  • 311671a029 fixed build after commit 6e356e20ad Ozkan Sezer 2021-10-12 23:50:02 +0300
  • 6e356e20ad Fix mouse focus being set to null when a captured mouse cursor leaves the window. Rémy Tassoux 2021-10-12 18:35:52 +0200
  • 9ee6942e79 Improve RISC OS implementations of SDL_GetBasePath and SDL_GetPrefPath Cameron Cawley 2021-09-22 14:01:00 +0100
  • 3db898c5b6 riscos: Implement SDL_GetPrefPath() Cameron Cawley 2020-02-13 22:32:35 +0000
  • 723f5cea43
    Fixed bug #4825 - NullPointerException on SDLActivity.getCurrentOrientation() (Thanks Benau!) Sylvain 2021-10-12 20:58:58 +0200
  • 1b49f09243
    include: manually ran wikiheaders.pl and cleaned up the obvious issues. Ryan C. Gordon 2021-10-08 20:22:48 -0400
  • 55f60847cb
    wikiheaders.pl: Try to handle functions with multiple declarations better. Ryan C. Gordon 2021-10-08 20:49:51 -0400
  • 3970a885a5
    wikiheaders.pl: Migrate in docs that exist only in the wiki. Ryan C. Gordon 2021-10-08 14:39:28 -0400
  • 194657a2c6
    include: Fix indentation on SDL_SoftStretch doxygen comment. Ryan C. Gordon 2021-10-08 15:57:18 -0400
  • 40ed9f75c9 Workaround for Windows occasionally ignoring SetCursorPos() calls Sam Lantinga 2021-10-08 10:05:27 -0700
  • 373216ae5b Added support for touchpads in the Linux evdev code (thanks Francisco!) Sam Lantinga 2021-10-07 18:14:16 -0700
  • 16aeb8d0f5 Guarantee that we don't dispatch any mouse motion from before or including the last mouse warp Sam Lantinga 2021-10-07 15:04:06 -0700
  • 649466f491 Flush any pending mouse motion when warping the mouse cursor Sam Lantinga 2021-10-07 13:28:44 -0700
  • ad5205739e wayland: Only dispatch frame events in Wayland_GLES_SwapWindow Väinö Mäkelä 2021-10-06 09:52:06 +0300
  • f30e2e438d Fix compiler warnings in testvulkan.c Brick 2021-10-06 22:52:33 +0100
  • dd95c9c8a2 Moved focus click check into WIN_UpdateFocus() so we have the correct state when setting keyboard focus Sam Lantinga 2021-10-06 09:09:39 -0700
  • 1ec409c214 Don't warp the mouse within a window while it's minimized Sam Lantinga 2021-10-06 09:09:09 -0700
  • 87ac373493 Fix Debug-only builds with CMake Daniel Gibson 2021-10-06 03:39:59 +0200
  • 0d541e5a88 Revert "Fixed relative mode mouse events stopping if you click on the title bar" DomGries 2021-10-06 00:36:27 +0200
  • c542de9213 React to WM_NCACTIVATE instead of WM_SETFOCUS or WM_ACTIVATE for focus changes Sam Lantinga 2021-10-05 14:08:36 -0700
  • ab7910facf
    cmake: Move the old, global add_definitions (etc) to an interface library. Ryan C. Gordon 2021-10-05 12:34:29 -0400
  • f1793af404
    cmake: removed an add_definitions call. Ryan C. Gordon 2021-10-05 11:19:30 -0400
  • 25fdba39bb
    cmake: fix indentation. Ryan C. Gordon 2021-10-05 11:19:14 -0400
  • f306662544
    cmake: Correctly set IOS variable. Ryan C. Gordon 2021-10-05 11:13:41 -0400
  • 60d59aeb61
    cmake: Calculate padding for dislaying options automatically. Ryan C. Gordon 2021-10-05 10:54:06 -0400
  • 7850d0cf6f
    cmake: Prefix all options with "SDL_" Ryan C. Gordon 2021-10-05 10:43:35 -0400
  • 172957387e
    PSP: links for setting up, compiling and running on PSP Sylvain 2021-10-04 22:12:08 +0200
  • f080273acd
    PSP: add implementation for RenderGeometry Sylvain 2021-10-04 22:00:16 +0200
  • e92a639b23 replaced many uses of libc calls with SDL_ counterparts in os2 sources. Ozkan Sezer 2021-10-04 23:00:28 +0300
  • dd9b2daf8d
    PSP: fixed build Sylvain 2021-10-04 21:56:42 +0200
  • 3ea35fe5bb fix SDL_atoi() Ozkan Sezer 2021-10-04 21:32:00 +0300
  • 407867cf72 Alias SDL2::SDL2 to SDL2::SDL2-static on static-only builds Ivan Epifanov 2021-07-13 13:47:08 +0300
  • cd7ef24cba minor update to os2 makefile. Ozkan Sezer 2021-10-04 00:32:56 +0300
  • c501d159a9 Fixed range for Steam Controller sensor values Sam Lantinga 2021-10-03 14:10:21 -0700
  • ea1a2b94f2 Use the correct update rate for Steam Controller sensors Sam Lantinga 2021-10-02 09:12:57 -0700
  • eadc8f9355 wayland: Cleanup some SDL_TryLockMutex() calls. David Gow 2021-10-02 23:08:39 +0800
  • 25f9e32b0e wayland: Don't let multiple threads dispatch wayland events at once David Gow 2021-10-02 16:52:43 +0800
  • 8b74575267 Added support for the gyro and accelerometer on Steam Controllers Sam Lantinga 2021-10-01 21:32:21 -0700
  • db18764e41 Use correct relative include path Sam Lantinga 2021-10-01 16:27:59 -0700
  • 632aca2945 Window input focus is based on WM_SETFOCUS and WM_KILLFOCUS as WM_ACTIVATE doesn't necessarily imply focus. Sam Lantinga 2021-10-01 16:17:38 -0700
  • 9706feacae Update length after shortening string (thanks mayraud705!) Sam Lantinga 2021-10-01 15:11:25 -0700
  • 77acd44f28
    DirectFB: fixed creation of palette textures Sylvain 2021-10-01 22:30:51 +0200