Commit Graph

  • 8a5a05c168 events: Let arbitrary signals to simulate iOS/Android backgrounding events. Ryan C. Gordon 2019-03-15 15:51:05 -0400
  • 911bf6241b events: Make debug logging of the event queue a hint instead of an #ifdef. Ryan C. Gordon 2019-03-15 14:08:30 -0400
  • cbe80d4708 KMSDRM: valid file descriptors could positive or 0. -1 is invalid. (Bug 4530) Sylvain Becker 2019-03-13 14:54:51 +0100
  • 3bc1a8b619 Android: minor comment update Sylvain Becker 2019-03-13 14:08:21 +0100
  • 063c0c2a73 Android: check SDL is initialized before sending the event Avoid error message: SDLActivity thread ends (error=Video subsystem has not been initialized) Sylvain Becker 2019-03-13 09:39:30 +0100
  • 82758efc46 [iOS DAC] Fix touch events getting from SDL2 to source2. Sam Lantinga 2019-03-12 14:45:04 -0700
  • d05eec7207 Fixed initial display orientation at Android app start Sam Lantinga 2019-03-12 14:44:25 -0700
  • 1a8e3a0270 HIDAPI: fix bug that caused non-HID class parts of composite devices to have windows HID functions called on them. Sam Lantinga 2019-03-12 14:44:12 -0700
  • cddb285cdb Fixed bug 4513 - Wayland, fix crash when remove event is sent (from Sebastian Krzyszkowiak) Sylvain Becker 2019-03-12 20:04:08 +0100
  • 052b4f2969 SDL_EVDEV_kbd_init: uninitialized data for ioctl (Bug 4530) Sylvain Becker 2019-03-12 14:20:37 +0100
  • b28e956b8c Fixed bug 4542 - Image flipped vertically when rendering on texture Sylvain Becker 2019-03-12 07:59:53 +0100
  • 28f54ee439 SDL_MouseQuit(): clear mouse->cur_cursor (Bug 4530) Sylvain Becker 2019-03-11 15:31:46 +0100
  • 7b27594274 KMSDRM: missing return value in VideoInit() (Bug 4530) Sylvain Becker 2019-03-11 15:27:42 +0100
  • 3b49ee5261 KMSDRM: change calls free() to SDL_free() (Bug 4529) Sylvain Becker 2019-03-11 15:22:40 +0100
  • 2fd4aee149 Un-activate some routine on mips because they are slowers (Bug 4503) Sylvain Becker 2019-02-23 09:36:56 +0100
  • 47fb781b94 BlitNtoN BlitNtoNKey: remove non-aligned word read/store (bpp 3<->4) (Bug 4503) Sylvain Becker 2019-02-22 09:30:45 +0100
  • 6fbe9e23fa raspberry: expose second display. Ryan C. Gordon 2019-02-19 23:46:54 -0500
  • 90a075d75f Fix windows build Sylvain Becker 2019-02-18 22:48:14 +0100
  • e9a7b6973a Fix bug 4053: Blit issues on Big Endian CPU Sylvain Becker 2019-02-18 22:06:53 +0100
  • ea4c4cfc28 Fixed bug 4500 - Heap-Buffer Overflow in Map1toN pertaining to SDL_pixels.c Sam Lantinga 2019-02-18 07:50:33 -0800
  • afd1b3dae4 Fix invalid memory access and optimise Blit_3or4_to_3or4__* Sylvain Becker 2019-02-17 16:20:23 +0100
  • 1aa2ad2fe8 Better naming for the blit permutation variables Sylvain Becker 2019-02-09 17:40:32 +0100
  • f6a2ae6007 Faster blit colorkey or not, applied to bpp: 3->4 and 4->3 Sylvain Becker 2019-02-09 17:20:53 +0100
  • 604b44f20f Fix wrong access and simplify Sylvain Becker 2019-02-08 17:15:30 +0100
  • 5ed30f844d Some simplification of previous commit Sylvain Becker 2019-02-07 22:45:50 +0100
  • 5fd228921c Faster blit with CopyAlpha, no ColorKey Applied to following formats: Sylvain Becker 2019-02-07 22:03:30 +0100
  • 704e62bbf4 Code factorization of the pixel format permutation Sylvain Becker 2019-02-07 21:49:24 +0100
  • 0a007a9bea Fix wrong comment Sylvain Becker 2019-02-07 18:52:49 +0100
  • e5192384d0 Faster blit with no ColorKey Applied to following formats: Sylvain Becker 2019-02-07 18:51:14 +0100
  • 7372295ec9 Faster blit when using No Alpha or Set Alpha, + ColorKey Applied to following formats: Sylvain Becker 2019-02-07 17:52:28 +0100
  • bb9a9080dc Fix pointer warnings Sylvain Becker 2019-02-07 16:13:25 +0100
  • 3543a44ae4 Faster blit when using CopyAlpha + ColorKey Applied to following formats: Sylvain Becker 2019-02-07 15:12:17 +0100
  • 03cbac4040 Android/openslES: fix warnings, comment out un-used interface Sylvain Becker 2019-02-05 15:14:15 +0100
  • 614c8aea20 Android/openslES: set number of buffers of DATALOCATOR to internal NUM_BUFFER If we increase NUM_BUFFER, Enqueue won't fail with SL_RESULT_BUFFER_INSUFFICIENT Sylvain Becker 2019-02-05 15:09:41 +0100
  • bf823bf2dc Android/openslES: prevent to run out of buffers if Enqueue() fails. Sylvain Becker 2019-02-05 15:05:32 +0100
  • 40781dfb15 opengles2: patched to compile. Ryan C. Gordon 2019-02-04 23:35:18 -0500
  • b7504f311b opengles2: keep cached texturing state correct. Ryan C. Gordon 2019-02-04 23:32:28 -0500
  • a609c03ac6 opengles1: keep cached texturing state correct. Ryan C. Gordon 2019-02-04 23:24:10 -0500
  • 40a52ceef7 render: Fix OpenGL draw state cache for various points of texture binding. Ryan C. Gordon 2019-02-04 18:55:39 -0500
  • 670f3d3327 Fixed bug 4484 - use SIMD aligned memory for SDL_Surface Sylvain Becker 2019-02-04 09:11:07 +0100
  • 9292dc7ca1 Fix include path compilation Sylvain Becker 2019-02-04 08:43:37 +0100
  • 9a98dcc516 Rename surface aligned memory flag to SDL_SIMD_ALIGNED Sylvain Becker 2019-02-04 08:34:24 +0100
  • 65e07b3884 iOS/tvOS: fix support for SDL_GameControllerGetButton(controller, GUIDE) with MFi controllers (thanks Caleb!) Fixes bug #4463. Alex Szpakowski 2019-01-31 19:52:47 -0400
  • e5d194e902 Add SDL_MEMALIGNED flag for SDL_Surface using aligned memory. Sylvain Becker 2019-01-31 11:45:31 +0100
  • 7b8bac5958 Add fast paths in BlitNtoNKey Sylvain Becker 2019-01-30 22:50:20 +0100
  • cd25c83aad Fix blit with blending (Blit_A) to RGB332 which has no palette Sylvain Becker 2019-01-30 17:16:08 +0100
  • 5b07148f73 Fixed failing SDL_ConvertSurface() when blit has failed. Sylvain Becker 2019-01-30 16:36:47 +0100
  • a052d81bdf Add explicit unsigned int and char types in (for bug 4290) Sylvain Becker 2019-01-30 15:31:07 +0100
  • 1128d57316 Fixed bug 4290 - add fastpaths for format conversion in BlitNtoN Sylvain Becker 2019-01-30 15:23:33 +0100
  • 3b4e369365 Emscripten: No need for Runtime. for dynCalls Alon Zakai 2019-01-29 12:21:22 +0000
  • 53ead95e1d Emscripten: Avoid SDL2 in JS global scope After this fix, closure works with the LLVM wasm backend on SDL2. Alon Zakai 2019-01-29 12:19:36 +0000
  • 6d89a7bc71 Emscripten: remove GLES_DeleteContext implementation It was calling glClear without a context. The issue it was trying to solve was actually that after destroying a window and creating a new one , the contents of the old window were preserved. This no longer happens since we resize the window to nothing on destroy. Charlie Birks 2019-01-29 12:19:32 +0000
  • 04b1494cf8 Emscripten: resize canvas to 0x0 in DestroyWindow Closest we can get to actually destroying it Charlie Birks 2019-01-29 12:19:23 +0000
  • d60546aaa8 Emscripten: don't zero the display mode before adding it Charlie Birks 2019-01-29 12:19:06 +0000
  • 4a2888af10 Emscripten: use UTF8ToString instead of Pointer_stringify Charlie Birks 2019-01-29 12:19:03 +0000
  • aacb1091df Emscripten: call emscripten_sample_gamepad_data Charlie Birks 2019-01-29 12:19:00 +0000
  • 8dab9c956f Emscripten: Use set_canvas_element_size This will be needed for supporting multiple canvases and set_canvas_size is deprecated anyway. Charlie Birks 2019-01-29 12:18:56 +0000
  • ed66a430c9 Emscripten: Do not consume mouseup event outside of the canvas kichikuou 2019-01-29 12:14:54 +0000
  • 2838abb5b2 Emscripten: fix duplicate mousebuttonup/mousebuttondown events when touch events are disabled Sylvain Beucler 2019-01-29 12:14:44 +0000
  • 1767d09187 Emscripten: use a fake size for external sizing check The check would fail if the canvas happened to be the correct size already. (#66, mentioned in #58) Charlie Birks 2019-01-29 12:14:41 +0000
  • 80d690a2a0 Emscripten: reset fullscreen_window when leaving fullscreen If the browser left fullscreen mode by the user pressing ESC, the next call to SDL_SetWindowFullscreen(1) will fail as it thinks the window is already fullscreen. (#65) Charlie Birks 2019-01-29 12:14:33 +0000
  • 82b2c849f0 Fixed bug 4024 - GameController error "Unexpected controller element" Sylvain Becker 2019-01-21 23:41:43 +0100
  • adabfdc0c5 Revert SDL_gamecontrollerdb.h and sort_controllers.py from bug 4024 Sylvain Becker 2019-01-21 20:49:08 +0100
  • d984f323fc Fixed bug 3827 - issue with MapRGB, palette and colorkey Sylvain Becker 2019-01-21 19:53:06 +0100
  • 2bd26b8da8 Fixed bug 3827 - issue with MapRGB, palette and colorkey Sylvain Becker 2019-01-21 18:45:15 +0100
  • 7b354dda76 Fixed compiler warning Sam Lantinga 2019-01-20 13:53:16 -0800
  • 8ad4000ce2 Android: some typos Sylvain Becker 2019-01-20 22:17:41 +0100
  • b9aa3768ac Android: automatically attach to the JVM non-SDL threads Sylvain Becker 2019-01-20 22:11:56 +0100
  • 61827c6d1a Fixed compiler warning on Android Sam Lantinga 2019-01-20 12:02:12 -0800
  • 07548602d6 Fixed bug 3657 - Color-key doesn't work when an alpha channel is present Sylvain Becker 2019-01-19 16:47:43 +0100
  • 9d10c73853 Android: remove duplicate code in SDLGenericMotionListener_API24 and use parent method Sylvain Becker 2019-01-17 16:30:19 +0100
  • 55838d8bd6 Android: remove another hard-coded constant for Samsung DeX (no op!) Sylvain Becker 2019-01-17 14:59:46 +0100
  • 56f4a711e3 Android: minor change in the evaluation of SOURCE_CLASS_JOYSTICK (no op!) Sylvain Becker 2019-01-17 13:42:13 +0100
  • 8f828a8e1b Android: remove hard-coded constant for Samsung DeX (no op!) Sylvain Becker 2019-01-17 12:25:19 +0100
  • e5f8801f55 Android: prevent concurrency in Android_SetScreenResolution() when exiting by checking Android_Window validity Sylvain Becker 2019-01-17 11:05:05 +0100
  • 6690a46941 Android: also update APP_PLATFORM to android-16 in Application.mk Sylvain Becker 2019-01-17 09:28:30 +0100
  • ede0fc4f4c Fixed bug 4024 - remove trailing comma of Controller mappings because it reports an error "Unexpected controller element" Sylvain Becker 2019-01-16 14:03:35 +0100
  • 8a19ff3e2d Android: add mutex protection to onNativeOrientationChanged Sylvain Becker 2019-01-16 10:48:28 +0100
  • e994be5833 Android: move static variable isPaused/isPausing to SDL_VideoData structure Sylvain Becker 2019-01-16 10:31:51 +0100
  • 291f6006a1 Android: merge SDLJoystickHandler_API12 and SDLJoystickHandler_API16 Sylvain Becker 2019-01-16 09:22:20 +0100
  • a86754167c Android: remove trailing spaces Sylvain Becker 2019-01-16 09:12:31 +0100
  • d86de288d4 Android: remove old code after Android-16 has been set as minimum requirement Sylvain Becker 2019-01-16 09:11:13 +0100
  • 861a21f98b evdev: don't debug log on a BTN_TOUCH from a non-touch device. Ryan C. Gordon 2019-01-14 19:43:25 -0500
  • 2755a505a3 evdev: Add touchscreen mouse emulation and pressure support (thanks, Zach!). Ryan C. Gordon 2019-01-14 19:36:54 -0500
  • dc263450ff Android: create Pause/ResumeSem semaphore at higher level than CreateWindow() Sylvain Becker 2019-01-14 23:33:48 +0100
  • 1b24b2eca5 Android/openslES: fix Pause/ResumeDevices when openslES is not used Sylvain Becker 2019-01-14 22:56:57 +0100
  • ae41831e0d Android: minor, remove static attributes, move mIsSurfaceReady to SDLSurface Sylvain Becker 2019-01-14 21:34:12 +0100
  • 647b1f6a6d Android/openslES: check for non NULL variable, some intialization. use the previous naming Sylvain Becker 2019-01-14 14:36:13 +0100
  • 7b1cc441dd Android/openslES: start playing, after creating ressources Sylvain Becker 2019-01-14 14:31:06 +0100
  • 955d87894b Android/openslES: set audio in paused/resumed state for Android event loop And also in "stopped" state before closing the device. Sylvain Becker 2019-01-14 12:33:29 +0100
  • 59c8c7b684 Android/openslES: move a few static variables to SDL_PrivateAudioData structure Sylvain Becker 2019-01-14 10:58:57 +0100
  • 5aeeaaab70 Android/openslES: register and use CloseDevice function. Sylvain Becker 2019-01-14 10:16:26 +0100
  • 365fd9c602 Android/openslES: some space and indentation to match SDL conventions Sylvain Becker 2019-01-14 10:04:54 +0100
  • 7dc92a7669 Initial Android OpenSL ES implementation, contributed by ANTA Sam Lantinga 2019-01-12 12:18:44 -0800
  • fb8cb95fbc Fixed compiler warning Sam Lantinga 2019-01-12 12:12:43 -0800
  • 390459d83e Updated minimum supported Android version to API 16, to match latest NDK toolchain Sam Lantinga 2019-01-12 12:11:06 -0800
  • be991f3a78 Fixed bug 4453 - GLES / GLES2: first white renderer clear cmd is drawn as black Sylvain Becker 2019-01-12 13:34:03 +0100
  • 7b42f03fd9 Android: move and group JNIEnv helper functions Sylvain Becker 2019-01-11 21:52:43 +0100
  • 7f3478305f Android: change the way JNIEnv is retrieved Sylvain Becker 2019-01-11 21:42:52 +0100
  • dc10d96cde Android: use the same naming for JNI env local variables Sylvain Becker 2019-01-11 15:36:16 +0100