Commit graph

  • 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
  • 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 +0100
  • 9d82f4e985 Android: use pthread_once for creating thread key 'mThreadKey' Sylvain Becker 2019-01-11 15:27:53 +0100
  • 9a98e5afe1 Android: don't call Android_JNI_ThreadDestroyed() for Java SDLThread Sylvain Becker 2019-01-11 14:50:43 +0100
  • 42e18bd0c2 Android: fix bad merge from previous commit Sylvain Becker 2019-01-11 14:25:32 +0100
  • b44a7aea8f Android: fix prototype of Android_JNI_InitTouch Sylvain Becker 2019-01-10 21:49:00 +0100
  • 7a1d1baefc Android: add name for Touch devices and simplification, from bug 3958 Sylvain Becker 2019-01-10 21:40:57 +0100
  • d23c2f07e3 Fixed bug 3930 - Android, set thread priorities and names Sylvain Becker 2019-01-10 18:05:56 +0100
  • 0e0e0272b8 Android: remove deprecated PixelFormat in surfaceChanged() Sylvain Becker 2019-01-10 16:04:52 +0100
  • 5c11e5ef92 Android: some simplification, don't need mExitCalledFromJava Sylvain Becker 2019-01-10 15:48:43 +0100
  • 66fbfe1d00 Android: nativeQuit for SDLActivity thread Sylvain Becker 2019-01-10 15:43:07 +0100
  • dad8161103 Android: only send Quit event to SDLThread if it's not already terminated Sylvain Becker 2019-01-10 15:35:46 +0100
  • 61d37de099 Android: un-needed transition to Pause state. Sylvain Becker 2019-01-10 15:29:37 +0100
  • 8dd915507e Android: prevent a dummy error message sending SDL_DISPLAYEVENT_ORIENTATION Sylvain Becker 2019-01-09 23:19:26 +0100
  • 02f292eb13 Android: add some SetError for Android_SetWindowFullscreen Sylvain Becker 2019-01-09 22:49:49 +0100
  • 68c0e69f0a Android: native_window validity is guaranteed between surfaceCreated and Destroyed Sylvain Becker 2019-01-09 22:41:52 +0100
  • 1803944bb2 Android: concurrency issue for Android_SetWindowFullscreen() Sylvain Becker 2019-01-09 15:18:41 +0100
  • 59df6d6b13 Android: don't allow multiple instance of SDLActivity Sylvain Becker 2019-01-07 17:06:50 +0100
  • cfe2924d07 Android: some robustness when quitting application from onDestroy() Sylvain Becker 2019-01-07 11:35:31 +0100
  • 462e62e154 Android: better fix for bug 3186. Run those commands from SDL thread. Sylvain Becker 2019-01-06 20:25:54 +0100
  • 9f23d1815f Android: allow multiple calls to nativeResume() Sylvain Becker 2019-01-06 17:35:42 +0100
  • 911f1d3e67 Android: remove SURFACE_TYPE_GPU, deprecated in API level 5. Sylvain Becker 2019-01-05 22:49:50 +0100
  • e4f558a50c Android: un-needed check of "isPausing" and minor typos Sylvain Becker 2019-01-05 22:46:52 +0100
  • 35722b6423 Android: fix wrong state after immediate sequence pause() / resume() / pause() Sylvain Becker 2019-01-05 22:27:25 +0100
  • d4c0f498db Fixed bug 4255 - SDL_GetGlobalMouseState() returns incorrect Y on secondary display Sam Lantinga 2019-01-04 22:09:38 -0800
  • 5e13087b0f Updated copyright for 2019 Sam Lantinga 2019-01-04 22:01:14 -0800
  • 2a885eb036 Android: fixed immediate transition to pause and resume. Sylvain Becker 2019-01-04 23:39:27 +0100
  • cf12234454 Android: make Android_PumpEvents() more readable No behavior change in this commit. Sylvain Becker 2019-01-04 23:11:21 +0100
  • ca184ac386 Android: concurrency issue with egl_surface EGL_BAD_SURFACE - (bug 4142) Sylvain Becker 2019-01-03 23:22:50 +0100
  • 2e19343df6 Android: use Mutex instead of Semphore for bug 4142 Sylvain Becker 2019-01-03 20:18:29 +0100
  • 23478642bd Android: prevent the error message from SDL_EGL_CreateSurface() to be masked. Sylvain Becker 2019-01-03 16:22:33 +0100
  • cc8f1136b6 Fixed bug 4142 - Concurrency issues in Android backend Sylvain Becker 2019-01-03 14:18:06 +0100
  • d11f7615fa Android: minor preparation for bug 4142 (concurrency issues) Sylvain Becker 2019-01-03 13:38:33 +0100
  • 5dc25fef3b Android: preparation bug 4142, reduce usage of global variable Android_Window Sylvain Becker 2019-01-03 13:14:16 +0100
  • a95f91bcea Fixed bug 3250 - Wrong backbuffer pixel format on Android, keep getting RGB_565 Sylvain Becker 2019-01-02 18:06:33 +0100
  • a02998a292 Android: make sure surfaceChanged try to enter into 'resumed' state. Sylvain Becker 2019-01-02 17:41:33 +0100
  • 4d2b5c791e Fixed bug 4424 - Android windowed mode is broken (Thanks Jonas Thiem!) Sylvain Becker 2019-01-02 17:08:01 +0100
  • 03b0e1dee0 Android: on rare occasion, prevent Android_JNI_GetNativeWindow() from crashing Sylvain Becker 2018-12-30 22:44:25 +0100
  • 1e22fc1513 Android: fixed comments and spaces Sylvain Becker 2018-12-30 15:41:28 +0100
  • 2a412eb94c Fixed bug 3186 - Android SW keyboard not restored when app becomes foreground. Sylvain Becker 2018-12-30 15:39:37 +0100
  • d09774a47c Fixed bug 3511 - documentation to end an Android application Sylvain Becker 2018-12-30 14:23:25 +0100
  • 9cdd0dd996 PSP renderer: use colors from 'draw' union (very likely, but un-tested) Sylvain Becker 2018-12-29 17:59:34 +0100
  • ebd9efb361 opengles 1: same fix as in bug #4433 Sylvain Becker 2018-12-29 16:37:44 +0100
  • 87b7636918 opengles 1: use color from 'draw' union in SetDrawState() Sylvain Becker 2018-12-29 16:34:50 +0100
  • 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 -0400