Commit Graph

  • f7f54f0d04 Implement keyboard input on RISC OS Cameron Cawley 2021-08-06 23:38:46 +01:00
  • f8a8ca3e1f Support proper mode switching on RISC OS Cameron Cawley 2021-08-05 23:16:29 +01:00
  • fe9bb74764 riscos: Refactor framebuffer code Cameron Cawley 2021-02-12 23:46:11 +00:00
  • 25c71748ad Add a barebones RISC OS video driver Cameron Cawley 2020-02-13 21:55:08 +00:00
  • a559864968 x11/wayland: Fix signal handling while blocking in WaitEventTimeout() Cameron Gutman 2021-10-30 19:30:34 -05:00
  • c97c46877f core: Convert SDL_IOReady()'s 2nd parameter to flags Cameron Gutman 2021-10-30 15:56:54 -05:00
  • 81fe2ccb9c cmake: Add missing SDL_JOYSTICK_WGI in config step Ybalrid (Arthur Brainville) 2021-10-31 02:54:20 +02:00
  • 8a4a282aaa alsa: Make hotplug thread optional. Ryan C. Gordon 2021-10-30 16:02:12 -04:00
  • 26706319d7 Ignore the ASRock LED controller, it's not a joystick Sam Lantinga 2021-10-30 05:53:12 -07:00
  • ac54d57aa5 event: Check subsystem initialization before events or devices Cameron Gutman 2021-10-26 20:02:38 -05:00
  • 1bc6dc3ea0 event: Cap maximum wait time if sensor or joystick subsystems are active Cameron Gutman 2021-10-26 20:02:04 -05:00
  • 2bf36bfac4 wayland: Implement WaitEventTimeout() and SendWakeupEvent() Cameron Gutman 2021-10-24 21:28:04 -05:00
  • 378c5d7ffe make aclocal install relative Joel Winarske 2021-10-23 16:26:25 -07:00
  • c7dafb1556 Sync wiki -> header SDL Wiki Bot 2021-10-27 01:36:05 +00:00
  • 6b8e880a10 checkkeysthreads: Create a renderer for window display on Wayland Cameron Gutman 2021-10-26 20:27:34 -05:00
  • 179a04f85a fnsince.pl: Don't print out the version numbers if updating the wiki. Ryan C. Gordon 2021-10-26 21:01:05 -04:00
  • 85edbc92ac fnsince.pl: Added a way to sync this information to the wiki. Ryan C. Gordon 2021-10-26 19:00:06 -04:00
  • f5de45aecc fnsince.pl: Found a few more incorrect versions. Ryan C. Gordon 2021-10-26 18:59:21 -04:00
  • e8fbcf893a fnsince.pl: a script to list version when all public APIs were added. Ryan C. Gordon 2021-10-26 12:12:52 -04:00
  • 1c6414603c Sync wiki -> header SDL Wiki Bot 2021-10-26 15:30:06 +00:00
  • 9c799802c9 Vita: fix IME input languages Ivan Epifanov 2021-10-26 15:18:26 +03:00
  • 7ac0c73af2 regenerated test/configure Ozkan Sezer 2021-10-25 21:40:04 +03:00
  • c57bcb47b1 test: Fix building with libunwind under autotools David Gow 2021-10-23 14:46:03 +08:00
  • fdb27e0b08 cmake: Use host wayland-scanner only (#4873) Joel Winarske 2021-10-25 09:04:07 -07:00
  • 408a93a1ec wayland: Use multi-thread event reading APIs Cameron Gutman 2021-10-23 15:43:04 -05:00
  • 4960cc3dcb Fixed a few warnings Sylvain 2021-10-25 16:18:40 +02:00
  • b793394590 SDL_Renderer: make clear that we use render geometry for fillrect/copy/copyex when there is no specific back-end implementation (currently software, PSP, directfb) Sylvain 2021-10-25 13:46:40 +02:00
  • b3f9d8f38d remove unused local vars after the latest commits. Ozkan Sezer 2021-10-25 07:05:50 +03:00
  • 502e9c3b45 SDL_Renderer simplifications: - Factorize PrepQueueCmdDraw{,DrawTexture,Solid) into one single function - Change SDL_Texture/Renderer r,g,b,a Uint8 into an SDL_Color, so that it can be passed directly to RenderGeometry - Don't automatically queue a SET_DRAW_COLOR cmd for RenderGeometry (and update GLES2 renderer) Sylvain 2021-10-24 17:16:49 +02:00
  • 23e252bfc5 DirectFB: provide RenderCopyEx via RenderGeometry Sylvain 2021-10-02 14:57:40 +02:00
  • 79732c9d1e Remove FillRects from back-end, where RenderGeometry can be used Sylvain 2021-09-25 11:35:20 +02:00
  • f02ad2820f Remove FillRects from back-end, where RenderGeometry can be used Sylvain 2021-09-25 11:31:18 +02:00
  • 70b10c753d Use correct indices when using RenderGeometry / FillRects Sylvain 2021-09-24 22:39:49 +02:00
  • 16beed9aeb Less code since color is constant when done with triangles Sylvain 2021-09-24 17:09:04 +02:00
  • 99a346439c OpenGLES2: LINES and POINTS successive commands are combined into a single draw call (using the same case for DRAW_GEOMETRY) Sylvain 2021-09-24 09:42:04 +02:00
  • f0cdc1d0f6 OpenGLES2: remove FillRects, since it's can be done with RenderGeometry Sylvain 2021-09-24 09:38:25 +02:00
  • 37c39d5cb4 Use geometry to implement FillRects Sylvain 2021-09-23 22:45:45 +02:00
  • b0eef52fe1 GLES2 batching: probably need to check for blendMode changes Sylvain 2021-09-23 22:32:29 +02:00
  • c27e1249e1 Remove SDL_HAVE_RENDER_GEOMETRY define Sylvain 2021-09-20 17:17:34 +02:00
  • 77026f673b Metal: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 17:09:44 +02:00
  • 0e5160a056 VITA: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 17:01:33 +02:00
  • 73f4ab4c13 Direct3D11: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 16:57:21 +02:00
  • ab758398af Direct3D: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 16:53:03 +02:00
  • 1fe7e3616b OpenGL: a few opengl functions become unused Sylvain 2021-09-20 16:46:16 +02:00
  • 88548070a5 OpenGLES: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 16:40:47 +02:00
  • d192515428 OpenGL: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 16:33:49 +02:00
  • b92056bbea OpenGLES2: remove RenderCopy and RenderCopyEx from back-end Sylvain 2021-09-20 16:33:03 +02:00
  • 76f9fb96d9 Use RenderGeometry to implement RenderCopy and RenderCopyEx at higher level Sylvain 2021-09-20 16:32:08 +02:00
  • 08797adaef opengles2: Attempt to batch RenderCopy calls into a single glDrawArrays call. Ryan C. Gordon 2021-09-19 00:39:28 -04:00
  • 1f0eb03a76 Fix PS5 mapping with HID-PLAYSTATION driver (#4675) Tanuj Bagaria 2021-10-24 23:54:26 +01:00
  • f499168c2c x11: Use SDL_IOReady() instead of calling select() directly Cameron Gutman 2021-10-24 15:54:57 -05:00
  • ba4ef461ea macOS: Fix implicit integer downcast warnings Alex Szpakowski 2021-10-23 15:28:13 -03:00
  • d9d8f51eec wikiheaders.pl: Add support for deprecated functions. Ryan C. Gordon 2021-10-23 14:37:47 -04:00
  • dbe55350ce include: Improve doxygen text on SDL_GetRevisionNumber(). Ryan C. Gordon 2021-10-23 14:38:32 -04:00
  • a76b73dd2c kmsdrm: Use SDL_PremultiplySurfaceAlphaToARGB8888() for cursor surface David Gow 2021-10-22 19:04:32 +08:00
  • b528d48446 wayland: Wayland cursors should use premultiplied alpha David Gow 2021-10-22 16:59:46 +08:00
  • 84808ea4bb video: Add SDL_PremultiplySurfaceAlphaToARGB8888() David Gow 2021-10-22 17:48:32 +08:00
  • 007b5463e8 video/uikit: Do not use setNeedsUpdateOfPrefersPointerLocked on iOS SDKs older than 14 uyjulian 2021-10-21 22:50:33 -05:00
  • 8f58bb9cf8 Added SDL_USE_BUILTIN_OPENGL_DEFINITIONS to avoid system OpenGL headers Sam Lantinga 2021-10-21 20:48:08 -07:00
  • b360965d0d Added a hint for alternate OpenGL NV12 data format Sam Lantinga 2021-10-21 20:48:05 -07:00
  • 6c134cf148 Sync wiki -> header SDL Wiki Bot 2021-10-22 00:39:04 +00:00
  • 19dee1cd16 Add SDL_GetWindowICCProfile(). (#4314) Cacodemon345 2021-10-22 06:37:20 +06:00
  • a34fe8161f Added the ability to bind NV12 textures in the OpenGL renderer Sam Lantinga 2021-10-21 12:28:35 -07:00
  • f3fd1ffb99 Fixed crash if SDL API functions are called on a disconnected controller on iOS Sam Lantinga 2021-10-20 15:18:03 -07:00
  • a43d3f6931 Don't detect the ROG Chakram mouse as a joystick Sam Lantinga 2021-10-20 15:19:22 -07:00
  • bfd2f8993f Fixed grab handling when focus changes between windows in the same application Sam Lantinga 2021-10-19 17:29:23 -07:00
  • d9c44b6537 Allow Cocoa_VideoInit to succeed when current display mode has invalid flags James Howard 2021-10-19 10:49:17 -07:00
  • 649a33ae47 X11: remove redundant 'wakeup_lock' mutex creation Sylvain 2021-10-18 23:00:43 +02:00
  • c4bac66b74 os2, geniconv: replaced many uses of libc calls with SDL_ counterparts. Ozkan Sezer 2021-10-18 14:11:20 +03:00
  • 0a0f685473 SDL_os2video.c: missed replacing a use of libc function Ozkan Sezer 2021-10-18 14:10:56 +03:00
  • 8e9ea2e362 SDL_os2joystick.c: missed replacing a use of libc function Ozkan Sezer 2021-10-18 14:10:37 +03:00
  • 8b1a2fe860 backout SDL_AndroidSetInputType() Sylvain 2021-10-17 23:47:59 +02:00
  • 6ef3bc5688 Add Dynapi for SDL_AndroidSetInputType() Sylvain 2021-10-17 23:40:36 +02:00
  • ccb12457f9 Fixed bug #4843 - Can not get the ime candidatelist like chinese/japaness input method Sylvain 2021-10-17 23:17:54 +02:00
  • 7fb4364391 Don't process WM_INPUT when handling relative mode by warping the mouse cursor Sam Lantinga 2021-10-17 13:56:31 -07:00
  • 06824b18fd Cleanup windows events after recent changes DomGries 2021-10-17 19:50:39 +02:00
  • 50f969c1b2 Fixed bug #4841 - Out of bounds read (by 1 byte) in yuvnv12_rgb24_sseu Sylvain 2021-10-17 22:02:19 +02:00
  • ea97ab6164 Add mapping for HORI Fighting Commander OCTA controller on Linux shaquan-omari 2021-10-13 16:31:05 -04:00
  • 1c5b3e0e16 Don't center the mouse when gaining focus unless we're using relative mode warping Sam Lantinga 2021-10-15 18:12:18 -07:00
  • 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 -07:00
  • c583055acb SDL_windowsevents.c (WIN_WindowProc): remove SAFE_AREA_X and SAFE_AREA_Y Ozkan Sezer 2021-10-15 10:11:24 +03:00
  • d5700ed20b Don't log SDL_POLLSENTINEL, it's purely for internal bookkeeping Sam Lantinga 2021-10-15 00:01:39 -07:00
  • dd5d89505d Fixed whitespace Sam Lantinga 2021-10-14 23:53:25 -07:00
  • 7f728f3eb6 enabled os2 joystick code (if anyone has actually a use for it...) Ozkan Sezer 2021-10-15 08:51:02 +03:00
  • 8a48ce00c8 Sync wiki -> header SDL Wiki Bot 2021-10-15 05:28:04 +00:00
  • 8bf32e12d8 Improved SDL_PollEvent usage (#4794) Brick 2021-10-15 06:26:10 +01:00
  • 43da35b567 Back out documentation changes in favor of https://github.com/libsdl-org/SDL/pull/4794 Sam Lantinga 2021-10-14 22:22:59 -07:00
  • 0dc57b0f08 Remove slightly misleading comment in the example code Sam Lantinga 2021-10-14 19:42:36 -07:00
  • 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 -07:00
  • 88e9f7765c Fixed relative mouse mode using warping after 82793ac279 Sam Lantinga 2021-10-14 18:37:27 -07:00
  • a1fabca162 Removed mouse warping for local mice and improved warp handling for mouse over RDP Sam Lantinga 2021-10-14 16:52:21 -07:00
  • 82793ac279 Fixed mouse warping while in relative mode Sam Lantinga 2021-10-14 14:26:21 -07:00
  • 072e3fdfc4 Fixed bug #4534: NEON implementation of Convert51ToStereo (Thanks Ryan!) Sylvain 2021-10-14 23:17:08 +02:00
  • 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 -07:00
  • 0b6a821188 Messages posted on the same tick are not new Brick 2021-10-12 14:08:20 +01:00
  • 0789610cfb Add SDL_HINT_WINDOW_NO_ACTIVATION_WHEN_SHOWN Rémy Tassoux 2021-10-14 00:52:05 +02:00
  • 227c33b8ec Add note about SDL_TICKS_PASSED hitting int overflow problems with large timeouts Sam Lantinga 2021-10-13 09:33:57 -07:00
  • 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 -07:00
  • 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 -07:00
  • 325ae5c35d Android: getCurrentOrientation uses getContext() to retrieve the activity (see bug #4825) Sylvain 2021-10-13 08:35:56 +02:00