Commit Graph

  • 880cc65039 Android/openslES: register and use CloseDevice function. Sylvain Becker 2019-01-14 10:16:26 +01:00
  • dd6f71a357 Android/openslES: some space and indentation to match SDL conventions Sylvain Becker 2019-01-14 10:04:54 +01:00
  • 474f5bcf31 Initial Android OpenSL ES implementation, contributed by ANTA Sam Lantinga 2019-01-12 12:18:44 -08:00
  • f06ffcc868 Fixed compiler warning Sam Lantinga 2019-01-12 12:12:43 -08:00
  • 95f81a2b13 Updated minimum supported Android version to API 16, to match latest NDK toolchain Sam Lantinga 2019-01-12 12:11:06 -08:00
  • d4a6d42c36 Fixed bug 4453 - GLES / GLES2: first white renderer clear cmd is drawn as black Sylvain Becker 2019-01-12 13:34:03 +01:00
  • e071b11a5d Android: move and group JNIEnv helper functions Sylvain Becker 2019-01-11 21:52:43 +01:00
  • 3db3b74d26 Android: change the way JNIEnv is retrieved Sylvain Becker 2019-01-11 21:42:52 +01:00
  • 252f2ca2ec Android: use the same naming for JNI env local variables Sylvain Becker 2019-01-11 15:36:16 +01:00
  • 232c33acef Android: Audio thread is already setup for the JVM In 'src/thread/pthread/SDL_systhread.c' RunThread() calls first 'Android_JNI_SetupThread()' Sylvain Becker 2019-01-11 15:33:02 +01:00
  • 7115483b1a Android: use pthread_once for creating thread key 'mThreadKey' Sylvain Becker 2019-01-11 15:27:53 +01:00
  • 8ea33bec0f Android: don't call Android_JNI_ThreadDestroyed() for Java SDLThread Sylvain Becker 2019-01-11 14:50:43 +01:00
  • 74af914697 Android: fix bad merge from previous commit Sylvain Becker 2019-01-11 14:25:32 +01:00
  • 50cb107630 Android: fix prototype of Android_JNI_InitTouch Sylvain Becker 2019-01-10 21:49:00 +01:00
  • 7cab35335d Android: add name for Touch devices and simplification, from bug 3958 Sylvain Becker 2019-01-10 21:40:57 +01:00
  • 97d7e2a875 Fixed bug 3930 - Android, set thread priorities and names Sylvain Becker 2019-01-10 18:05:56 +01:00
  • a952d26714 Android: remove deprecated PixelFormat in surfaceChanged() Sylvain Becker 2019-01-10 16:04:52 +01:00
  • 7c64ac5a0d Android: some simplification, don't need mExitCalledFromJava Sylvain Becker 2019-01-10 15:48:43 +01:00
  • f496155798 Android: nativeQuit for SDLActivity thread Sylvain Becker 2019-01-10 15:43:07 +01:00
  • 55172341c4 Android: only send Quit event to SDLThread if it's not already terminated Sylvain Becker 2019-01-10 15:35:46 +01:00
  • f7e4b00722 Android: un-needed transition to Pause state. Sylvain Becker 2019-01-10 15:29:37 +01:00
  • ff551568c3 Android: prevent a dummy error message sending SDL_DISPLAYEVENT_ORIENTATION Sylvain Becker 2019-01-09 23:19:26 +01:00
  • 1e345acfd8 Android: add some SetError for Android_SetWindowFullscreen Sylvain Becker 2019-01-09 22:49:49 +01:00
  • 57a9b45ad5 Android: native_window validity is guaranteed between surfaceCreated and Destroyed Sylvain Becker 2019-01-09 22:41:52 +01:00
  • d97844a8ca Android: concurrency issue for Android_SetWindowFullscreen() Sylvain Becker 2019-01-09 15:18:41 +01:00
  • e6fe64e4dc Android: don't allow multiple instance of SDLActivity Sylvain Becker 2019-01-07 17:06:50 +01:00
  • 3b966c66ff Android: some robustness when quitting application from onDestroy() Sylvain Becker 2019-01-07 11:35:31 +01:00
  • e893a26dfc Android: better fix for bug 3186. Run those commands from SDL thread. Sylvain Becker 2019-01-06 20:25:54 +01:00
  • b8c006b0b8 Android: allow multiple calls to nativeResume() Sylvain Becker 2019-01-06 17:35:42 +01:00
  • 9f40ba8fef Android: remove SURFACE_TYPE_GPU, deprecated in API level 5. Sylvain Becker 2019-01-05 22:49:50 +01:00
  • 8b92f8616b Android: un-needed check of "isPausing" and minor typos Sylvain Becker 2019-01-05 22:46:52 +01:00
  • 67a29b5b7c Android: fix wrong state after immediate sequence pause() / resume() / pause() Sylvain Becker 2019-01-05 22:27:25 +01:00
  • d73f4de427 Fixed bug 4255 - SDL_GetGlobalMouseState() returns incorrect Y on secondary display Sam Lantinga 2019-01-04 22:09:38 -08:00
  • a7609d9e2a Updated copyright for 2019 Sam Lantinga 2019-01-04 22:01:14 -08:00
  • c6753e30f3 Android: fixed immediate transition to pause and resume. Sylvain Becker 2019-01-04 23:39:27 +01:00
  • 05187066ea Android: make Android_PumpEvents() more readable No behavior change in this commit. Sylvain Becker 2019-01-04 23:11:21 +01:00
  • ff091d266b Android: concurrency issue with egl_surface EGL_BAD_SURFACE - (bug 4142) Sylvain Becker 2019-01-03 23:22:50 +01:00
  • ad871deb8c Android: use Mutex instead of Semphore for bug 4142 Sylvain Becker 2019-01-03 20:18:29 +01:00
  • 312c1f152f Android: prevent the error message from SDL_EGL_CreateSurface() to be masked. Sylvain Becker 2019-01-03 16:22:33 +01:00
  • 9b712a0672 Fixed bug 4142 - Concurrency issues in Android backend Sylvain Becker 2019-01-03 14:18:06 +01:00
  • dbeee676b1 Android: minor preparation for bug 4142 (concurrency issues) Sylvain Becker 2019-01-03 13:38:33 +01:00
  • 0c4bea8284 Android: preparation bug 4142, reduce usage of global variable Android_Window Sylvain Becker 2019-01-03 13:14:16 +01:00
  • d81254cc3f Fixed bug 3250 - Wrong backbuffer pixel format on Android, keep getting RGB_565 Sylvain Becker 2019-01-02 18:06:33 +01:00
  • 976804d92e Android: make sure surfaceChanged try to enter into 'resumed' state. Sylvain Becker 2019-01-02 17:41:33 +01:00
  • 00faa5cff7 Fixed bug 4424 - Android windowed mode is broken (Thanks Jonas Thiem!) Sylvain Becker 2019-01-02 17:08:01 +01:00
  • daab818ebb Android: on rare occasion, prevent Android_JNI_GetNativeWindow() from crashing Sylvain Becker 2018-12-30 22:44:25 +01:00
  • a4c2a3bd4b Android: fixed comments and spaces Sylvain Becker 2018-12-30 15:41:28 +01:00
  • 3309f23c7f Fixed bug 3186 - Android SW keyboard not restored when app becomes foreground. Sylvain Becker 2018-12-30 15:39:37 +01:00
  • 8993416859 Fixed bug 3511 - documentation to end an Android application Sylvain Becker 2018-12-30 14:23:25 +01:00
  • 5462c25419 PSP renderer: use colors from 'draw' union (very likely, but un-tested) Sylvain Becker 2018-12-29 17:59:34 +01:00
  • 8030ccc6b4 opengles 1: same fix as in bug #4433 Sylvain Becker 2018-12-29 16:37:44 +01:00
  • 17d90ebcd0 opengles 1: use color from 'draw' union in SetDrawState() Sylvain Becker 2018-12-29 16:34:50 +01:00
  • 04e747196e 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
  • 8b4f8f851f render: Prefer the Metal renderer over OpenGL. Ryan C. Gordon 2018-12-19 18:10:02 -05:00
  • 1fef0780b0 metal: Implement SDL_LockTexture for YUV formats. Alex Szpakowski 2018-12-19 18:27:21 -04:00
  • ab8c8b57d7 metal: Implement SDL_LockTexture for non-YUV textures. Alex Szpakowski 2018-12-18 14:23:05 -04:00
  • 2173eb6d89 Gesture: remove warnings when ENABLE_DOLLAR is undefined. Sylvain Becker 2018-12-16 11:15:21 +01:00
  • 72f602c79b testgl2: Press 'o' or 'p' to decrease/increase OpenGL swap interval. Ryan C. Gordon 2018-12-16 01:04:07 -05:00
  • 29cddbeb9e cocoa: Implement OpenGL swap interval support with CVDisplayLink. Ryan C. Gordon 2018-12-16 01:03:17 -05:00
  • a58204aea8 Fixed bug 4426 - allows re-creation of software renderer Sylvain Becker 2018-12-15 16:21:24 +01:00
  • 846c482a3f emscripten: SDL_PrivateJoystickAdded() wants an instance id, not device index. Ryan C. Gordon 2018-12-15 09:57:05 -05:00
  • cdf7a0983c Fixed bug 4425 - promote to alpha format, palette surface with alpha values. Sylvain Becker 2018-12-15 14:50:12 +01:00
  • d7acbcb086 Fixed building with the 10.10 SDK Sam Lantinga 2018-12-11 20:04:10 -08:00
  • 4469ad91c6 Handle both "Sony Interactive Intertainment" and "Sony Computer Entertainment" when ignoring motion sensors Sam Lantinga 2018-12-11 19:50:58 -08:00
  • cd71253d78 Rename _SDL_sensor_h in public header, not to trigger Wreserved-id-macro Sylvain Becker 2018-12-10 13:32:24 +01:00
  • a986af18b5 Linux Haptic: Fix periodic.magnitude value Ethan Lee 2018-12-06 14:26:18 -05:00
  • 5a48ed4d5c Fixed bug 4379 - fix parallel build with slibtool Sam Lantinga 2018-12-08 11:22:50 -08:00
  • 32901d0708 Fixed bug 4415 - SDL menu bar is nonstandard on Mac Sam Lantinga 2018-12-08 11:06:40 -08:00
  • dbcd123784 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
  • 63d015779f Made it more clear that the values being compared are floats Sam Lantinga 2018-12-06 09:09:05 -08:00
  • 23ea1fd4db wayland: Do not try to lock on an invalid pointer Brandon Schaefer 2018-12-06 10:39:33 -05:00
  • ec5785a4b8 Fix warnings detected on Android build Sylvain Becker 2018-12-06 15:46:40 +01:00
  • 6832c29cfb opengles2: fix prototype of glDeleteBuffers Sylvain Becker 2018-12-06 10:24:44 +01:00
  • 64aff1d0b1 Fix warnings detected on Android build Sylvain Becker 2018-12-06 09:22:00 +01:00
  • d1ea368531 joystick: Removed unused variable. Ryan C. Gordon 2018-12-05 19:03:15 -05:00
  • 0acdb33214 Whoops, forgot to add a new source file. :/ Ryan C. Gordon 2018-12-05 17:53:38 -05:00
  • 403d1aef1d Fixed the ROCCAT Tyon mouse showing up as a joystick on Windows Sam Lantinga 2018-12-05 14:46:03 -08:00
  • 735a841848 joystick: Added controller config for IMS Passenger Control Unit Devices. Ryan C. Gordon 2018-12-05 16:55:59 -05:00
  • b580d9c4e3 egl: Don't force X11 support when testing for EGL. Ryan C. Gordon 2018-12-05 16:53:15 -05:00
  • 9f4e7d454e linux: Move SDL_LinuxSetThreadPriority() elsewhere to fix build. Ryan C. Gordon 2018-12-05 16:51:22 -05:00
  • e1975f2f78 wayland: Send SDL_TOUCH_MOUSEID mouse events for touches. Ryan C. Gordon 2018-12-05 16:49:38 -05:00
  • a8ad1e236c Warnings: fix a documentation warning and missing prototypes Sylvain Becker 2018-12-05 16:13:12 +01:00
  • 2cd60a394a Fixed the PS4 motion controls showing up as a separate game controller on Linux Sam Lantinga 2018-12-04 14:21:29 -08:00
  • 93ad3ca778 Fix comment and end of lines Sylvain Becker 2018-12-04 18:15:45 +01:00
  • 2047f1b79f Update comment URL of USB document (HID Usage Tables 1.12) Sylvain Becker 2018-12-04 17:13:13 +01:00
  • 4d795d9e9b Windows: NEON detection and intrinsic includes on Visual Studio Sylvain Becker 2018-12-04 16:50:31 +01:00
  • b698571efe android: use __ARM_NEON instead of __ARM_NEON__ to include <arm_neon.h> Sylvain Becker 2018-12-04 12:34:45 +01:00
  • e4d152081d direct3d: be more aggressive about resetting invalidated cached state. Ryan C. Gordon 2018-12-03 09:26:05 -05:00
  • a45803eb03 render: fix some static analysis warnings. Ryan C. Gordon 2018-12-03 02:06:17 -05:00
  • d3e28c4b87 direct3d: Make sure streaming textures update before being used for drawing. Ryan C. Gordon 2018-12-03 01:58:23 -05:00
  • 25f6ba04a4 Patched to compile on C89 compilers. Ryan C. Gordon 2018-12-02 21:57:33 -05:00
  • ece0a1fa69 direct3d: Release and NULL out vertex buffers on reset. Ryan C. Gordon 2018-12-02 20:55:57 -05:00
  • 9df43cc00b cmake: Comment out some debug logging that can upset build environments. Ryan C. Gordon 2018-12-02 02:43:32 -05:00
  • 87359a495d directfb: Updated render backend to new internal API. Ryan C. Gordon 2018-12-02 02:33:06 -05:00
  • 021b77ba66 kmsdrm: Check for resources when validating KMSDRM device in check_modesetting. Sergey Zhuravlevich 2018-12-01 16:31:56 -05:00
  • c5d36df66d kmsdrm: uninitialized KMSDRM fixes Sergey Zhuravlevich 2018-12-01 13:09:00 -05:00
  • d6ff71d456 android: use cpufeatures to support SDL_HasNEON() (thanks, Sylvain!). Ryan C. Gordon 2018-12-01 12:19:11 -05:00
  • 8e4e731587 Added some detail to a Doxygen comment (thanks, Sylvain!). Ryan C. Gordon 2018-12-01 12:17:34 -05:00
  • ff81c20f15 Patched to compile on Linux with threads enabled. (whoops!) Ryan C. Gordon 2018-12-01 11:14:20 -05:00
  • 8778fa9122 Patched to compile on Linux with --disable-threads. Ryan C. Gordon 2018-12-01 10:36:26 -05:00