Commit Graph

  • 35722b6423 Android: fix wrong state after immediate sequence pause() / resume() / pause() Sylvain Becker 2019-01-05 22:27:25 +01:00
  • d4c0f498db Fixed bug 4255 - SDL_GetGlobalMouseState() returns incorrect Y on secondary display Sam Lantinga 2019-01-04 22:09:38 -08:00
  • 5e13087b0f Updated copyright for 2019 Sam Lantinga 2019-01-04 22:01:14 -08:00
  • 2a885eb036 Android: fixed immediate transition to pause and resume. Sylvain Becker 2019-01-04 23:39:27 +01:00
  • cf12234454 Android: make Android_PumpEvents() more readable No behavior change in this commit. Sylvain Becker 2019-01-04 23:11:21 +01:00
  • ca184ac386 Android: concurrency issue with egl_surface EGL_BAD_SURFACE - (bug 4142) Sylvain Becker 2019-01-03 23:22:50 +01:00
  • 2e19343df6 Android: use Mutex instead of Semphore for bug 4142 Sylvain Becker 2019-01-03 20:18:29 +01:00
  • 23478642bd Android: prevent the error message from SDL_EGL_CreateSurface() to be masked. Sylvain Becker 2019-01-03 16:22:33 +01:00
  • cc8f1136b6 Fixed bug 4142 - Concurrency issues in Android backend Sylvain Becker 2019-01-03 14:18:06 +01:00
  • d11f7615fa Android: minor preparation for bug 4142 (concurrency issues) Sylvain Becker 2019-01-03 13:38:33 +01:00
  • 5dc25fef3b Android: preparation bug 4142, reduce usage of global variable Android_Window Sylvain Becker 2019-01-03 13:14:16 +01:00
  • a95f91bcea Fixed bug 3250 - Wrong backbuffer pixel format on Android, keep getting RGB_565 Sylvain Becker 2019-01-02 18:06:33 +01:00
  • a02998a292 Android: make sure surfaceChanged try to enter into 'resumed' state. Sylvain Becker 2019-01-02 17:41:33 +01:00
  • 4d2b5c791e Fixed bug 4424 - Android windowed mode is broken (Thanks Jonas Thiem!) Sylvain Becker 2019-01-02 17:08:01 +01:00
  • 03b0e1dee0 Android: on rare occasion, prevent Android_JNI_GetNativeWindow() from crashing Sylvain Becker 2018-12-30 22:44:25 +01:00
  • 1e22fc1513 Android: fixed comments and spaces Sylvain Becker 2018-12-30 15:41:28 +01:00
  • 2a412eb94c Fixed bug 3186 - Android SW keyboard not restored when app becomes foreground. Sylvain Becker 2018-12-30 15:39:37 +01:00
  • d09774a47c Fixed bug 3511 - documentation to end an Android application Sylvain Becker 2018-12-30 14:23:25 +01:00
  • 9cdd0dd996 PSP renderer: use colors from 'draw' union (very likely, but un-tested) Sylvain Becker 2018-12-29 17:59:34 +01:00
  • ebd9efb361 opengles 1: same fix as in bug #4433 Sylvain Becker 2018-12-29 16:37:44 +01:00
  • 87b7636918 opengles 1: use color from 'draw' union in SetDrawState() Sylvain Becker 2018-12-29 16:34:50 +01:00
  • dc3443602b render: Fix internal state getting out of sync when destroying a texture that was just rendered and then creating a new one, in the GL and GLES2 backends. Fixes bug #4433. Alex Szpakowski 2018-12-21 20:53:31 -04:00
  • 0a70590118 render: Prefer the Metal renderer over OpenGL. Ryan C. Gordon 2018-12-19 18:10:02 -05:00
  • c7db6ade7d metal: Implement SDL_LockTexture for YUV formats. Alex Szpakowski 2018-12-19 18:27:21 -04:00
  • ce8c716ada metal: Implement SDL_LockTexture for non-YUV textures. Alex Szpakowski 2018-12-18 14:23:05 -04:00
  • c0c8f2d703 Gesture: remove warnings when ENABLE_DOLLAR is undefined. Sylvain Becker 2018-12-16 11:15:21 +01:00
  • c3e3503ee8 testgl2: Press 'o' or 'p' to decrease/increase OpenGL swap interval. Ryan C. Gordon 2018-12-16 01:04:07 -05:00
  • 13869f194c cocoa: Implement OpenGL swap interval support with CVDisplayLink. Ryan C. Gordon 2018-12-16 01:03:17 -05:00
  • 1ed6021960 Fixed bug 4426 - allows re-creation of software renderer Sylvain Becker 2018-12-15 16:21:24 +01:00
  • 1829692753 emscripten: SDL_PrivateJoystickAdded() wants an instance id, not device index. Ryan C. Gordon 2018-12-15 09:57:05 -05:00
  • e5476c653d Fixed bug 4425 - promote to alpha format, palette surface with alpha values. Sylvain Becker 2018-12-15 14:50:12 +01:00
  • bd08d72dec Fixed building with the 10.10 SDK Sam Lantinga 2018-12-11 20:04:10 -08:00
  • 98829d37e8 Handle both "Sony Interactive Intertainment" and "Sony Computer Entertainment" when ignoring motion sensors Sam Lantinga 2018-12-11 19:50:58 -08:00
  • 71b6645177 Rename _SDL_sensor_h in public header, not to trigger Wreserved-id-macro Sylvain Becker 2018-12-10 13:32:24 +01:00
  • 0b6e24f7e7 Linux Haptic: Fix periodic.magnitude value Ethan Lee 2018-12-06 14:26:18 -05:00
  • 39e8e3951c Fixed bug 4379 - fix parallel build with slibtool Sam Lantinga 2018-12-08 11:22:50 -08:00
  • 1c9595b16f Fixed bug 4415 - SDL menu bar is nonstandard on Mac Sam Lantinga 2018-12-08 11:06:40 -08:00
  • 70ce0f2e06 Added the hint SDL_HINT_GAMECONTROLLERCONFIG_FILE to specify a file to load at initialization containing SDL game controller mappings Sam Lantinga 2018-12-07 12:02:08 -08:00
  • 898644d18e Made it more clear that the values being compared are floats Sam Lantinga 2018-12-06 09:09:05 -08:00
  • f9192ab8fc wayland: Do not try to lock on an invalid pointer Brandon Schaefer 2018-12-06 10:39:33 -05:00
  • 7468d1e096 Fix warnings detected on Android build Sylvain Becker 2018-12-06 15:46:40 +01:00
  • 39ec1699e7 opengles2: fix prototype of glDeleteBuffers Sylvain Becker 2018-12-06 10:24:44 +01:00
  • 252dc85e95 Fix warnings detected on Android build Sylvain Becker 2018-12-06 09:22:00 +01:00
  • a7563bcd3d joystick: Removed unused variable. Ryan C. Gordon 2018-12-05 19:03:15 -05:00
  • c7b713714a Whoops, forgot to add a new source file. :/ Ryan C. Gordon 2018-12-05 17:53:38 -05:00
  • 6ed76ae18f Fixed the ROCCAT Tyon mouse showing up as a joystick on Windows Sam Lantinga 2018-12-05 14:46:03 -08:00
  • fbead63540 joystick: Added controller config for IMS Passenger Control Unit Devices. Ryan C. Gordon 2018-12-05 16:55:59 -05:00
  • 2878d4f80c egl: Don't force X11 support when testing for EGL. Ryan C. Gordon 2018-12-05 16:53:15 -05:00
  • 1689e9f910 linux: Move SDL_LinuxSetThreadPriority() elsewhere to fix build. Ryan C. Gordon 2018-12-05 16:51:22 -05:00
  • bd3ee07c83 wayland: Send SDL_TOUCH_MOUSEID mouse events for touches. Ryan C. Gordon 2018-12-05 16:49:38 -05:00
  • 6259a72636 Warnings: fix a documentation warning and missing prototypes Sylvain Becker 2018-12-05 16:13:12 +01:00
  • db320e460a Fixed the PS4 motion controls showing up as a separate game controller on Linux Sam Lantinga 2018-12-04 14:21:29 -08:00
  • 69c256c102 Fix comment and end of lines Sylvain Becker 2018-12-04 18:15:45 +01:00
  • f64c943370 Update comment URL of USB document (HID Usage Tables 1.12) Sylvain Becker 2018-12-04 17:13:13 +01:00
  • 09b462044f Windows: NEON detection and intrinsic includes on Visual Studio Sylvain Becker 2018-12-04 16:50:31 +01:00
  • aea7e56a24 android: use __ARM_NEON instead of __ARM_NEON__ to include <arm_neon.h> Sylvain Becker 2018-12-04 12:34:45 +01:00
  • cca9d24cde direct3d: be more aggressive about resetting invalidated cached state. Ryan C. Gordon 2018-12-03 09:26:05 -05:00
  • 939bf1c4d8 render: fix some static analysis warnings. Ryan C. Gordon 2018-12-03 02:06:17 -05:00
  • 33f78eb163 direct3d: Make sure streaming textures update before being used for drawing. Ryan C. Gordon 2018-12-03 01:58:23 -05:00
  • b744108af8 Patched to compile on C89 compilers. Ryan C. Gordon 2018-12-02 21:57:33 -05:00
  • 3c9361509b direct3d: Release and NULL out vertex buffers on reset. Ryan C. Gordon 2018-12-02 20:55:57 -05:00
  • d4a21f54b8 cmake: Comment out some debug logging that can upset build environments. Ryan C. Gordon 2018-12-02 02:43:32 -05:00
  • 65a7c98c6f directfb: Updated render backend to new internal API. Ryan C. Gordon 2018-12-02 02:33:06 -05:00
  • 583f61b202 kmsdrm: Check for resources when validating KMSDRM device in check_modesetting. Sergey Zhuravlevich 2018-12-01 16:31:56 -05:00
  • b3ac87d559 kmsdrm: uninitialized KMSDRM fixes Sergey Zhuravlevich 2018-12-01 13:09:00 -05:00
  • 3323b355c9 android: use cpufeatures to support SDL_HasNEON() (thanks, Sylvain!). Ryan C. Gordon 2018-12-01 12:19:11 -05:00
  • 1e4acca851 Added some detail to a Doxygen comment (thanks, Sylvain!). Ryan C. Gordon 2018-12-01 12:17:34 -05:00
  • fac40f8e4c Patched to compile on Linux with threads enabled. (whoops!) Ryan C. Gordon 2018-12-01 11:14:20 -05:00
  • c4bc59a50e Patched to compile on Linux with --disable-threads. Ryan C. Gordon 2018-12-01 10:36:26 -05:00
  • f205f3a8c2 Added support for the Razer Raiju Mobile Sam Lantinga 2018-11-27 15:10:26 -08:00
  • a95291c9c8 Fixed the hotspot for cursors on Raspberry Pi Sam Lantinga 2018-11-27 11:16:04 -08:00
  • aea483577a Fixed bug changing cursors on Raspberry Pi Sam Lantinga 2018-11-27 10:20:29 -08:00
  • 3f0d520a49 SDL_touch.h (SDL_TouchDeviceType): remove comma at end of enumerator list. Ozkan Sezer 2018-11-26 19:55:01 +03:00
  • 37b1f989ce metal: use a staging texture in SDL_UpdateTexture, to make sure it doesn't stomp texture data being drawn in a previous frame on the GPU. Alex Szpakowski 2018-11-25 22:13:09 -04:00
  • 7b306bf34d Added atomics support for armv8-a (Raspberry Pi 3) Sam Lantinga 2018-11-23 21:29:42 -08:00
  • bd0ae0a5dd Do a second pass to find libraries without a single version digit after the .so This finds libsndio.so.6.1 on Raspberry Pi Sam Lantinga 2018-11-23 21:11:11 -08:00
  • 872936a485 metal: Fix an incorrect division. Alex Szpakowski 2018-11-21 23:46:37 -04:00
  • 4a58722b9f metal: SDL_RenderFillRects uses one draw call per 16k rectangles (within the given FillRects call), instead of one draw call per rectangle. Reduces CPU usage when drawing many rectangles. Alex Szpakowski 2018-11-21 23:37:23 -04:00
  • 5f98051457 wayland: ask xdg-decoration protocol extension to use server-side decorations if possible. Sebastian Krzyszkowiak 2018-11-04 21:08:40 +01:00
  • 14e389eadc minor update to Makefile.os2, added a test/Makefile.os2. Ozkan Sezer 2018-11-20 10:55:00 +03:00
  • 5c5ba0e331 Fixed bug 4394 - Crash in SDL_PumpEvents() after SDL_DestroyWindow() Sam Lantinga 2018-11-19 21:35:59 -08:00
  • ac15de18bd Fixed bug 4392 - SDL_cpuinfo.h breaks compilation with C bool type Sam Lantinga 2018-11-19 21:28:52 -08:00
  • b73703b9c6 Fixed bug 4391 - hid_enumerate() sometimes causes game to freeze for a few seconds Sam Lantinga 2018-11-19 21:17:00 -08:00
  • d3fa42b8c4 os/2 bits for SDL_malloc.c -- from libffi Ozkan Sezer 2018-11-18 19:28:20 +03:00
  • 1a02403ea7 libm: Watcom defines huge=__huge: undefine it to fix build using Watcom. Ozkan Sezer 2018-11-18 11:50:20 +03:00
  • ed8413c937 Makefile.os2: build libm as a static lib and add it to linkage. Ozkan Sezer 2018-11-18 11:50:02 +03:00
  • 457e58c40b opengles: Fixed compiler warnings. Ryan C. Gordon 2018-11-17 16:24:52 -05:00
  • 9719f89db2 Back out change initializing renderer blend mode incorrectly. Sam Lantinga 2018-11-17 12:12:29 -08:00
  • fde7592ada direct3d11: Fixed missing rendering of solid primitives. Ryan C. Gordon 2018-11-17 14:39:42 -05:00
  • 782f1685ff Fixed a few compiler warnings. Ryan C. Gordon 2018-11-17 14:37:51 -05:00
  • 29e15ce62d The default draw blendmode is SDL_BLENDMODE_NONE Sam Lantinga 2018-11-17 00:58:45 -08:00
  • 1f6bd95110 Emscripten: make CloseAudio actually close audio cf. https://bugzilla.libsdl.org/show_bug.cgi?id=4176 Sylvain Beucler 2018-11-15 18:22:30 +00:00
  • 43d47f6b24 fix permissions Ozkan Sezer 2018-11-15 07:20:02 +03:00
  • 9262c0de9b software: fix blits with color mods that change during a command queue run. Ryan C. Gordon 2018-11-14 22:38:58 -05:00
  • 2e348c1f59 Fixed bug 3193 - Dualshock 3's motion sensors overwrite analog stick Sam Lantinga 2018-11-14 13:37:22 -08:00
  • 1a4c0d4e17 Fixed bug 4377 - SDL_PIXELFORMAT enum is anonymous, which prevents its use in a templated function Sam Lantinga 2018-11-12 19:23:49 -08:00
  • b815ad56fc Fixed bug 4366 - Compile throws a warning on RPI (Raspbian Stretch) Sam Lantinga 2018-11-12 16:42:49 -08:00
  • 5e1531944c Fixed bug 4367 - compatibility version decreased between 2.0.8 and 2.0.9 Sam Lantinga 2018-11-12 16:34:58 -08:00
  • c525ff354d cocoa: fix building with the macOS 10.7 SDK (thanks Riccardo!) Alex Szpakowski 2018-11-10 20:56:23 -04:00
  • 5029d50ea8 Add SDL_TouchDeviceType enum and SDL_GetTouchDeviceType(SDL_TouchID id). Alex Szpakowski 2018-11-10 16:15:48 -04:00