Commit Graph

  • e994be5833 Android: move static variable isPaused/isPausing to SDL_VideoData structure Sylvain Becker 2019-01-16 10:31:51 +01:00
  • 291f6006a1 Android: merge SDLJoystickHandler_API12 and SDLJoystickHandler_API16 Sylvain Becker 2019-01-16 09:22:20 +01:00
  • a86754167c Android: remove trailing spaces Sylvain Becker 2019-01-16 09:12:31 +01:00
  • d86de288d4 Android: remove old code after Android-16 has been set as minimum requirement Sylvain Becker 2019-01-16 09:11:13 +01:00
  • 861a21f98b 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
  • 2755a505a3 evdev: Add touchscreen mouse emulation and pressure support (thanks, Zach!). Ryan C. Gordon 2019-01-14 19:36:54 -05:00
  • dc263450ff Android: create Pause/ResumeSem semaphore at higher level than CreateWindow() Sylvain Becker 2019-01-14 23:33:48 +01:00
  • 1b24b2eca5 Android/openslES: fix Pause/ResumeDevices when openslES is not used Sylvain Becker 2019-01-14 22:56:57 +01:00
  • ae41831e0d Android: minor, remove static attributes, move mIsSurfaceReady to SDLSurface Sylvain Becker 2019-01-14 21:34:12 +01:00
  • 647b1f6a6d Android/openslES: check for non NULL variable, some intialization. use the previous naming Sylvain Becker 2019-01-14 14:36:13 +01:00
  • 7b1cc441dd Android/openslES: start playing, after creating ressources Sylvain Becker 2019-01-14 14:31:06 +01:00
  • 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 +01:00
  • 59c8c7b684 Android/openslES: move a few static variables to SDL_PrivateAudioData structure Sylvain Becker 2019-01-14 10:58:57 +01:00
  • 5aeeaaab70 Android/openslES: register and use CloseDevice function. Sylvain Becker 2019-01-14 10:16:26 +01:00
  • 365fd9c602 Android/openslES: some space and indentation to match SDL conventions Sylvain Becker 2019-01-14 10:04:54 +01:00
  • 7dc92a7669 Initial Android OpenSL ES implementation, contributed by ANTA Sam Lantinga 2019-01-12 12:18:44 -08:00
  • fb8cb95fbc Fixed compiler warning Sam Lantinga 2019-01-12 12:12:43 -08:00
  • 390459d83e Updated minimum supported Android version to API 16, to match latest NDK toolchain Sam Lantinga 2019-01-12 12:11:06 -08:00
  • be991f3a78 Fixed bug 4453 - GLES / GLES2: first white renderer clear cmd is drawn as black Sylvain Becker 2019-01-12 13:34:03 +01:00
  • 7b42f03fd9 Android: move and group JNIEnv helper functions Sylvain Becker 2019-01-11 21:52:43 +01:00
  • 7f3478305f Android: change the way JNIEnv is retrieved Sylvain Becker 2019-01-11 21:42:52 +01:00
  • dc10d96cde Android: use the same naming for JNI env local variables Sylvain Becker 2019-01-11 15:36:16 +01:00
  • 3cfd907df7 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
  • 9d82f4e985 Android: use pthread_once for creating thread key 'mThreadKey' Sylvain Becker 2019-01-11 15:27:53 +01:00
  • 9a98e5afe1 Android: don't call Android_JNI_ThreadDestroyed() for Java SDLThread Sylvain Becker 2019-01-11 14:50:43 +01:00
  • 42e18bd0c2 Android: fix bad merge from previous commit Sylvain Becker 2019-01-11 14:25:32 +01:00
  • b44a7aea8f Android: fix prototype of Android_JNI_InitTouch Sylvain Becker 2019-01-10 21:49:00 +01:00
  • 7a1d1baefc Android: add name for Touch devices and simplification, from bug 3958 Sylvain Becker 2019-01-10 21:40:57 +01:00
  • d23c2f07e3 Fixed bug 3930 - Android, set thread priorities and names Sylvain Becker 2019-01-10 18:05:56 +01:00
  • 0e0e0272b8 Android: remove deprecated PixelFormat in surfaceChanged() Sylvain Becker 2019-01-10 16:04:52 +01:00
  • 5c11e5ef92 Android: some simplification, don't need mExitCalledFromJava Sylvain Becker 2019-01-10 15:48:43 +01:00
  • 66fbfe1d00 Android: nativeQuit for SDLActivity thread Sylvain Becker 2019-01-10 15:43:07 +01:00
  • dad8161103 Android: only send Quit event to SDLThread if it's not already terminated Sylvain Becker 2019-01-10 15:35:46 +01:00
  • 61d37de099 Android: un-needed transition to Pause state. Sylvain Becker 2019-01-10 15:29:37 +01:00
  • 8dd915507e Android: prevent a dummy error message sending SDL_DISPLAYEVENT_ORIENTATION Sylvain Becker 2019-01-09 23:19:26 +01:00
  • 02f292eb13 Android: add some SetError for Android_SetWindowFullscreen Sylvain Becker 2019-01-09 22:49:49 +01:00
  • 68c0e69f0a Android: native_window validity is guaranteed between surfaceCreated and Destroyed Sylvain Becker 2019-01-09 22:41:52 +01:00
  • 1803944bb2 Android: concurrency issue for Android_SetWindowFullscreen() Sylvain Becker 2019-01-09 15:18:41 +01:00
  • 59df6d6b13 Android: don't allow multiple instance of SDLActivity Sylvain Becker 2019-01-07 17:06:50 +01:00
  • cfe2924d07 Android: some robustness when quitting application from onDestroy() Sylvain Becker 2019-01-07 11:35:31 +01:00
  • 462e62e154 Android: better fix for bug 3186. Run those commands from SDL thread. Sylvain Becker 2019-01-06 20:25:54 +01:00
  • 9f23d1815f Android: allow multiple calls to nativeResume() Sylvain Becker 2019-01-06 17:35:42 +01:00
  • 911f1d3e67 Android: remove SURFACE_TYPE_GPU, deprecated in API level 5. Sylvain Becker 2019-01-05 22:49:50 +01:00
  • e4f558a50c Android: un-needed check of "isPausing" and minor typos Sylvain Becker 2019-01-05 22:46:52 +01:00
  • 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