Commit Graph

  • c5f4524112 Fixed bug 4452 - Please replace AC_HELP_STRING with AS_HELP_STRING Sam Lantinga 2019-03-16 17:47:59 -07:00
  • f55c0b55d1 Added missing PKG_CONFIG macros Sam Lantinga 2019-03-16 17:39:15 -07:00
  • d62eb35de7 Use host system pkg-config when (cross-)compiling and convert to PKG_CHECK_MODULES Hugh McMaster 2019-02-03 20:06:18 +11:00
  • bb3f8ba9ed Fix compiler warnings. Ryan C. Gordon 2019-03-16 00:08:19 -04:00
  • 563d5b5887 testgesture: Add dependency to SDLtest to Visual Studio project. Ryan C. Gordon 2019-03-15 23:54:42 -04:00
  • 0c330d1706 testgesture: cleaned up code formatting, etc. Ryan C. Gordon 2019-03-15 22:39:31 -04:00
  • c36a588979 testgesture: minor cleanups. Ryan C. Gordon 2019-03-15 22:17:21 -04:00
  • d3fa1bfaef test: Moved testgesture.c over to the common SDLtest framework. Ryan C. Gordon 2019-03-15 22:16:02 -04:00
  • b5dcdab3ae events: Disable all the signal-handling code on platforms without support. Ryan C. Gordon 2019-03-15 16:13:19 -04:00
  • 98d2c67184 events: Let arbitrary signals to simulate iOS/Android backgrounding events. Ryan C. Gordon 2019-03-15 15:51:05 -04:00
  • 31d5495aef events: Make debug logging of the event queue a hint instead of an #ifdef. Ryan C. Gordon 2019-03-15 14:08:30 -04:00
  • 5c233059a1 KMSDRM: valid file descriptors could positive or 0. -1 is invalid. (Bug 4530) Sylvain Becker 2019-03-13 14:54:51 +01:00
  • ad3dac36c1 Android: minor comment update Sylvain Becker 2019-03-13 14:08:21 +01:00
  • de8b461135 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 +01:00
  • 41a643dfc0 [iOS DAC] Fix touch events getting from SDL2 to source2. Sam Lantinga 2019-03-12 14:45:04 -07:00
  • cdc0e57d52 Fixed initial display orientation at Android app start Sam Lantinga 2019-03-12 14:44:25 -07:00
  • 21502d28f9 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 -07:00
  • 85e306aea7 Fixed bug 4513 - Wayland, fix crash when remove event is sent (from Sebastian Krzyszkowiak) Sylvain Becker 2019-03-12 20:04:08 +01:00
  • f2ced8ea4e SDL_EVDEV_kbd_init: uninitialized data for ioctl (Bug 4530) Sylvain Becker 2019-03-12 14:20:37 +01:00
  • 0b82cde5b9 Fixed bug 4542 - Image flipped vertically when rendering on texture Sylvain Becker 2019-03-12 07:59:53 +01:00
  • 4569283b4b SDL_MouseQuit(): clear mouse->cur_cursor (Bug 4530) Sylvain Becker 2019-03-11 15:31:46 +01:00
  • 36e1d00388 KMSDRM: missing return value in VideoInit() (Bug 4530) Sylvain Becker 2019-03-11 15:27:42 +01:00
  • a49de64fc5 KMSDRM: change calls free() to SDL_free() (Bug 4529) Sylvain Becker 2019-03-11 15:22:40 +01:00
  • f13fbfa355 Un-activate some routine on mips because they are slowers (Bug 4503) Sylvain Becker 2019-02-23 09:36:56 +01:00
  • 304181ddba BlitNtoN BlitNtoNKey: remove non-aligned word read/store (bpp 3<->4) (Bug 4503) Sylvain Becker 2019-02-22 09:30:45 +01:00
  • 96ac05a950 raspberry: expose second display. Ryan C. Gordon 2019-02-19 23:46:54 -05:00
  • de875deb84 Fix windows build Sylvain Becker 2019-02-18 22:48:14 +01:00
  • 41e784b545 Fix bug 4053: Blit issues on Big Endian CPU Sylvain Becker 2019-02-18 22:06:53 +01:00
  • c5566ee088 Fixed bug 4500 - Heap-Buffer Overflow in Map1toN pertaining to SDL_pixels.c Sam Lantinga 2019-02-18 07:50:33 -08:00
  • e76dc7b2d9 Fix invalid memory access and optimise Blit_3or4_to_3or4__* Sylvain Becker 2019-02-17 16:20:23 +01:00
  • 8cf29ab217 Better naming for the blit permutation variables Sylvain Becker 2019-02-09 17:40:32 +01:00
  • 8cc254db67 Faster blit colorkey or not, applied to bpp: 3->4 and 4->3 Sylvain Becker 2019-02-09 17:20:53 +01:00
  • 7fb47ca1f1 Fix wrong access and simplify Sylvain Becker 2019-02-08 17:15:30 +01:00
  • b0f9ce9bb1 Some simplification of previous commit Sylvain Becker 2019-02-07 22:45:50 +01:00
  • 626415306a Faster blit with CopyAlpha, no ColorKey Applied to following formats: Sylvain Becker 2019-02-07 22:03:30 +01:00
  • 0813298a0b Code factorization of the pixel format permutation Sylvain Becker 2019-02-07 21:49:24 +01:00
  • 3387cb6950 Fix wrong comment Sylvain Becker 2019-02-07 18:52:49 +01:00
  • 3b7fda2345 Faster blit with no ColorKey Applied to following formats: Sylvain Becker 2019-02-07 18:51:14 +01:00
  • b8b7a095a2 Faster blit when using No Alpha or Set Alpha, + ColorKey Applied to following formats: Sylvain Becker 2019-02-07 17:52:28 +01:00
  • 3301dd6544 Fix pointer warnings Sylvain Becker 2019-02-07 16:13:25 +01:00
  • 167da110c5 Faster blit when using CopyAlpha + ColorKey Applied to following formats: Sylvain Becker 2019-02-07 15:12:17 +01:00
  • 85f2dd4f71 Android/openslES: fix warnings, comment out un-used interface Sylvain Becker 2019-02-05 15:14:15 +01:00
  • 152b303dfd 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 +01:00
  • f56515c851 Android/openslES: prevent to run out of buffers if Enqueue() fails. Sylvain Becker 2019-02-05 15:05:32 +01:00
  • 7719c8450b opengles2: patched to compile. Ryan C. Gordon 2019-02-04 23:35:18 -05:00
  • e9ff968b3d opengles2: keep cached texturing state correct. Ryan C. Gordon 2019-02-04 23:32:28 -05:00
  • 1603864f35 opengles1: keep cached texturing state correct. Ryan C. Gordon 2019-02-04 23:24:10 -05:00
  • 18c266de93 render: Fix OpenGL draw state cache for various points of texture binding. Ryan C. Gordon 2019-02-04 18:55:39 -05:00
  • 5941b81d84 Fixed bug 4484 - use SIMD aligned memory for SDL_Surface Sylvain Becker 2019-02-04 09:11:07 +01:00
  • 279eb4402b Fix include path compilation Sylvain Becker 2019-02-04 08:43:37 +01:00
  • e8c223cb60 Rename surface aligned memory flag to SDL_SIMD_ALIGNED Sylvain Becker 2019-02-04 08:34:24 +01:00
  • c19e94596e 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 -04:00
  • 0284e7473d Add SDL_MEMALIGNED flag for SDL_Surface using aligned memory. Sylvain Becker 2019-01-31 11:45:31 +01:00
  • 5640b6979e Add fast paths in BlitNtoNKey Sylvain Becker 2019-01-30 22:50:20 +01:00
  • 2ec8d9a6c8 Fix blit with blending (Blit_A) to RGB332 which has no palette Sylvain Becker 2019-01-30 17:16:08 +01:00
  • 60212ed070 Fixed failing SDL_ConvertSurface() when blit has failed. Sylvain Becker 2019-01-30 16:36:47 +01:00
  • 91baf7aaa3 Add explicit unsigned int and char types in (for bug 4290) Sylvain Becker 2019-01-30 15:31:07 +01:00
  • 68ecb348c0 Fixed bug 4290 - add fastpaths for format conversion in BlitNtoN Sylvain Becker 2019-01-30 15:23:33 +01:00
  • 78da1d9a38 Emscripten: No need for Runtime. for dynCalls Alon Zakai 2019-01-29 12:21:22 +00:00
  • 1828674832 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 +00:00
  • 108a35921c 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 +00:00
  • 262ea466d0 Emscripten: resize canvas to 0x0 in DestroyWindow Closest we can get to actually destroying it Charlie Birks 2019-01-29 12:19:23 +00:00
  • 4e6cd08732 Emscripten: don't zero the display mode before adding it Charlie Birks 2019-01-29 12:19:06 +00:00
  • ca69e9923c Emscripten: use UTF8ToString instead of Pointer_stringify Charlie Birks 2019-01-29 12:19:03 +00:00
  • 126088611d Emscripten: call emscripten_sample_gamepad_data Charlie Birks 2019-01-29 12:19:00 +00:00
  • e9c3c358bb 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 +00:00
  • 7bed1aea38 Emscripten: Do not consume mouseup event outside of the canvas kichikuou 2019-01-29 12:14:54 +00:00
  • 31a1284924 Emscripten: fix duplicate mousebuttonup/mousebuttondown events when touch events are disabled Sylvain Beucler 2019-01-29 12:14:44 +00:00
  • 4901168267 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 +00:00
  • 87ed183209 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 +00:00
  • 2158e9868f Fixed bug 4024 - GameController error "Unexpected controller element" Sylvain Becker 2019-01-21 23:41:43 +01:00
  • f2d8b8063f Revert SDL_gamecontrollerdb.h and sort_controllers.py from bug 4024 Sylvain Becker 2019-01-21 20:49:08 +01:00
  • 68694b625a Fixed bug 3827 - issue with MapRGB, palette and colorkey Sylvain Becker 2019-01-21 19:53:06 +01:00
  • 7804004243 Fixed bug 3827 - issue with MapRGB, palette and colorkey Sylvain Becker 2019-01-21 18:45:15 +01:00
  • d52ff47b91 Fixed compiler warning Sam Lantinga 2019-01-20 13:53:16 -08:00
  • d8de894591 Android: some typos Sylvain Becker 2019-01-20 22:17:41 +01:00
  • 287f3059f4 Android: automatically attach to the JVM non-SDL threads Sylvain Becker 2019-01-20 22:11:56 +01:00
  • e6b7619e67 Fixed compiler warning on Android Sam Lantinga 2019-01-20 12:02:12 -08:00
  • e1e05d5d70 Fixed bug 3657 - Color-key doesn't work when an alpha channel is present Sylvain Becker 2019-01-19 16:47:43 +01:00
  • 9b47e84e5f Android: remove duplicate code in SDLGenericMotionListener_API24 and use parent method Sylvain Becker 2019-01-17 16:30:19 +01:00
  • 9fe9f944c4 Android: remove another hard-coded constant for Samsung DeX (no op!) Sylvain Becker 2019-01-17 14:59:46 +01:00
  • 6b00cbb96e Android: minor change in the evaluation of SOURCE_CLASS_JOYSTICK (no op!) Sylvain Becker 2019-01-17 13:42:13 +01:00
  • 55564d0ca1 Android: remove hard-coded constant for Samsung DeX (no op!) Sylvain Becker 2019-01-17 12:25:19 +01:00
  • d9931045f2 Android: prevent concurrency in Android_SetScreenResolution() when exiting by checking Android_Window validity Sylvain Becker 2019-01-17 11:05:05 +01:00
  • 9a1a6cec9d Android: also update APP_PLATFORM to android-16 in Application.mk Sylvain Becker 2019-01-17 09:28:30 +01:00
  • f391324f91 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 +01:00
  • e241cfa32f Android: add mutex protection to onNativeOrientationChanged Sylvain Becker 2019-01-16 10:48:28 +01:00
  • 28602e239c Android: move static variable isPaused/isPausing to SDL_VideoData structure Sylvain Becker 2019-01-16 10:31:51 +01:00
  • f9373b63b3 Android: merge SDLJoystickHandler_API12 and SDLJoystickHandler_API16 Sylvain Becker 2019-01-16 09:22:20 +01:00
  • 9b5390c0f1 Android: remove trailing spaces Sylvain Becker 2019-01-16 09:12:31 +01:00
  • 68f12e3786 Android: remove old code after Android-16 has been set as minimum requirement Sylvain Becker 2019-01-16 09:11:13 +01:00
  • 9654d91230 evdev: don't debug log on a BTN_TOUCH from a non-touch device. Ryan C. Gordon 2019-01-14 19:43:25 -05:00
  • a6a92f73d3 evdev: Add touchscreen mouse emulation and pressure support (thanks, Zach!). Ryan C. Gordon 2019-01-14 19:36:54 -05:00
  • 984e2734ff Android: create Pause/ResumeSem semaphore at higher level than CreateWindow() Sylvain Becker 2019-01-14 23:33:48 +01:00
  • abf0a4a1b8 Android/openslES: fix Pause/ResumeDevices when openslES is not used Sylvain Becker 2019-01-14 22:56:57 +01:00
  • afa59ae833 Android: minor, remove static attributes, move mIsSurfaceReady to SDLSurface Sylvain Becker 2019-01-14 21:34:12 +01:00
  • 7bfcc593ea Android/openslES: check for non NULL variable, some intialization. use the previous naming Sylvain Becker 2019-01-14 14:36:13 +01:00
  • 23ad908d94 Android/openslES: start playing, after creating ressources Sylvain Becker 2019-01-14 14:31:06 +01:00
  • 6590fe7d44 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 +01:00
  • 667f58bce4 Android/openslES: move a few static variables to SDL_PrivateAudioData structure Sylvain Becker 2019-01-14 10:58:57 +01:00